Binding Policies Asp.Net
- From: Derek <Derek@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Nov 2007 05:23:01 -0800
I have 2 GAC assemblies .Net 1.1 that I want to redirect to a newer version.
Under the .net MMC for both 2.0 and 1.1 I configured the assemblies to
redirect to new verion under binding policy. When my web application
(asp.net 2.) executes it gets a method not found on the GAC assembly which is
a 1.1.
I have enabled logging in fusion and for each of the GAC components I see
that it is being redirected to new version. If I recompile the web app to use
new version and remove binding policies the web works fine so I know its not
an issue with the new components.
Does anyone have any ideas on what the issue could be. Below is logging
information for the 2 assemblies
*** Assembly Binder Log Entry (11/14/2007 @ 7:47:24 AM) ***
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User =
LOG: DisplayName = XXXXXXX, Version=1.1.2636.11335, Culture=neutral,
PublicKeyToken=96e47e858ecf46da
(Fully-specified)
LOG: Appbase = file:///D:/CMS2002Projects/InterECM/Web/
LOG: Initial PrivatePath = D:\CMS2002Projects\InterECM\Web\bin
LOG: Dynamic Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\interecm\325d865f
LOG: Cache Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\interecm\325d865f
LOG: AppName = b2752e82
Calling assembly : XXXXXXX, Version=1.0.2873.24211, Culture=neutral,
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
D:\CMS2002Projects\InterECM\Web\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Machine configuration policy file redirect found: 1.1.2636.11335
redirected to 1.1.5.0.
LOG: Post-policy reference: XXXXXX, Version=1.1.5.0, Culture=neutral,
PublicKeyToken=XXXXXXX
LOG: Found assembly by looking in the GAC.
LOG: Binding succeeds. Returns assembly from
C:\WINDOWS\assembly\GAC\XXXXX\1.1.5.0__96e47e858ecf46da\XXXXX.dll.
LOG: Assembly is loaded in default load context.
*** Assembly Binder Log Entry (11/14/2007 @ 7:47:24 AM) ***
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User =
LOG: DisplayName = XXXXX, Version=1.1.2636.11335, Culture=neutral,
PublicKeyToken=96e47e858ecf46da
(Fully-specified)
LOG: Appbase = file:///D:/CMS2002Projects/InterECM/Web/
LOG: Initial PrivatePath = D:\CMS2002Projects\InterECM\Web\bin
LOG: Dynamic Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\interecm\325d865f
LOG: Cache Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\interecm\325d865f
LOG: AppName = b2752e82
Calling assembly : XXXXX, Version=1.0.2873.24211, Culture=neutral,
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
D:\CMS2002Projects\InterECM\Web\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Machine configuration policy file redirect found: 1.1.2636.11335
redirected to 1.1.5.0.
LOG: Post-policy reference: XXXXX, Version=1.1.5.0, Culture=neutral,
PublicKeyToken=96e47e858ecf46da
LOG: Found assembly by looking in the GAC.
LOG: Binding succeeds. Returns assembly from
C:\WINDOWS\assembly\GAC\XXXXX\1.1.5.0__96e47e858ecf46da\XXXXX.dll.
LOG: Assembly is loaded in default load context.
.
- Prev by Date: Re: How to create a CLR DLL for Sql Server 2005? Is it just any .net class library that you can load into Sql Server 2005 or is there some special project type that I need to start with?
- Next by Date: Re: I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored proc. How to fix so that ival keeps its current value ea
- Previous by thread: Re: I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored proc. How to fix so that ival keeps its current value ea
- Next by thread: Query permissions for System.Net
- Index(es):
Relevant Pages
|
Loading