Hi Mark,

You need to be logged in as admin to avoid getting this error. Can you
try running the scripts from CFIDE/administrator directory?

Thanks,
Hareni
Adobe CF team

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED] 
Sent: 29 September 2007 20:41
To: CF-Talk
Subject: HELP! RE: error with ColdFusion 8 ODBC Agent

I just did an install on a production server and cannot get this script
to
run.  I get this error:

"The current user is not authorized to invoke this method"

What am I doing wrong?  How do I fix?  Uninstalling and reinstalling CF8
is
not an option, since I have all the mappings, cf and cfx tags and
browserhawk installed and running.

Mark

-----Original Message-----
From: Hareni Venkatramanan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 2:17 AM
To: CF-Talk
Subject: RE: error with ColdFusion 8 ODBC Agent

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

-----Original Message-----
From: Matthew Smith [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2007 01:25
To: CF-Talk
Subject: error with ColdFusion 8 ODBC Agent

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.
 









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to