MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why invoke a webservice failed in asp.net ?

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet
Author Message
user



Joined: 08 Aug 2007
Posts: 1

PostPosted: Thu Dec 13, 2007 4:16 pm    Post subject: Why invoke a webservice failed in asp.net ? Reply with quote

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

Archived from group: microsoft>public>dotnet>framework>aspnet
Back to top
View user's profile Send private message
Mark Fitzpatrick



Joined: 08 Aug 2007
Posts: 18

PostPosted: Thu Dec 13, 2007 2:50 am    Post subject: Re: Why invoke a webservice failed in asp.net ? Reply with quote

There's a post over at discountasp.net that might answer this:
http://community.discountasp.net/default.aspx?f=24&m=8388


--
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"С»ÒÀÇ" wrote in message $PfaTPIHA.5400@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
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
invoke on UI thread I understand the notion that a UI thread should be responsible for managing the UI elements; therefore, worker threads need to call invoke. I don't understand the technical reason for this. What is it about the Win32 message loop that doesn't like work

Q: P/Invoke with Structs that have Arrays Any references that can help me sort this out would be greatly appreciated. I have read through the P/Invoke sections of "Programming C#", ".NET Common Language Runtime -- Unleashed", ".NET Framework SDK", and still trying to bludgeon my way through ".NET

COULD INVOKE A COM+ (CCW - .NET) FROM A CLIENT WITHOUT FRAME This is my COM+'s code: using System; using System.Text; using System.IO; using using using namespace Sgm.Interface { public interface ISampleSgm2 { string Sistema {set;} void W

Confused about P/Invoke and .NET CF - MissingMethodException I am confused on how to use an existing dll written in VC++ ver 6 (written originally for the desktop) with a smart device project. I am writing my app using VS2003 in VB. I have declared it as follows: Public Declare Function tx_opc167 Lib "roccom.dll"

COM+ LC Event - Unable to invoke any of the subscribers [originally posted in . . refered here] source: I am getting "An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)" on what appears to have been a prope
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group