I made sure the dll was registered, and did fix the code to Create and still nothing:
<cfobject action="create" class="msado15.dll" name="MyDll">
Error trying to create object specified in the tag.
COM error 0x800401F3. Invalid class string
Thanks for your input, but I figured it out:
<cfobject type="COM"
name="MyConn"
class="ADODB.Connection"
action="CREATE">
<!--- Open the new connection --->
<cfset dsn = "DRIVER={SQL...
I tried the connect also and it doesn't work:
<cfobject action="CONNECT" class="msado15.dll" name="adodll">
Error trying to connect to object.
COM error 0x800401F3. Invalid class string
In ASP I use the following code to get the ado to enable absolutepage:
<!-- METADATA TYPE="TypeLib" FILE="C:\Program Files\Common Files\System\ado\msado15.dll" -->
I tried to use:
<cfobject type="COM" action="Connect" class="C:\Program...
I am trying the same code:
<cfobject class="ADODB.Connection" type="COM" action="CREATE" name="conn">
But when I try to call the source, I get the following error:
Error building an argument list for: OPEN
Here are the settings I provide:
<cfset...
I had a form that users can print from the browser but don't want it to print the url and date when I send it to the printer. I know there is a page setup on the browser, but is there a way to do it within the html?<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.