Ask a Question related to Coldfusion Database Access, Design and Development.
-
ML455SD #1
DTS COM object in CF 7
Hello all,
I have been using the following code with MX 6.1 and MDAC 2.6 RTM. ( I did not
create this. Found it on the web)
<cfset s = "servername" >
<cfset u = "username" >
<cfset p = "password" >
<cfset n = "DTSPackageName" >
<cfset c = "0" >
<cfset null = "" >
<cfobject action="Create" type="COM" class="DTS.Package2" name="objDTSPackage">
<cfset objDTSPackage.LoadFromSQLServer(s,u,p,c,null,null, null,n,null) >
<cfset objDTSPackage.FailOnError = "True" >
<cfset objDTSPackage.Execute() >
This code causes CF 7 to crash. It will also fail (AutomationException:
0x8007007e) in CF MX 6.1 with any version of later than MDAC 2.6 RTM. Since
CF 7 requires MDAC 2.6 SP2 or later I am stuck. I know there are other ways to
use DTS, but I would like to understand why this stopped working.
Because of the 0x8007007e error, I verified that the DTSPKG.DLL had been
registered with regsvr32.
Anyone else having this problem? Any known solutions?
ML455SD Guest
-
Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control... -
webservice.htc and custom object array. only first object is deserialized in the result.value
Hello I've been using webservice.htc for 6 months or so with great results. recently i came into the following problem that I am not sure how to... -
Strange error from: Dim myState As Object() = CType(savedState, Object())
Every book and every website I've seen that talks about how to save state for child controls in a composite webcontrol says to do something like... -
[WebMethod] System.NullReferenceException: Object reference not set to an instance of an object.
Um, this isn't going to work, generally. Web services, as any web app (especially on Windows server 2003) are heavily sandboxed. The method you... -
Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per...



Reply With Quote

