imstillatwork
IS-IT--Management
I don't know how many of you are using the CFMX admin api, but I'm having a problem with it.
The originaldsn argument of setOther (or setMSAccess)is giving me troubles.
I am passing a hidden form field called originalDSNName and a text field called dsnName
Your supposed to pass the original name so the setOther methos knows that you are updating and existing DSN, rather than creating a new one.
I get this error were myNewDSNName is the name of my new dsn. It does not exist on the server, so It should be renaming my existing dsn that I am editing to this name...
I can create new DSN's all day long no problem, by omiting the originaldsn argument...
any ideas?
Kevin
Phase 1: Read the CFML Reference
Phase 2: ???
Phase 3: Profit!
The originaldsn argument of setOther (or setMSAccess)is giving me troubles.
I am passing a hidden form field called originalDSNName and a text field called dsnName
Your supposed to pass the original name so the setOther methos knows that you are updating and existing DSN, rather than creating a new one.
I get this error were myNewDSNName is the name of my new dsn. It does not exist on the server, so It should be renaming my existing dsn that I am editing to this name...
I can create new DSN's all day long no problem, by omiting the originaldsn argument...
any ideas?
Code:
dsn=myNewDSNName
The error occurred in datasource.cfc: line 1188
Called from setdsn.cfm: line 25
Called from setdsn.cfm: line 6
Called from datasource.cfc: line 259
Called from C:\Inetpub\[URL unfurl="true"]www\swarmmedia.com\admin\site_dsn_edit.cfm:[/URL] line 79
-1 : Unable to display error's location in a CFML template.
Kevin
Phase 1: Read the CFML Reference
Phase 2: ???
Phase 3: Profit!