Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
california6
Starting Member
38 Posts |
Posted - 2008-08-18 : 20:21:00
|
| I am running the following code on my server and some how it doesnt like it. The server is a SQL Server-2006-64 bit. Can someone please suggest?Code:DECLARE @objPackage intDECLARE @rc intDeclare @hr intDECLARE @output varchar(255)DECLARE @source varchar(255)DECLARE @description varchar(255)EXEC @rc = sp_OACreate 'DTS.Package', @objPackage OUTIF @rc <> 0BEGIN EXEC @hr = sp_OAGetErrorInfo @objPackage, @source OUT, @description OUT IF @hr = 0 BEGIN SELECT @output = ' Source: ' + @source PRINT @output SELECT @output = ' Description: ' + @description PRINT @output END RETURNENDThe error what it throws is as follows:Source: ODSOLE Extended ProcedureDescription: Class not registeredCali |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
california6
Starting Member
38 Posts |
Posted - 2008-08-18 : 22:04:16
|
| Thanks tkizer. will keep that tip in mind.Now the workaround whats listed from the URL is: use a 64-bit compiler to recompile the COM DLL. How can i get this 64-bit compiler?Cali |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-08-18 : 23:11:42
|
| Maybe 64-bit VS? |
 |
|
|
|
|
|