Today while creating some jobs on one of the testing server, I faced some unusual error ( Sorry I forgot to take the screenshot of the error, but I am going to give the full details here). Every time I was trying to create or edit any job steps I was getting the below error:
“Creating an instance of the COM component with CLSID {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS)..”
ADDITIONAL INFORMATION:
Creating an instance of the COM component with CLSID {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS)
I restarted the SQL Server services but it did not help the cause.
I am also specifying all the configuration here:
I was using Windows Server 2008 R2 Datacenter and SQL Server 2008 R2. I did some research and found out that this is a known issue and this issue comes and goes randomly (that even makes the scenario worse). Microsoft has also identified the problem and it is expected that this will get resolved in the next release. But I have also found a workaround that actually worked for me..I am going to give the details may be it can help you as well
You have to register a DTS.dll. Type the following command in the command prompt:
Type the following command to register the dll with regsvr32 command:
regsvr32 “c:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTS.dll”
Please change the location accordingly if you have installed SQL Server in any other location. After the .dll was successfully registered I restarted the SQL server services and Voila..It was working again.
Well this worked for me, and I hope this will work for you too.if it does not help then please feel free to let me know I will try to come up with some other solution.
Thanks,
Subhro Saha
Ambica said:
The regsvr fix worked like a charm.
nishad said:
Hi,
I disabled UAC and now this issue is resolved.
-Nishad
Anonymous said:
Worked for me as well. Thanks for the help.
Anonymous said:
This fix worked for me! Thanks for posting
Anonymous said:
It’s Worked for me as well. Thanks for the help.
Anonymous said:
Cool solution.
Rahul Shah said:
It worked for me too. (2008 R2 enterprise x64 sp1)
Thanks,
-R
Arunchand said:
It shows Access Denied Error….
What is the solution sir..?
Subhro Saha said:
Arunchand,
That means you do not have necessary permissions to make the change. Please check your permissions on the server.
Thanks,
Subhro Saha
Arunchand said:
Sir, which folder need to get full access
is it “root$\Microsoft SQL Server\100\DTS\Binn” ?
am using Windows XP
kindly advice
Subhro Saha said:
Arunchand,
What level of permission you have on SQL Server?
Thanks,
Subhro Saha
Anonymous said:
run Command as an Administrator
Hussain. said:
Thanks a lot…it works for me
maruthi said:
Hi Subhro,
I tried the very same but its not working could you please help me this
Subhro Saha said:
Hi Maruthi,
What error you are getting?
Thanks,
Subhro Saha
Edward said:
Simple: Run —->> regsvr32 DTS.dll
Pingback: Fix Page Fault Sql Server 2008 Errors - Windows XP, Vista & Windows 7, 8