System.IO.FileNotFoundException
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > System.IO.FileNotFoundException




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    System.IO.FileNotFoundException  
Potsang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 10:52 PM

Hi,

I am trying out some BizTalk example. In my orchestration I have message
assignment shape. In that shape I am calling some function in the dll
library, MyUtils. I have encountered the following error after I deployed th
e
orchestration and tried to get some xml message from receive to the send
port.

//this message is copy from HAT – service instance details:

Service  Name:	BizTalk_Datatransfer_Orchestration

Assembly name:	BizTalk Server Project1, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=29702a08dddc15e7
Service class:	Orchestration
Message count:	1
Error code:	System.IO.FileNotFoundException
Error category:	0
Error description:	File or assembly name MyUtils, or one of its
dependencies, was not found.
Last processing server:	DEIMOS
Suspend Time:	3/13/2006 5:28:15 PM
Status:	Suspended (not resumable)
Pending action:	None
Service instance ID:	cf8eea16-131d-4daf-a5e7-a2350ad4a033
Host:	BizTalkServerApplication
Activation time:	3/13/2006 5:28:14 PM

//
Here I don’t know why it is saying “File or assembly name MyUtils, or on
e of
its dependencies, was not found.” The MyUtils is a dll library and is part
 of
my biztalk project. When I deployed the orchestration from the VS.net 2003
IDE, why is it still not able to find the MyUtils dll file? I am using
BizTalk 2004. Any idea where I should look into it to resolve it?

Thanks a lot.

Potsang





[ Post a follow-up to this message ]



    Re: System.IO.FileNotFoundException  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 10:52 PM

> I am trying out some BizTalk example. In my orchestration I have message
> assignment shape. In that shape I am calling some function in the dll
> library, MyUtils. I have encountered the following error after I deployed
> the
> orchestration and tried to get some xml message from receive to the send
> port.
>
> //this message is copy from HAT - service instance details:
>
> Service Name: BizTalk_Datatransfer_Orchestration
> Assembly name: BizTalk Server Project1, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=29702a08dddc15e7
> Service class: Orchestration
> Message count: 1
> Error code: System.IO.FileNotFoundException
> Error category: 0
> Error description: File or assembly name MyUtils, or one of its
> dependencies, was not found.
> Last processing server: DEIMOS
> Suspend Time: 3/13/2006 5:28:15 PM
> Status: Suspended (not resumable)
> Pending action: None
> Service instance ID: cf8eea16-131d-4daf-a5e7-a2350ad4a033
> Host: BizTalkServerApplication
> Activation time: 3/13/2006 5:28:14 PM
>
> //
> Here I don't know why it is saying "File or assembly name MyUtils, or one
> of
> its dependencies, was not found." The MyUtils is a dll library and is part
> of
> my biztalk project. When I deployed the orchestration from the VS.net 2003
> IDE, why is it still not able to find the MyUtils dll file? I am using
> BizTalk 2004. Any idea where I should look into it to resolve it?

You need to manually put your MyUtils assembly into the GAC.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: System.IO.FileNotFoundException  
Potsang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 10:52 PM

Thanks.

Could you give some more details on how to do that?

"Tomas Restrepo (MVP)" wrote:
 
>
> You need to manually put your MyUtils assembly into the GAC.
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>





[ Post a follow-up to this message ]



    Re: System.IO.FileNotFoundException  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 10:52 PM

> Thanks.
>
> Could you give some more details on how to do that?

You can use gacutil.exe included in the .NET Framework SDK (and VS) to do
it:

gacutil.exe -if <Assembly>.dll

Or you can just drag & drop your assembly into the c:\windows\assembly
folder using explorer.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: System.IO.FileNotFoundException  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 12:48 PM

Global Assembly Cache Tool (Gacutil.exe)
http://msdn.microsoft.com/library/d...-us/cptools/htm
l/ cpgrfglobalassemblycacheutilitygacutilex
e.asp

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register