Wednesday, March 21, 2012

Error when deploying on Server 2003

I built a utility that grabs large XML string from a database and then uses XML bulk load to shread the data in to 4 seperate tables. Everything works great on my box, but when I tried to move it to the dev server I started getting errors.

The first error I got was: Exception: Retrieving the COM class factory for component with CLSID {19AA7334-069C-437F-BFE4-CC9894DB8504} failed due to the following error: 80040154.

I evetually figured out that the XML bulkload dll 'xblkld4.dll' was not registered. I had a hard time getting the DLL registered as it was dependant on a lot of other dll's. Finally I copied all of the dll's from C:\Program Files\Common Files\System\Ole DB that had XML in them and I was able to register.

Now I am getting a new error that I can't find any information on. When the XML bulk load executes, I get the exception: Error creating SAX reader.

Is there a sax reader dll that I need to copy to the dev server and register? Does anybody have any ideas?

~Jason

I think this article may help you deploy your solution and fix your problems.

http://msdn2.microsoft.com/en-us/library/ms171744.aspx

No comments:

Post a Comment