Having problem in execution of MY SQL DB Script File

Hi everybody !
I'm trying to execute My SQL's script file using JDBC's execute method. But I'm getting some exceptions and unable to create tables.
SAMPLE CODE
=============
stat.execute(str_dbScript);
Note: The script is running fine from My SQL's native console as well as from query analyzer. I'm using JDK1.5.0.10 and My SQL 5.x.
EXCEPTION
==========
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE Customer2 (
         CustomerID INT NOT NULL PRIMARY KEY,
       ' at line 9
     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
     at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
     at com.mysql.jdbc.Connection.execSQL(Connection.java:3047)
     at com.mysql.jdbc.Statement.execute(Statement.java:692)SAMPLE DB CODE
===============
CREATE TABLE Customer1 (
         CustomerID INT NOT NULL PRIMARY KEY,
         FirstName VARCHAR(20) NOT NULL,
         LastName VARCHAR(20),
         PhoneNo INT,
         Address VARCHAR(100)
CREATE TABLE Customer2 (
         CustomerID INT NOT NULL PRIMARY KEY,
         FirstName VARCHAR(20) NOT NULL,
         LastName VARCHAR(20),
         PhoneNo INT,
         Address VARCHAR(100)
       )

Actually I'm working on an server side web application, which can be configured with Oracle, SQL Server and My SQL using respective databse script file. For example I'm running three individual web applications of same type but with different dbs. So as we know that the separator in Oracle is "\" in MySQL it is ";" and in SQL Server it is "GO". So I think, I have to read the separator accordingly and then divide these lines into separate SQL queries.
KS

Similar Messages

  • I have CS4 Ilustrator and am having problems with gradient banding. I'm ripping files through Wasatch 6.7 to a Roland SC-540 printer.

    I have CS4 Ilustrator and am having problems with gradient banding. I'm ripping files through Wasatch 6.7 to a Roland SC-540 printer. Is there a fix for this? Please let me know, I have been asking here for a few days here and no answers yet? Josh

    I have CS4 Ilustrator and am having problems with gradient banding. I'm ripping files through Wasatch 6.7 to a Roland SC-540 printer. Is there a fix for this? Please let me know, I have been asking here for a few days here and no answers yet? Josh

  • Calling SQL Server Script File in Hypersonic DB

    HI All,
    I am using Hypersonic Database with java swing.
    To update the database, i am getting SQL Server script file through a webservice.
    The problem is i dont have any idea, how i can update Hypersonic Database with the SQL Server script file.
    Please Help.
    Thanks
    Nitin

    Also I think
    CREATE TABLE table1
    ( tableoneid INT PRIMARY KEY NOT NULL
    , name VARCHAR(255) NOT NULL
    , PRIMARY KEY(tableoneid) );should probably be
    CREATE TABLE table1
    ( tableoneid INT CONSTRAINT table1_pk PRIMARY KEY
    , name VARCHAR(255) NOT NULL );otherwise you specify the primary key twice (and PRIMARY KEY implies NOT NULL so the NOT NULL is redundant).
    Then TABLE2 might need to be something like:
    CREATE TABLE table2
    ( tabletwoid INT NOT NULL
    , tableoneid NOT NULL CONSTRAINT table2_table1_fk REFERENCES table1
    , CONSTRAINT table2_pk PRIMARY KEY(tabletwoid, tableoneid) );although the table-level constraint syntax could be used for the foreign keys if it meant less editing of your scripts. The "CONSTRAINT constraintname" clause of constraints is optional but recommended, as otherwise they will get system-generated names like "SYS_C005157". (Note that if you specify the FK inline as part of the column definition you do not need to include a datatype.)
    If the IDENTITY clause causes a sequential value to be assigned as a default, there is no direct equivalent to that in Oracle. The nearest thing would be a row-level BEFORE INSERT trigger.

  • C# application to execute both oracle and sql server script files.

    Hi All,
    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
    What is the best way to do this and which existing c# functions should is use.
    Thanks in advance.

    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    You can use SQL Plus for Oracle. You can have a C# program that issues commands  for  scripts for table, views, triggers  creation and the whole 10 yards to SQL Plus,
    http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
    https://www.google.com/#q=sql+plus
    I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
    A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
    scripts.
    For MS SQL Server, you have this, which you can run from a C# program too.
    http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
    I would consider using the above from a C# program a waste of time too.
    I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
    BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool.

  • Having problems with new WebLogic MS SQL driver WLS 8.1

    Hi,
    We've recently migrated our application from WLS 6.1 to WLS 8.1. We use an MS SQL database. In 6.1 we used the (now deprecated) weblogic.jdbc.mssqlserver4.Driver driver. In 8.1 we now use the new weblogic.jdbc.sqlserver.SQLServerDriver driver. We now are seeing NullPointerExceptions with the new driver that we never saw when running in 6.1 (with the old driver). The exception is occuring at the driver level. I'll paste some of the stack traces below but here is a quick synopsis of our usage pattern:
    -standard get-use-close pattern on the connection for each request (connection is closed in finally block).
    -pool size: min 1, max 7, increment 5
    -test on reserver enabled
    -we are simply reading data (no updates)
    -we use a single thread that hits the database so there is only ever one active application thread hitting the DB.
    -we are using a stored proc.
    -we setTimeout on the statement (initial testing seems to indicate that query timeout seems to be at the root of the problem)
    The problem seems to occur when statement timeouts occur. I can recreate the problem by setting the statement timeout to 1 sec and throwing a lot data at the DB. What seems to occur is a query hits the timeout and a SocketException is thrown, subsequent queries then throw a NullPointer in the driver layer. Again, this is the behavior under WLS 8.1 with the new weblogic.jdbc.sqlserver.SQLServerDriver driver. If I use the old driver (weblogic.jdbc.mssqlserver4.Driver) under WLS 8.1 all I get is the SocketException (which is what I want). This application ran under WLS 6.1 with the old driver processing millions of queries without any problems.
    We are wondering:
    (1) Is this a known problem?
    (2) Is there a recommended workaround?
    Cheers, and as always thanks in advance for any help.
    Stack traces follow.
    Thank,
    Mich
    Here are some failure traces from the WLS 8.1 new driver:
    java.sql.SQLException: [BEA][SQLServer JDBC Driver]Execution timeout expired.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.postProcessExceptionFromCommonExecute(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
         at com.our.QueryHandler.execute(QueryHandler.java:79)
    THEN WHEN A SUBSEQUENT QUERY IS MADE:
    java.lang.NullPointerException
         at weblogic.jdbc.sqlserver.tds.TDSRequest.switchColumnDescriptions(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRequest.processRow(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRPCNonCursorExecuteRequest.submitPrepare(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRPCExecuteRequest.doPrepExec(Unknown Source)
         at weblogic.jdbc.sqlserver.tds.TDSRPCExecuteRequest.execute(Unknown Source)
         at weblogic.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
         at com.our.QueryHandler.execute(QueryHandler.java:79)
    Just to be complete here is the stacktrace generated by a timeout using the old driver on WLS 8.1 (again, this one behaves as expected):
    weblogic.jdbc.mssqlserver4.TdsException: I/O exception while talking to the server, java.net.SocketTimeoutException: Read timed out
         at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:813)
         at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeQuery(TdsStatement.java:54)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeQuery(TdsStatement.java:1424)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)

    Michel Crichton wrote:
    Hi,
    Thanks for the prompt reply. In answer to your questions:
    What I would like to know is the exact code/sequence that causes the subsequent exception. See the sequence of calls at the end of this reply.
    Is this in the same thread in the very next call?
    I replicated the problem by going through the Web container (5 clients) therefore WebLogic threads are used in this case. I see from the logs 4-5 different execute threads at work (ex. ExecuteThread: '10' for queue: 'weblogic.kernel.Default').
    Does it happen all the time?
    Although it is tough to tell for sure, once it starts happening it seems to happen most if not all the time.
    Is it an attempted re-use of the same statement, or trying to use a different statement?
    We do a connection.prepareStatement(QUERY_STRING) call everytime (there is only one per request/response cycle). I believe WLS caches statements behind the scenes though so I suspect at that level there is reuse. There is only one stored proc used (we vary the params per call).
    Please show me your pool definition from the config.xml
    file, and I will send you instructions to produce some
    debug info that will get us to the heart of this matter.
    <JDBCConnectionPool
    DriverName="weblogic.jdbc.sqlserver.SQLServerDriver"
    MaxCapacity="5" Name="THE POOL"
    PasswordEncrypted="XXX"
    Properties="user=XXX;portNumber=XXX;databaseName=XX;serverName=X.X.X.X"
    Targets="Server"
    TestConnectionsOnReserve="true" TestTableName="TEST_TABLE" URL="jdbc:bea:sqlserver://X.X.X.X:XXX"/>Ok, do these things:
    1 - Add our spy attribute to your pool definition, like this:
    <JDBCConnectionPool
    DriverName="weblogic.jdbc.sqlserver.SQLServerDriver"
    MaxCapacity="5" Name="THE POOL"
    PasswordEncrypted="XXX"
    Properties="user=XXX;portNumber=XXX;databaseName=XX;serverName=X.X.X.X"
    Targets="Server"
    TestConnectionsOnReserve="true"
    TestTableName="TEST_TABLE"
    URL="jdbc:bea:sqlserver://X.X.X.X:XXX;spyAttributes=(log=(file)spy.log;timestamp=yes)"/>
    2 - Edit the start-weblogic script to add the spy jar (wlspy.jar) to the
    classpath that the script creates for the server, eg:
    set CLASSPATH=%WL_HOME%\server\lib\wlspy.jar;%CLASSPATH%
    3 - Reboot and duplicate the problem as briefly as possible.
    4 - In the same directory where you start the server, you will
    now find a file named 'spy.log'. Please send it to me. ( j o e AT b e a DOT c o m )
    I will try to reproduce the problem.
    5 - Ask BEA support for the latest BEA driver package and install it according to
    their instructions. Let me know asap if the probem is still there.
    thanks
    Joe
    >
    Also, I forgot to post in the original message some of the WLS stdout related logging we see. Here it is (sorry, it's a little messy):
    11:38:37 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <> <BEA-001131> <Received an exception when closing a cached statement for the pool " THE POOL": java.sql.SQLException: [BEA][SQLServer JDBC Driver]The operation was cancelled at the user's request..>
    11:38:37 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <> <BEA-001131> <Received an exception when closing a cached statement for the pool " THE POOL": java.sql.SQLException: [BEA][SQLServer JDBC Driver]The operation was cancelled at the user's request..>
    11:38:37 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <> <BEA-001131> <Received an exception when closing a cached statement for the pool " THE POOL": java.sql.SQLException: [BEA][SQLServer JDBC Driver]The operation was cancelled at the user's request..>
    11:38:38 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <> <BEA-001112> <Test "select count(*) from TEST_TABLE" set up for pool " THE POOL" failed with exception: "java.sql.SQLException: [BEA][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections
    have not been exceeded for this server.".>
    11:38:38 o'clock AM EST> <Info> <JDBC> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <> <BEA-001128> <Connection for pool " THE POOL" closed.>
    11:38:38 o'clock AM EST> <Info> <JDBC> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <> <BEA-001067> <Connection for pool " THE POOL" refreshed.>
    11:38:40 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <> <BEA-001112> <Test "select count(*) from TEST_TABLE" set up for pool " THE POOL" failed with exception: "java.sql.SQLException: [BEA][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections
    have not been exceeded for this server.".>
    11:38:40 o'clock AM EST> <Info> <JDBC> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <> <BEA-001128> <Connection for pool " THE POOL" closed.>
    11:38:40 o'clock AM EST> <Info> <JDBC> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <> <BEA-001067> <Connection for pool " THE POOL" refreshed.>
    11:38:41 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <> <BEA-001131> <Received an exception when closing a cached statement for the pool " THE POOL": java.sql.SQLException: [BEA][SQLServer JDBC Driver]The operation was cancelled at the user's request..>
    11:38:41 o'clock AM EST> <Error> <JDBC> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <> <BEA-001131> <Received an exception when closing a cached statement for the pool " THE POOL": java.sql.SQLException: [BEA][SQLServer JDBC Driver]The operation was cancelled at the user's request..>
    Here is the sequence of calls we make (notice the statement is closed outside the finally however we assume the connection.close should close associated resources):
    PreparedStatement statement = null;
    try {
    connection = dataSource.getConnection();
    statement = connection.prepareStatement(QUERY_STRING);
    statement.setString(1, name1);
    statement.setString(2, name2);
    statement.setQueryTimeout(timeout);
    ResultSet resultSet = statement.executeQuery();     
    //iterate over result set
    statement.close();
    return result;               
    } catch (SQLException e1) {
    //log
    } finally {
    try {
    if(connection != null)
    connection.close();
    } catch (SQLException e2) {
    //log
    Thanks again,
    Mich

  • Having problems trying to run a sql script using the command prompt.

    I place my script at the root c:
    open run SQL Command Line.
    I connected to the database using connet userid/password
    Then I tried to execute the script by doing
    @test_add_comments
    I am getting the error message.
    SQL> @test_add_comments
    SP2-0310: unable to open file "test_add_comments.sql"
    Am I suppose to place this sql somewhere else?
    test_add_comments.sql is
    COMMENT ON COLUMN myTable.ID IS 'Primary Key' ;
    COMMENT ON COLUMN myTable.REVIEWLOG_ID IS 'REFERENCE TO SAFE REVIEW LOG TABLE' ;
    COMMENT ON COLUMN myTable.FAC_ID IS 'REFERENCE TO ALL FACILITIES' ;
    COMMENT ON COLUMN myTable.HALLBUILD_ID IS 'REFERENCE TO HALL BUILDING' ;

    I figure it out.
    open a sql worksheet and enter the falling commands in the run script.
    @c:\your_script.sql
    Execute it by clicking run script.

  • Having problem with Unable to find "Adobe PDF" resource files

    Hello
    I have Adobe Acrobat XI PRO (11.0.05) and using MS Office 2010 on my Windows XP SP3.
    I've read about this issue.
    "Unable to find PDFMaker resource files error shows up for Microsoft Word when Acrobat XI
    is installed with Acrobat X Standard already on the same machine. If the user repairs
    or even uninstalls Acrobat XI, then the same error shows up for Acrobat X Standard also.
    The user must repair Acrobat X Standard in order for PDFMaker to work with it again. [3327895]"
    But i don't have Acrobat X installed anymore also I didn't encountered this problem when i was using a lower version of Acrobat XI can't remember what exact version.
    Repair Mode works but only temporary once i shutdown my laptop and boot-up then create a pdf the error returns again so yeah i once again run the Repair Mode to in-order for me to create PDF's
    What should i do?
    Any help would be geatly appreciated

    Hi RazzMaTazz007 ,
    You might want to refer to the discussion on the thread : http://forums.adobe.com/message/4781497#4781497

  • Having problem storing incoming MU-LAW to PMC WAV file

    Hi,
    I am able to receive ULAW/rtp, 8000.0 Hz, 8-bit, Mono stream and play it using the Player class. What I need to do is to store the stream data into WAV file. I have followed the JMF tutorial to set the output file format. I can also create the WAV file no problem. But when I try to play the gnerated WAV file using Windows Media Player, it says : Windows Media Player cannot play the file. The Player might not support the fle type or might not support the codec that was used to compress the file.
    Does anyone know what is wrong with my code?
    I am attaching the code below:
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
    // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
    if (ctl != null){
    System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
    } else
    System.err.println(" - Recevied new RTP stream");
    if (participant == null)
    System.err.println(" The sender of this stream had yet to be identified.");
    else {
    System.err.println(" The stream comes from: " + participant.getCNAME());
    synchronized (dataSync) {
    dataReceived = true;
    dataSync.notifyAll();
    ProcessorModel model = new ProcessorModel(ds,new Format[]{ }, new FileTypeDescriptor(FileTypeDescriptor.WAVE));
    Processor processor = Manager.createRealizedProcessor(model);
    boolean result = waitForState(processor, Processor.Configured);
    if (result == false)
    System.out.println("process is not configured");
    TrackControl[] tracks = processor.getTrackControls();
    if (tracks == null || tracks.length < 1)
    System.out.println( "Couldn't find tracks in processor");
    Format supported[];
    Format chosen = null;
    boolean atLeastOneTrack = false;
    for (int i = 0; i < tracks.length; i++)
    Format format = tracks.getFormat();
    if (tracks[i].isEnabled())
    supported = tracks[i].getSupportedFormats();
    // Here we choose the ULAW format ...
    if (supported.length > 0)
    for(int k=0; k<supported.length; k++)
    if(supported[k] instanceof AudioFormat)
    String encoding = supported[k].getEncoding();
    System.out.println("encoding = " + encoding);
    if(encoding.indexOf("LINEAR") != -1)
    chosen = supported[k];
    break;
    tracks[i].setFormat(chosen);
    //tracks[i].setFormat(new AudioFormat(AudioFormat.LINEAR,8000,16,1));
    System.err.println("Track " + i + " is set to transmit as: " + tracks[i].getFormat());
    atLeastOneTrack = true;
    } else
    tracks[i].setEnabled(false);
    } else
    tracks[i].setEnabled(false);
    if (!atLeastOneTrack)
    System.out.println( "Couldn't set any of the tracks to a valid RTP format");
    // create a player by passing datasource to the Media Manager
    result = waitForState(processor, Controller.Realized);
    if (result == false)
    System.out.println( "Couldn't realize processor");
    MediaLocator dest = new MediaLocator("file://c:\\tmp\\dddd.wav");
    DataSink sink = Manager.createDataSink(processor.getDataOutput(), dest);
    sink.open();
    sink.start();
    processor.start();
    Thread.sleep(5000);
    processor.stop();
    sink.stop();
    sink.close();
    System.out.println("sink close");
    Thank you very much in advance for all your help.
    JB

    outraspace wrote:
    Hi,
    I am able to receive ULAW/rtp, 8000.0 Hz, 8-bit, Mono stream and play it using the Player class. What I need to do is to store the stream data into WAV file. I have followed the JMF tutorial to set the output file format. I can also create the WAV file no problem. But when I try to play the gnerated WAV file using Windows Media Player, it says : Windows Media Player cannot play the file. The Player might not support the fle type or might not support the codec that was used to compress the file.
    Does anyone know what is wrong with my code? Lots of things. As tbm pointed out, don't use a processor model. Use create a regular processor, and then create a ContentDescriptor object with all of the formatting you want, and set that on the Processor.
    In your code "Here we choose the ULAW format", it doesn't appear that you're chosing ULAW. It appears you're chosing linear encoding. ULaw isn't linear, it's logarithmic, so certainly that's not the right format.
    In the examples I've seen, the processor is started before the DataSink is started. You're doing this in reverse.
    If you plan to configure a processor, do not get a realized one. That's like say "I'd like some ice cream", going out and buying ice-cream sandwiches and scraping out the ice cream...
    You should disable all of the tracks except the ones you want data from. That means if it's not an audio format, you'll want to go ahead and disable it.
    Without nitpicking anymore, I have no idea where your sample code came from, but it seems pretty useless. The best idea would be to take your code, delete it, and start over with the following code:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RTPExport.java]

  • Help !  Having problem with program that converts .pdf to .doc file

    I just purchased the program that converts a pdf file to a docx or doc file and it worked fine.   the form looks great BUT when i tried to use it tonight, the first line typed just find.   After that letters are typing over other letters and the space bar does not work...  what could i be doing wrong or does this producct not work?

    I don't think this is a Adobe program, or is it?  What's the name of the program?

  • Having problems importing and viewing any kind of video file in iTunes 7

    I just cannot seem to be able to do this. I have tried dragging and dropping files into iTues and importing files and whole folders of videos but nothing happens. Do video files have to be Quicktime format to be viewed in iTunes and if so does Quicktime Pro have a tool that converts other file formats to be viewed in Quicktime?
    I would be really grateful if anyone can help with this.
    James

    See Repair security permissions for iTunes for Windows and for the future see Backup your iTunes for Windows library with SyncToy.
    tt2

  • Indesign CS6 on MACs with OS 10.8 are having problems with links

    Hi
    Indesign CS6 on MACs with 10.8 are having problems with links. All links to other files have to be updated when opening a file although definitely nothing has changed to the linked files.
    We can rule out our company's networking and the system hosting the files (HELIOS software on RedHat Linux VM). This happens with newly created Indesign files and with old ones. E.g. we create a file on Tuesday, save it and open it again on the exact same MAC on Wednesday and all links to other fiels (.indd, .png, .bmp, etc. nothing uncommon) have to be updated as they all show the yellow triangle + black exclamation mark symbol next to them. Has anybody else experienced this, What can we do? We have tried absolutley everything and updated all software from MAC OS to CS6 itself but nothing seems to help on the long run.
    Any further information required?
    M. Miller

    Thanks for your quick reply.
    We actually noticed that there also seems to be something wrong with the timestamps:
    If we open the infos via the MAC finder to a file (.psd e.g.) which is linked in one of our indesign files, it states a certain date of creation.
    If we then switch to the Indesign file we just opened in which we had to update all links and open the infos to exactly the same file we looked at in the finder, a different date of creation is stated. So there also seems to be a mistake here (hope it's clear what I mean).
    We are ruling out our network as the error cannot be "re-enacted". We have created numerous test files in Indesign (simple white page containing one link to a .psd file which is also used in one of the supposedly defective files) and have opened them on various MACs with various OS versions over the past days/weeks but unfortunately the files open without any notifications or errors.
    Just as a background: a few months ago, the problem seemed to occur between MACs with differing OS, 10.6 - 10.8 at first. A file which was created on a 10.6 MAC could not be opened without updating all links on a 10.8 MAC. That is why we updated everything to 10.8. The error did not occur for about 2-3 weeks but then reoccured again.?
    Have you heard anything similar?

  • Having problems extracting/convert Adobe Reader Pdf files to Adobe Digital Reader files.

    I am currently having problems trying to convert my Adobe Acrobat PDF file to and Adobe Digital Reader File.
    o

    What kind of problems?

  • How to Eliminate Special Character in SQL LOADER Script

    How to eliminate special character from SQL LOADER script file which suppose not to insert in TABLE
    example.CSV lile like this
    <ABC/ , 7747>
    <DEF/ , 7763>
    <NEW/ , 7779>
    <OLD/, 7795>
    I have to remove < > and / character at the time of loading into table. How It could be done. It is not possible to remove < , > , / character manually from CSV file

    On Unix/Linux that's very easy, on Windows... I don't know...
    $ cat myfile.csv
    <ABC/ , 7747>
    <DEF/ , 7763>
    <NEW/ , 7779>
    <OLD/, 7795>
    $ tr -d "\057\074\076" <myfile.csv >outfile.csv
    $ cat outfile.csv
    ABC , 7747
    DEF , 7763
    NEW , 7779
    OLD, 7795
    $

  • How can I order PL/SQL functions in "Called" a "Caller" order in function script file

    Does anybody know how to create PL/SQL function script file
    in "called" and "caller" (parent/child) order.
    Thanks
    Soheil

    Does anybody know how to create PL/SQL function script file
    in "called" and "caller" (parent/child) order.
    Thanks
    Soheil

  • Having problems connecting Coldfusion10 with sql server express 2012

    Hi,
    I am having problems setting up a datasource for a local sql express 2012 server. Its running as the default instance. Connections are working with ODBC and client told just not Coldfusion.
    When I try to set up a connection using the sql driver I get this error:
    Connection verification failed for data source: Leaf
    java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connect
    The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connect
    When I try a Socket connection with an ODBC connection I setup in windows I get this error:
    Connection verification failed for data source: LeafDB
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]Internal network error, connection closed.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]Internal network error, connection closed.
    Any ideas?
    Thanks,

    Hi Rossco199,
    The issue is likely caused by you not having yet assigned port 1433 in SQL Express itself. Follow the procedure described on the following page, and you should solve the problem: http://www.tensixconsulting.com/2012/02/sqlserverexception-the-tcpip-connection-to-the-hos t-port-1433-has-failed/
    In particular, remember to assign port 1433 to 127.0.0.1 and to IPAll. Also set 'Active' and 'Enabled' to 'Yes' for the IP 127.0.0.1. While you're at it, if 'Named Pipes' is disabled, you should right-click on it and select 'enable'. Afterwards, restart the Windows service 'SQL Server(SQLEXPRESS)'.
    It is advisable to allow ColdFusion server authentication. However, the SQL Express server is configured by default to allow only Windows authentication. This conflict may lead to errors.
    Should you then encounter the dreaded Error 233: "No process is on the other end of the pipe", proceed as follows. Open the tool Microsoft SQL Server Management Studio. Right-click on the name of your database server, then on Properties. In the user interface that opens, click on Security. Select the combined 'SQL Server and Windows Authentication mode'. Restart the service 'SQL Server(SQLEXPRESS)'.

Maybe you are looking for

  • Need help in photo shop: no scanning options available when importing a file

    im currently using hte trial version but the scanning options arent there when i try to import a file. advice please

  • Customising Who's Who- ESS?

    HI all,   We are using EP 6.0, mysap ERP 2004 and ESS BP 60.2. In ESS, Who's Who is working fine, but want to remove one link ( Organization Unit). My requirement is either i have to remove the Organization Unit link as a whole or just want to displa

  • Error occurred with the POP3 mail server

    When I first launch my email icon the following error pops up: An error occurred with the POP3 mail server. Mail server mail.midland-webhosting.com responded What can I do so that I can access my email? Thanks!

  • Multi Languague Support for OAF PAges

    We have to develop the OAF Pages enabling MLS. This includes the LABELs also changing according to the user languague along with the data. Can anybody answer the below questions 1> Is there a standard approach that oracle recommends ? 2> Any easy and

  • Minimum block size for DMA transfers

    Can't find Application Note 011, "DMA Fundamental on Various PC Platforms" on the NI website. Can someone please send me the link? What I'm trying to figure out is what is the packet size (chunk size) for DMA transfers on NI M series boards? i.e. how