|
Home > Archive > BizTalk Server General > July 2004 > FileNotFoundException when connecting to Web Service
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FileNotFoundException when connecting to Web Service
|
|
| Christoffer 2004-07-09, 3:30 pm |
| Hello, I have a slight problem...
I have published my BizTalk Orchestration as a Web Service using the BizTalk
Web Services Publishing Wizard and I can browse it using Internet Explorer.
I've also created a small C# client which calls the Web Service. It looks
like:
localhost.Question q = new localhost.Question();
localhost.orka_ws_QuestionWsInPort port = new
localhost.orka_ws_QuestionWsInPort();
port.AskQuestion(q);
When I run it, I get this error:
An unhandled exception of type 'System.Web.Services.Protocols.SoapException'
occurred in system.web.services.dll
Additional information: System.Web.Services.Protocols.SoapException: Server
was unable to process request.. ---> System.IO.FileNotFoundException: File
or assembly name mwvk59xj.dll, or one of its dependencies, was not found.
File name: mwvk59xj.dll
If I run it once more, I get the same error message except that the assembly
not found, in this case mwvk58xj.dll, is named something else, such as
rymm-8n0.dll.
Any ideas will be much appreciated!
/Chris
| |
|
| Hi Chris, It's really strange... it's seems virus playing with you or your evaluation version is expired. Try to restart your computer and try again
Regards
"Christoffer" wrote:
> Hello, I have a slight problem...
>
> I have published my BizTalk Orchestration as a Web Service using the BizTalk
> Web Services Publishing Wizard and I can browse it using Internet Explorer.
> I've also created a small C# client which calls the Web Service. It looks
> like:
>
> localhost.Question q = new localhost.Question();
> localhost.orka_ws_QuestionWsInPort port = new
> localhost.orka_ws_QuestionWsInPort();
> port.AskQuestion(q);
>
> When I run it, I get this error:
>
> An unhandled exception of type 'System.Web.Services.Protocols.SoapException'
> occurred in system.web.services.dll
>
> Additional information: System.Web.Services.Protocols.SoapException: Server
> was unable to process request.. ---> System.IO.FileNotFoundException: File
> or assembly name mwvk59xj.dll, or one of its dependencies, was not found.
> File name: mwvk59xj.dll
>
> If I run it once more, I get the same error message except that the assembly
> not found, in this case mwvk58xj.dll, is named something else, such as
> rymm-8n0.dll.
>
> Any ideas will be much appreciated!
>
> /Chris
>
>
>
| |
| Michael Roze [MSFTF] 2004-07-09, 3:30 pm |
| Does the assembly exist in the GAC?
Thanks,
MRoze
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
[vbcol=seagreen]
your evaluation version is expired. Try to restart your computer and try
again[vbcol=seagreen]
BizTalk[vbcol=seagreen]
Explorer.[vbcol=seagreen]
looks[vbcol=seagreen]
'System.Web.Services.Protocols.SoapException'[vbcol=seagreen]
Server[vbcol=seagreen]
File[vbcol=seagreen]
found.[vbcol=seagreen]
assembly[vbcol=seagreen]
| |
| Matt Milner 2004-07-09, 3:31 pm |
| make sure the identity that your web service is running under has rights to
c:\windows\temp (it needs read and write) as well as to
c:\windows\microsoft.net\framwork\vXXXX\temporary asp.net files. I see this
message mostly with the temp folder.
Matt
"Michael Roze [MSFTF]" <mroze@online.microsoft.com> wrote in message
news:7FzbZUDZEHA.2752@cpmsftngxa06.phx.gbl...
> Does the assembly exist in the GAC?
>
> Thanks,
> MRoze
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> EBusiness Server Team
>
> your evaluation version is expired. Try to restart your computer and try
> again
> BizTalk
> Explorer.
> looks
> 'System.Web.Services.Protocols.SoapException'
> Server
> File
> found.
> assembly
>
>
| |
| Christoffer 2004-07-09, 3:31 pm |
| Thanks for all your replies.
I turned out I forgot to start the Orchestration (it wasn't even deployed).
So, for anyone else having this problem, the solution is:
1. Build your project
2. Deploy your project
3. Publish your project as a Web Service using BizTalk Web Services
Publishing Wizard, don't forget to tick the "Create BizTalk receive
locations." box
4. Start your Orchestration
By this time any calls to the Web Service might yield a "Internal Soap
Error". Make sure the IIS worker process (for your Web Service) has
privilegies to write to the %temp% directory.
Once more, thanks for your replies!
/Chris
"Matt Milner" <matt.milner@m3technologypartners dot com> skrev i meddelandet
news:eJzC8vJZEHA.2816@TK2MSFTNGP11.phx.gbl...
> make sure the identity that your web service is running under has rights
to
> c:\windows\temp (it needs read and write) as well as to
> c:\windows\microsoft.net\framwork\vXXXX\temporary asp.net files. I see
this
> message mostly with the temp folder.
>
> Matt
>
>
> "Michael Roze [MSFTF]" <mroze@online.microsoft.com> wrote in message
> news:7FzbZUDZEHA.2752@cpmsftngxa06.phx.gbl...
> rights.
System.IO.FileNotFoundException:[vbcol=seagreen]
as[vbcol=seagreen]
>
>
|
|
|
|
|