**To members of microsoft.publi c.dotnet.framew ork, apologies for the
crosspost. I originally posted this message into that group however
have since realised this may have been a better destination**
Hi all,
Wondering if anyone can help me out with an assemblies problem I'm
having.
I've got a .net 2.0 web application using AJAX 1 created with VS2005.
I also had VS2008 & .net 3.5 installed. I have since taken off
2008/3.5 and have started getting the error below when accessing one
of my pages...
Could not load file or assembly 'System.Web.Ext ensions,
Version=3.5.0.0 , Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5' or
one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)
=== Pre-bind state information ===
LOG: User = Unknown
LOG: DisplayName = System.Web.Exte nsions, Version=3.5.0.0 ,
Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5
(Fully-specified)
LOG: Appbase = file:///C:/Repository/APS/Client/Web/
LOG: Initial PrivatePath = C:\Repository\A MP\Client\Rio\W eb\bin
Calling assembly : APS.Client.Web. HomeScreen, Version=6.0.0.3 32,
Culture=neutral , PublicKeyToken= 1916d4122ec2e2e 8.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Repository\A MP\Client
\Rio
\Web\web.config
LOG: Using host configuration file: C:\WINDOWS\Micr osoft.NET
\Framework
\v2.0.50727\asp net.config
LOG: Using machine configuration file from C:\WINDOWS\Micr osoft.NET
\Framework\v2.0 .50727\config\m achine.config.
LOG: Post-policy reference: System.Web.Exte nsions, Version=3.5.0.0 ,
Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Exte nsions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Exte nsions/
System.Web.Exte nsions.DLL.
LOG: Attempting download of new URL
file:///C:/Repository/AMP/Client/Rio/Web/bin/System.Web.Exte nsions.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major
Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
terminated.
My project references System.Web.Exte nsions v1.0.61025.0 and as far
as
I can see have absoluetly no references to the v3.5 incarnation of
System.Web.Exte nsions however it refuses to use v1, no matter how
many
times I readd the reference, set "Specifc Type" property to true etc.
Before I removed 3.5 I was getting this error...
Parser Error Message: The base class includes the field
'ScriptManager2 ', but its type (System.Web.UI. ScriptManager) is not
compatible with the type of control (System.Web.UI. ScriptManager).
Line 62: <form id="form1" runat="server">
Line 63: <div style="text-align: center; width:100%;">
Line 64: <asp:ScriptMana ger ID="ScriptManag er2"
runat="server">
Line 65: </asp:ScriptManag er>
Line 66: <div class="ControlB ox" style="text-align:
center; ">
....I had checked my project to make sure that I was referencing 1.0.6
but upon compiling it appears it decided to use 3.5 regardless, so I
assumed that removing 3.5 all together would give it no option but to
use 1.0.6, however as you can see it is still trying to find 3.5.
I've scanned by system for the 3.5 version of the DLL and can not
find
it anywhere, the closes I can see it a native image file in the GAC.
Does anyone have any ideas as to where the requirement for the 3.5
DLL
is coming from or how to get rid of it. As I said before I'm sure it
isn't from my project (very sure because the project was created on a
serperate machine with no 3.5).
Any thoughts/help would be greately appriciated...
Thanks
Adam
PS I've already tried clearing my temp ASP.Net files.
crosspost. I originally posted this message into that group however
have since realised this may have been a better destination**
Hi all,
Wondering if anyone can help me out with an assemblies problem I'm
having.
I've got a .net 2.0 web application using AJAX 1 created with VS2005.
I also had VS2008 & .net 3.5 installed. I have since taken off
2008/3.5 and have started getting the error below when accessing one
of my pages...
Could not load file or assembly 'System.Web.Ext ensions,
Version=3.5.0.0 , Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5' or
one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)
=== Pre-bind state information ===
LOG: User = Unknown
LOG: DisplayName = System.Web.Exte nsions, Version=3.5.0.0 ,
Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5
(Fully-specified)
LOG: Appbase = file:///C:/Repository/APS/Client/Web/
LOG: Initial PrivatePath = C:\Repository\A MP\Client\Rio\W eb\bin
Calling assembly : APS.Client.Web. HomeScreen, Version=6.0.0.3 32,
Culture=neutral , PublicKeyToken= 1916d4122ec2e2e 8.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Repository\A MP\Client
\Rio
\Web\web.config
LOG: Using host configuration file: C:\WINDOWS\Micr osoft.NET
\Framework
\v2.0.50727\asp net.config
LOG: Using machine configuration file from C:\WINDOWS\Micr osoft.NET
\Framework\v2.0 .50727\config\m achine.config.
LOG: Post-policy reference: System.Web.Exte nsions, Version=3.5.0.0 ,
Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Exte nsions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Exte nsions/
System.Web.Exte nsions.DLL.
LOG: Attempting download of new URL
file:///C:/Repository/AMP/Client/Rio/Web/bin/System.Web.Exte nsions.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major
Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
terminated.
My project references System.Web.Exte nsions v1.0.61025.0 and as far
as
I can see have absoluetly no references to the v3.5 incarnation of
System.Web.Exte nsions however it refuses to use v1, no matter how
many
times I readd the reference, set "Specifc Type" property to true etc.
Before I removed 3.5 I was getting this error...
Parser Error Message: The base class includes the field
'ScriptManager2 ', but its type (System.Web.UI. ScriptManager) is not
compatible with the type of control (System.Web.UI. ScriptManager).
Line 62: <form id="form1" runat="server">
Line 63: <div style="text-align: center; width:100%;">
Line 64: <asp:ScriptMana ger ID="ScriptManag er2"
runat="server">
Line 65: </asp:ScriptManag er>
Line 66: <div class="ControlB ox" style="text-align:
center; ">
....I had checked my project to make sure that I was referencing 1.0.6
but upon compiling it appears it decided to use 3.5 regardless, so I
assumed that removing 3.5 all together would give it no option but to
use 1.0.6, however as you can see it is still trying to find 3.5.
I've scanned by system for the 3.5 version of the DLL and can not
find
it anywhere, the closes I can see it a native image file in the GAC.
Does anyone have any ideas as to where the requirement for the 3.5
DLL
is coming from or how to get rid of it. As I said before I'm sure it
isn't from my project (very sure because the project was created on a
serperate machine with no 3.5).
Any thoughts/help would be greately appriciated...
Thanks
Adam
PS I've already tried clearing my temp ASP.Net files.