Hi Jim, Just a small check, in the line
createObject("component","cfide.adminapi.administrator").login("admin") Instead of "admin", you need to provide your admin password. Is your admin password the same? Thanks, Hareni -----Original Message----- From: Jim Easterly [mailto:[EMAIL PROTECTED] Sent: 04 October 2007 01:04 To: CF-Talk Subject: Re: error with ColdFusion 8 ODBC Agent Hi, I have this same issue on a fresh install of CF8 Standard edition using IIS. When I run the scripts it returns this message, "The current user is not authorized to invoke this method." I am logged in as the Administrator. How should these .cfm pages be run? >Hi Matthew, > >Sometimes, it might happen that the ODBC services Coldfusion8 ODBC Agent >and Coldfusion 8 ODBC Server do not get installed properly for new J2EE >deployment and in services property the path keeps pointing to an old >deployment directory and hence they do not start up. > >What you can do is, remove the existing ODBC services using >remove-odbcservices.cfm having the script given below: > ><cfscript> > > >createObject("component","cfide.adminapi.administrator").login("admin") ; > > myObj = >createObject("component","cfide.adminapi.datasource"); > > writeOutput("Removing ODBC Services...<br>"); > > returnValue = myObj.removeODBCservice(); > > writeOutput("ODBC Services removed"); > ></cfscript> > > > >And then, install the ODBC services using install-odbcservices.cfm >having the script given below: > > <cfscript> > > >createObject("component","cfide.adminapi.administrator").login("admin") ; > > myObj = >createObject("component","cfide.adminapi.datasource"); > > writeOutput("Installing ODBC Services...<br>"); > > returnValue = myObj.installODBCservice(); > > writeOutput("ODBC Services installed"); > > </cfscript> > >Then, try starting ColdFusion ODBC Server service. > >Thanks, >Hareni > >I am trying to add a datasource to my new install of CF8 developer >edition. When I went to do so in cf admin, the admin said "The >ColdFusion ODBC Server service is not running or has not been >installed." So I figured the service wasn't set to automatic and went >into services to start it up. When I tried to start the service, I got >this error: >Could not start the ColdFusion 8 Odbc Server service on Local computer. >Error 3 The system cannot find the path specified. > >I did a clean install of windows and CF 8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4