473,473 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why invoke a webservice failed in asp.net ?

hi

There are two websites which are build by asp.net 2.0 running in one
machine. And there is a web service running in a website, and be invoked in
a asp.net page in another website. The invoke code likes:

RemoteHost.Publisher publisher = new RemoteHost.Publisher();
publisher.Publish();

While this code is running, error occur:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to load DLL 'rasapi32.dll': (Exception from HRESULT: 0x8007045A)

Description: An unhandled exception occurred during the execution of the
current web request.
Please review the stack trace for more information about the error and where
it originated in the code.

Exception Details: System.DllNotFoundException: Unable to load DLL
'rasapi32.dll'


And the file rasapi32.dll is located in the folder C:\windows\system32 while
I try to check it.V

Dec 13 '07 #1
1 3257
There's a post over at discountasp.net that might answer this:
http://community.discountasp.net/def...px?f=24&m=8388
--
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"С»ÒÀÇ" <a@b.cwrote in message
news:ei**************@TK2MSFTNGP04.phx.gbl...
hi

There are two websites which are build by asp.net 2.0 running in one
machine. And there is a web service running in a website, and be invoked
in a asp.net page in another website. The invoke code likes:

RemoteHost.Publisher publisher = new RemoteHost.Publisher();
publisher.Publish();

While this code is running, error occur:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to load DLL 'rasapi32.dll': (Exception from HRESULT: 0x8007045A)

Description: An unhandled exception occurred during the execution of the
current web request.
Please review the stack trace for more information about the error and
where it originated in the code.

Exception Details: System.DllNotFoundException: Unable to load DLL
'rasapi32.dll'


And the file rasapi32.dll is located in the folder C:\windows\system32
while I try to check it.V
Dec 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Adrian Meyer | last post by:
Hi, On the server I code the following web service: ))] public XmlDataDocument GetTypedXmlDataDocument() { sqlDataAdapter1.Fill(typedDataSet1); XmlDataDocument dataDoc
7
by: stephan querengaesser | last post by:
hi ng, i try to invoke a webservice-method with an filter-object, that contains value types. if i don´t want to filter the return value of the method, i have to pass a new instance of the...
7
by: WhiskRomeo | last post by:
I have a WIN .NET application that calls a web service to retrieve data. I deployed the application to a server and configured the webservice. The webservice and SQL Server 2000 database are on...
1
by: A.M-SG | last post by:
Hi, I have a web service with two soap extensions enabled on it. When I run the default IIS method invoke page, the invoke button bypasses all my soap extensions. But when I call the...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
5
by: J.Evans.1970 | last post by:
Hi. I've inherited a Web Service from a developer who is no longer here. One of the purposes of the service was to clear the cache on the server side. Up until a few days ago, it worked fine -...
0
by: dmihailescu | last post by:
the P/Invoke SetWindowLong failed with 'Access is denied' when invoked from a windows service. The service runs under the System account with the 'allow user to interact with the desktop' checked....
2
by: ketanp | last post by:
I am working on one application where i want to print a file on network printer through asp.net webservice. When i invoke webservice from a application which is on the local machine where my...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.