method call result in 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 General > method call result in System.IO.FileNotFoundException




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

    method call result in System.IO.FileNotFoundException  
iamevic


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


 
03-18-04 06:58 PM

Hi, AnyOne can tell me how to fix the following exception,
I make a c# dll and referenced by Biztalk project.
The dll provides a public method which i use it in the Biztalk project's
orchestration expression shape.
Also I have declared the c# dll object in variable definition.
It doesn't has any error during the compiliation and rebuild period,
My front applicaton is ASP.NET Web page which submit some form data to BTS
dll, and then it will call my c#dll function to process and return result.
But I got a System.IO.FileNotFoundException
How should i fix it.

==================================
System.IO.FileNotFoundException: can't find file or assembly name
'CsSendMail' or one of its dependence¡C

file name: "CsSendMail"

at IIILeaveApply.VORequestResponse.segment2(StopConditions stopOn)

at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)



=== Pre-bind state information ===

LOG: DisplayName = CsSendMail, Version=1.0.1535.22894, Culture=neutral,
PublicKeyToken=ad810f546ee35cc7
(Fully-specified)

LOG: Appbase = C:\PROGRA~1\MI23A4~1\

LOG: Initial PrivatePath = NULL

Calling assembly : IIILeaveApply, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=ad810f546ee35cc7.

===


LOG: Private path hint found in configuration file: BizTalk
Assemblies;Developer Tools;Tracking;Tracking\interop.

LOG: Publisher policy file is not found.

LOG: Host configuration file not found.

LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.

LOG: Post-policy reference: CsSendMail, Version=1.0.1535.22894,
Culture=neutral, PublicKeyToken=ad810f546ee35cc7

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/CsSendMail/CsSendMail.DLL.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
Assemblies/CsSendMail.DLL.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
Assemblies/CsSendMail/CsSendMail.DLL.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
Tools/CsSendMail.DLL.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
Tools/CsSendMail/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail/CsSendMail.DLL.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/CsSendMail.EXE.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/CsSendMail/CsSendMail.EXE.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
Assemblies/CsSendMail.EXE.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
Assemblies/CsSendMail/CsSendMail.EXE.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
Tools/CsSendMail.EXE.

LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
Tools/CsSendMail/CsSendMail.EXE.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail.EXE.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail/CsSendMail.EXE.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail.EXE.

LOG: Attempting download of new URL
file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail/CsSendMail.EXE.


System.IO.FileNotFoundException







[ Post a follow-up to this message ]



    Re: method call result in System.IO.FileNotFoundException  
Nick Malik


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


 
03-18-04 06:58 PM

What version of Biztalk are you using?

"iamevic" <iamevic@pchome.com.tw> wrote in message
news:O6VfYqkCEHA.2628@TK2MSFTNGP11.phx.gbl...
> Hi, AnyOne can tell me how to fix the following exception,
> I make a c# dll and referenced by Biztalk project.
> The dll provides a public method which i use it in the Biztalk project's
> orchestration expression shape.
> Also I have declared the c# dll object in variable definition.
> It doesn't has any error during the compiliation and rebuild period,
> My front applicaton is ASP.NET Web page which submit some form data to BTS
> dll, and then it will call my c#dll function to process and return result.
> But I got a System.IO.FileNotFoundException
> How should i fix it.
>
> ==================================
> System.IO.FileNotFoundException: can't find file or assembly name
> 'CsSendMail' or one of its dependence¡C
>
> file name: "CsSendMail"
>
>    at IIILeaveApply.VORequestResponse.segment2(StopConditions stopOn)
>
>    at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
> StopConditions stopCond, Exception& exp)
>
>
>
> === Pre-bind state information ===
>
> LOG: DisplayName = CsSendMail, Version=1.0.1535.22894, Culture=neutral,
> PublicKeyToken=ad810f546ee35cc7
>  (Fully-specified)
>
> LOG: Appbase = C:\PROGRA~1\MI23A4~1\
>
> LOG: Initial PrivatePath = NULL
>
> Calling assembly : IIILeaveApply, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=ad810f546ee35cc7.
>
> ===
>
>
> LOG: Private path hint found in configuration file: BizTalk
> Assemblies;Developer Tools;Tracking;Tracking\interop.
>
> LOG: Publisher policy file is not found.
>
> LOG: Host configuration file not found.
>
> LOG: Using machine configuration file from
> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
>
> LOG: Post-policy reference: CsSendMail, Version=1.0.1535.22894,
> Culture=neutral, PublicKeyToken=ad810f546ee35cc7
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/CsSendMail/CsSendMail.DLL.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
> Assemblies/CsSendMail.DLL.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
> Assemblies/CsSendMail/CsSendMail.DLL.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
> Tools/CsSendMail.DLL.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
> Tools/CsSendMail/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail/CsSendMail.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/CsSendMail.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/CsSendMail/CsSendMail.EXE.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
> Assemblies/CsSendMail.EXE.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/BizTalk
> Assemblies/CsSendMail/CsSendMail.EXE.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
> Tools/CsSendMail.EXE.
>
> LOG: Attempting download of new URL file:///C:/PROGRA~1/MI23A4~1/Developer
> Tools/CsSendMail/CsSendMail.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/CsSendMail/CsSendMail.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/PROGRA~1/MI23A4~1/Tracking/interop/CsSendMail/CsSendMail.EXE.
>
>
> System.IO.FileNotFoundException
>
>







