|
Home > Archive > BizTalk Server General > October 2005 > Biztalk 2004 with Enterprise Library
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 |
Biztalk 2004 with Enterprise Library
|
|
| Bakunin 2005-10-02, 5:51 pm |
| Hi,
I am trying to configure and Orchestration to use the Entrprise Library
Configuration offering. I did the following:
1. Created two simple projects in the same solution. One for the
configuration classes and a client to use them. My console client was able to
read the configuration without any problem.
2. I inluded my config project into my existing Biztalk solution which had
an orchestration project.
3. I copied the config settings from my client App.config to my
BTSNTSvc.exe.config. Both these app files pointed to another configuration
file which contains details of my configuration assembly implementation. The
assemby is GAC'ed
4. I execute my orchestration.
5. An error File or assembly name "Somecompany.configuration" or one of its
dependencies was not found. I know the correct assemby is in the GAC, and
when I run sn -T against the assemby that is referenced in my orchestration
project it returns the correct public key.
6. I configured fusion to output loading details and search paths for
assemblies. See attached.
*** Assembly Binder Log Entry (10/2/2005 @ 4:07:58 PM) ***
The operation failed.
Bind result: hr = 0x80131040. No description available.
Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable E:\PROGRA~1\MICROS~2\BTSNTSvc.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = SomeCompany.Configuration, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=d23007d96350d425
(Fully-specified)
LOG: Appbase = E:\PROGRA~1\MICROS~2\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : Orchestrations, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=d23007d96350d425.
===
LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
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: SomeCompany.Configuration, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=d23007d96350d425
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///E:/PROGRA~1/MICROS~2/SomeCompany.Configuration.DLL.
LOG: Assembly download was successful. Attempting setup of file:
E:\PROGRA~1\MICROS~2\SomeCompany.Configuration.DLL
LOG: Entering run-from-source setup phase.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number
ERR: The assembly reference did not match the assembly definition found.
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
terminated.
Can someone point me in the right direction? I even tried to copy my
assembly to one of the paths highlighted by fusion. When I did this I get
"The located assembly manifest definition with name ......."
As far as I can see the assembly has only one version...... Any help greatly
appreciated.
| |
| Bakunin 2005-10-02, 5:51 pm |
| Even though I had already done this, a service restart did the trick.
"Bakunin" wrote:
> Hi,
> I am trying to configure and Orchestration to use the Entrprise Library
> Configuration offering. I did the following:
>
> 1. Created two simple projects in the same solution. One for the
> configuration classes and a client to use them. My console client was able to
> read the configuration without any problem.
>
> 2. I inluded my config project into my existing Biztalk solution which had
> an orchestration project.
>
> 3. I copied the config settings from my client App.config to my
> BTSNTSvc.exe.config. Both these app files pointed to another configuration
> file which contains details of my configuration assembly implementation. The
> assemby is GAC'ed
>
> 4. I execute my orchestration.
>
> 5. An error File or assembly name "Somecompany.configuration" or one of its
> dependencies was not found. I know the correct assemby is in the GAC, and
> when I run sn -T against the assemby that is referenced in my orchestration
> project it returns the correct public key.
>
> 6. I configured fusion to output loading details and search paths for
> assemblies. See attached.
>
>
> *** Assembly Binder Log Entry (10/2/2005 @ 4:07:58 PM) ***
>
> The operation failed.
> Bind result: hr = 0x80131040. No description available.
>
> Assembly manager loaded from:
> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
> Running under executable E:\PROGRA~1\MICROS~2\BTSNTSvc.exe
> --- A detailed error log follows.
>
> === Pre-bind state information ===
> LOG: DisplayName = SomeCompany.Configuration, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=d23007d96350d425
> (Fully-specified)
> LOG: Appbase = E:\PROGRA~1\MICROS~2\
> LOG: Initial PrivatePath = NULL
> LOG: Dynamic Base = NULL
> LOG: Cache Base = NULL
> LOG: AppName = NULL
> Calling assembly : Orchestrations, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=d23007d96350d425.
> ===
>
> LOG: Processing DEVPATH.
> LOG: DEVPATH is not set. Falling through to regular bind.
> 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: SomeCompany.Configuration, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=d23007d96350d425
> LOG: Cache Lookup was unsuccessful.
> LOG: Attempting download of new URL
> file:///E:/PROGRA~1/MICROS~2/SomeCompany.Configuration.DLL.
> LOG: Assembly download was successful. Attempting setup of file:
> E:\PROGRA~1\MICROS~2\SomeCompany.Configuration.DLL
> LOG: Entering run-from-source setup phase.
> WRN: Comparing the assembly name resulted in the mismatch: Revision Number
> ERR: The assembly reference did not match the assembly definition found.
> ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
> terminated.
>
> Can someone point me in the right direction? I even tried to copy my
> assembly to one of the paths highlighted by fusion. When I did this I get
>
> "The located assembly manifest definition with name ......."
>
> As far as I can see the assembly has only one version...... Any help greatly
> appreciated.
>
|
|
|
|
|