Solved

WEBService Initialization Error

Posted on 2004-04-08
4
808 Views
Last Modified: 2008-02-01
Hi,

I am writing a Web Service that queries a SQL database and returns a dataset to the calling procedure.  However whenever i try to use it i get the following error:-

"Initialization of the Object failed due to an internal error HResult = 0x80029C4A: Error loading library/DLL -2147312566".  Does anyone understand what this error message means?

I am using VB.NET 2002.

Thanks

Len
0
Comment
Question by:LenBot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Accepted Solution

by:
dfiala13 earned 200 total points
ID: 10782515
How are you querying the Database?  This is a COM error.  Are you using an older COM version of ADODB?
0
 
LVL 10

Assisted Solution

by:EBatista
EBatista earned 150 total points
ID: 10782553
run the aspnet_regiis.exe utility from a command prompt, it is posible that your IIS machine have problem processing asp .net pages:

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
0
 
LVL 8

Assisted Solution

by:gregasm
gregasm earned 150 total points
ID: 10799987
Sometimes these strange error messages occur because the ASPNET worker process does not have the proper permissions to access a DLL which may reside in a different directory. I would recommend checking this by stepping through the code and check the System.Security.Principal.WindowsIdentity.GetCurrent().Name property. And then make sure that id has proper permission to access the directory where the DLL resides.

In the webconfig file, you may also try setting identity impersonate to true.

Good luck.
0
 

Author Comment

by:LenBot
ID: 10821246
Thanks for the help gents, but the error was a spelling mistake in the asmx file, i corrected it and problem solved.

Len.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question