Solved

WEBService Initialization Error

Posted on 2004-04-08
4
807 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

772 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