[ Post a follow-up to this message ]



    Re: method call result in System.IO.FileNotFoundException  
iamevic


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


 
03-18-04 06:58 PM

Biztalk Server 2003

"Nick Malik" <nickmalik@hotmail.nospam.com> ¦b¶l¥ó
news:Kje5c.15939$_w.338908@attbi_s53 ¤¤¼¶¼g...
> What version of Biztalk are you using?
>
> "iamevic" <iamevic@pchome.com.tw> wrote in message
> news:O6VfYqkCEHA.2628@TK2MSFTNGP11.phx.gbl... 
BTS 
result. 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
>
>







[ Post a follow-up to this message ]



    Re: method call result in System.IO.FileNotFoundException  
iamevic


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


 
03-18-04 06:58 PM

Sorry , It is 2004, not 2003


"Nick Malik" <nickmalik@hotmail.nospam.com> ¦b¶l¥ó
news:Kje5c.15939$_w.338908@attbi_s53 ¤¤¼¶¼g...
> What version of Biztalk are you using?
>
> "iamevic" <iamevic@pchome.com.tw> wrote in message
> news:O6VfYqkCEHA.2628@TK2MSFTNGP11.phx.gbl... 
BTS 
result. 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
file:///C:/PROGRA~1/MI23A4~1/Developer 
>
>







[ Post a follow-up to this message ]



    Re: method call result in System.IO.FileNotFoundException  
iamevic


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


 
03-18-04 06:58 PM

This is the event viewer log, How should I fix it??

Uncaught exception terminated service
IIILeaveApply.VORequestResponse(eda15a75-cf5e-6f5a-bfcb-35d2221451d2),
instance 1b8f75ca-0486-47e5-bd6c-170c17733ef4

§ä¤£¨ìÀɮשβեó¦WºÙ 'CsSendMail' ©Î¨ä¬Û¨Ì©Êªº¨ä¤¤¤§¤@¡C

Exception type: FileNotFoundException
Source: IIILeaveApply
Target Site: Microsoft.XLANGs.Core.StopConditions
segment2(Microsoft.XLANGs.Core.StopConditions)
Help Link:
Additional error information:







[ Post a follow-up to this message ]



    Re: method call result in System.IO.FileNotFoundException  
Matt Cable


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


 
03-30-04 05:37 AM

I've run into the same thing.  I think we had to ensure that the referenced
assembly .dll was in the GAC, and that the path specified in the properties
in the reference is pointing to the same file/path in specified in the GAC.
I believe we received that when it was pointing to a .dll with the same
name, just one in a different path.  Compare the GAC'ed path to the
Referenced path.

- Matt Cable

"iamevic" <iamevic@pchome.com.tw> wrote in message
news:uCpg0jnCEHA.1128@TK2MSFTNGP11.phx.gbl...
> This is the event viewer log, How should I fix it??
>
> Uncaught exception terminated service
> IIILeaveApply.VORequestResponse(eda15a75-cf5e-6f5a-bfcb-35d2221451d2),
> instance 1b8f75ca-0486-47e5-bd6c-170c17733ef4
>
> §ä¤£¨ìÀɮשβեó¦WºÙ 'CsSendMail' ©Î¨ä¬Û¨Ì©Êªº¨ä¤¤¤§¤@¡C
>
> Exception type: FileNotFoundException
> Source: IIILeaveApply
> Target Site: Microsoft.XLANGs.Core.StopConditions
> segment2(Microsoft.XLANGs.Core.StopConditions)
> Help Link:
> Additional error information:
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:26 PM.      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