0
problems accessing SQL-DMO
Explorer
,
/t5/coldfusion-discussions/problems-accessing-sql-dmo/td-p/108441
Jan 23, 2009
Jan 23, 2009
Copy link to clipboard
Copied
Hi I am trying to access SQL-DMO and Windows Script to
generate customized scripts for SQL server table objects. There is
a dll file sqldmo.dll hich sits in the \Tools\Binn directory under
the Microsoft SQL Server installation.
No i am trying to instantiate this object vai coldfusion using the following:
<cfobject type="com" name="SQLServer" class="SQLDMO.SQLServer" server="\\olivemill" action="create">
I keep getting this error:-
An exception occurred when instantiating a COM object.
The cause of this exception was that: coldfusion.runtime.com.ComObjectInstantiationException: An exception occurred when instantiating a COM object..
Has anyone tried this before? Any help greatly appreciated!
No i am trying to instantiate this object vai coldfusion using the following:
<cfobject type="com" name="SQLServer" class="SQLDMO.SQLServer" server="\\olivemill" action="create">
I keep getting this error:-
An exception occurred when instantiating a COM object.
The cause of this exception was that: coldfusion.runtime.com.ComObjectInstantiationException: An exception occurred when instantiating a COM object..
Has anyone tried this before? Any help greatly appreciated!
TOPICS
Database access
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/coldfusion-discussions/problems-accessing-sql-dmo/m-p/108442#M10583
Feb 02, 2009
Feb 02, 2009
Copy link to clipboard
Copied
I've never tried this, but if you are trying to create the
object remotely (server-"olivemill") there may be permissions
issues with the account cold fusion is running under. I would give
"Everyone" access to the dll to start with and see if that how that
goes.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

