Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
Have a different problem now, actually I have a question. If the user makes changes to the document, is it possible to save the changes directly back to the database when the user selects the File->Save option from the menu or ctrl-s. DATASOURCE="db" USER="dbUserName" PASSWORD="dbPassword" SQL

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
Have a different problem now, actually I have a question. If the user makes changes to the document, is it possible to save the changes directly back to the database when the user selects the File->Save option from the menu or ctrl-s. DATASOURCE="db" USER="dbUserName" PASSWORD="dbPassword" SQL

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
I finally got it to work. I went to the ODBC section under Administrative Tools re-configured the settings explicting selecting my database under the "change the default database to" section of the DSN Configuration. I don't know why it didn't select it in the first place, but it don't matter now,

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
I finally figured out why I was getting the error. I went to the ODBC Administrator under Administrative Tools and re-configured the dsn. For some reason my database was not selected under the "change the default database to" section. I set it to "db" tested the connection successfully and it all w

RE: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread Hua Wei
Tuesday, April 13, 2004 11:52 AM To: CF-Talk Subject: Re: cfx_getImage error! Don't know what's causing it I changed the code a select statement a bit. I appended 'dbo.' before the table name. DATASOURCE="db" USER="dbUserName" PASSWORD="dbPasswor

RE: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread Burns, John D
essage- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 11:52 AM To: CF-Talk Subject: Re: cfx_getImage error! Don't know what's causing it I changed the code a select statement a bit. I appended 'dbo.' before the table name. DATASOURCE="db&qu

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
I changed the code a select statement a bit. I appended 'dbo.' before the table name. DATASOURCE="db" USER="dbUserName" PASSWORD="dbPassword" SQL="select filename FROM dbo.Attachment WHERE id = '#url.id#'" OUTPUT="E:\inetpub\wwwroot\tempDocumentsFolder\#getAttachmentDetails.Fil eName#"> T

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
yes it does. I've double checked it. I don't have the source for the dll (.cpp file). I was using the getImage.dll on another project and thought I can reuse it. Tell me, does the .cpp file specify the dsn name? Because if it does then I'll get this error because the dsn name used in that project i

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
this is what is dumped in the Stack Trace: coldfusion.tagext.DerivedNativeCFXException: Error occurred in tag CFX_GETIMAGE at coldfusion.tagext.NativeCfx.processRequest(Native Method) at coldfusion.tagext.CfxTag.doStartTag(CfxTag.java:110) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.jav

RE: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread Hua Wei
>[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'Attachment'. This error says the table "Attachment" doesn't exist in the database. Does it exist in your DATASOURCE="db"? -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 9:33 AM

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
can someone please respond to my post! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: cfx_getImage error! Don't know what's causing it

2004-04-13 Thread cf coder
btw, my application is running on cfmx. I just can't see why the code would error. I've checked the value passed to the "USER" attribute and it is correct. >Hello Everybody, I'm really hoping that someone will >help me. > >A lot of people have used the cfx_getImage tag to open >up office documents