|
Home > Archive > BizTalk Server General > March 2004 > method call result in System.IO.FileNotFoundException
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 |
method call result in System.IO.FileNotFoundException
|
|
| iamevic 2004-03-18, 1: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。
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
| |
| Nick Malik 2004-03-18, 1: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。
>
> 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
>
>
| |
| iamevic 2004-03-18, 1:58 pm |
| Biztalk Server 2003
"Nick Malik" <nickmalik@hotmail.nospam.com> 在郵件
news:Kje5c.15939$_w.338908@attbi_s53 中撰寫...
> What version of Biztalk are you using?
>
> "iamevic" <iamevic@pchome.com.tw> wrote in message
> news:O6VfYqkCEHA.2628@TK2MSFTNGP11.phx.gbl...
BTS[color=darkred]
result.[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
>
>
| |
| iamevic 2004-03-18, 1:58 pm |
| Sorry , It is 2004, not 2003
"Nick Malik" <nickmalik@hotmail.nospam.com> 在郵件
news:Kje5c.15939$_w.338908@attbi_s53 中撰寫...
> What version of Biztalk are you using?
>
> "iamevic" <iamevic@pchome.com.tw> wrote in message
> news:O6VfYqkCEHA.2628@TK2MSFTNGP11.phx.gbl...
BTS[color=darkred]
result.[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
file:///C:/PROGRA~1/MI23A4~1/Developer[color=darkred]
>
>
| |
| iamevic 2004-03-18, 1: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
找不到檔案或組件名稱 'CsSendMail' 或其相依性的其中之一。
Exception type: FileNotFoundException
Source: IIILeaveApply
Target Site: Microsoft.XLANGs.Core.StopConditions
segment2(Microsoft.XLANGs.Core.StopConditions)
Help Link:
Additional error information:
| |
| Matt Cable 2004-03-30, 12: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
>
> 找不到檔案或組件名稱 'CsSendMail' 或其相依性的其中之一。
>
> Exception type: FileNotFoundException
> Source: IIILeaveApply
> Target Site: Microsoft.XLANGs.Core.StopConditions
> segment2(Microsoft.XLANGs.Core.StopConditions)
> Help Link:
> Additional error information:
>
>
|
|
|
|
|