G
Guest
I'm using controls in my ASP.NET application from a couple of vendors.
Between the vendors and thier versioning, I've set up subfolders under my bin
directory:
bin
bin\Infragistics\v5.2
bin\RadControls\v5.3
Under 2.0b2, I had the following setup in my web.config:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\Infragistics\v5.2;bin\RadControls\v5.3" />
</assemblyBinding>
</runtime>
In addition, I needed a couple of explicit references:
<assemblies>
<add assembly="Infragistics.WebUI.Shared.v5.2" />
<add assembly="Infragistics.WebUI.UltraWebGrid.v5.2" />
</assemblies>
Everything was fine.
But under RTM, I have this error:
Parser Error Message: Could not load file or assembly
'Infragistics.WebUI.Shared.v5.2' or one of its dependencies. The system
cannot find the file specified.
The binding log shows that my probing subdirectories are not even being
considered when resolving this assembly reference.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = Infragistics.WebUI.Shared.v5.2, Version=5.2.20052.27,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
(Fully-specified)
LOG: Appbase = file:///D:/IIS/dev/
LOG: Initial PrivatePath = D:\IIS\dev\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\IIS\dev\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: Post-policy reference: Infragistics.WebUI.Shared.v5.2
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.EXE.
Ugh. What happened? Did I not do it correctly in b2, and now I'm off
kilter in RTM? From the docs, I think I have everything set up right, but
there really aren't many references that combine these two situations.
Between the vendors and thier versioning, I've set up subfolders under my bin
directory:
bin
bin\Infragistics\v5.2
bin\RadControls\v5.3
Under 2.0b2, I had the following setup in my web.config:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\Infragistics\v5.2;bin\RadControls\v5.3" />
</assemblyBinding>
</runtime>
In addition, I needed a couple of explicit references:
<assemblies>
<add assembly="Infragistics.WebUI.Shared.v5.2" />
<add assembly="Infragistics.WebUI.UltraWebGrid.v5.2" />
</assemblies>
Everything was fine.
But under RTM, I have this error:
Parser Error Message: Could not load file or assembly
'Infragistics.WebUI.Shared.v5.2' or one of its dependencies. The system
cannot find the file specified.
The binding log shows that my probing subdirectories are not even being
considered when resolving this assembly reference.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = Infragistics.WebUI.Shared.v5.2, Version=5.2.20052.27,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
(Fully-specified)
LOG: Appbase = file:///D:/IIS/dev/
LOG: Initial PrivatePath = D:\IIS\dev\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\IIS\dev\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: Post-policy reference: Infragistics.WebUI.Shared.v5.2
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/root/a93f530a/20d051ee/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2.EXE.
LOG: Attempting download of new URL
file:///D:/IIS/dev/bin/Infragistics.WebUI.Shared.v5.2/Infragistics.WebUI.Shared.v5.2.EXE.
Ugh. What happened? Did I not do it correctly in b2, and now I'm off
kilter in RTM? From the docs, I think I have everything set up right, but
there really aren't many references that combine these two situations.