472,975 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,975 software developers and data experts.

Probing Change from B2 to RTM??

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\RadCont rols\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\conf ig\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.

--
Joel D Kraft
Case Western Reserve University
Nov 19 '05 #1
2 2353
Hi Joel,

Welcome to ASPNET newsgroup.
Regardin on the assembly probing path problem you mentioned, based on my
understanding, this is a expected behavior according to the ASP.NET CLR
host's policy on private assembly probing. yes, you are right that the
following schema can help specify appdomain's private assembly probing path:

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\Infragistics\v5.2;bin\RadCont rols\v5.3" />
</assemblyBinding>
</runtime>
and this will work for most .net applications such as winform, console,
service.... However, the ASP.NET clr host is particular one which will
always force the appdomain to only utilize the private "bin" folder as the
probing path. In another word, no matter we specify what in the
/runtime/assemblyBinding/probing/@privatePath , the ASP.NET appDomain
still use only "bin" as probing path. To verify this, you can also use the
following code to output the probing path of the current running asp;.net
application:

Response.Write("<br>" + AppDomain.CurrentDomain.RelativeSearchPath);

So the behavior and the fusion log you viewed are all correct. As for the
beta version behavior you mentioned, I think it maybe a temporarly behavior
since at that time some small parts has not been ready yet.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: Probing Change from B2 to RTM??
| thread-index: AcXkiBpUBhDeXbt/Rnmt0xnQIL27zw==
| X-WBNR-Posting-Host: 129.22.161.11
| From: =?Utf-8?B?Sm9lbCBEIEtyYWZ0?= <jd******@nospam.nospam>
| Subject: Probing Change from B2 to RTM??
| Date: Tue, 8 Nov 2005 09:16:05 -0800
| Lines: 73
| Message-ID: <E3**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:136992
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| 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\RadCont rols\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\conf ig\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.Web
UI.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.Sha
red.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.Web
UI.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.Sha
red.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.
|
| --
| Joel D Kraft
| Case Western Reserve University
|

Nov 19 '05 #2
Hi Joel,

Does my last response helps you a little on the problem? If there're
anything else unclear or we can help, please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 134796959
| References: <E3**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Wed, 09 Nov 2005 07:40:32 GMT
| Subject: RE: Probing Change from B2 to RTM??
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <gD**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 150
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:356580
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Hi Joel,
|
| Welcome to ASPNET newsgroup.
| Regardin on the assembly probing path problem you mentioned, based on my
| understanding, this is a expected behavior according to the ASP.NET CLR
| host's policy on private assembly probing. yes, you are right that the
| following schema can help specify appdomain's private assembly probing
path:
|
| <runtime>
| <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
| <probing privatePath="bin;bin\Infragistics\v5.2;bin\RadCont rols\v5.3"
/>
| </assemblyBinding>
| </runtime>
|
|
| and this will work for most .net applications such as winform, console,
| service.... However, the ASP.NET clr host is particular one which will
| always force the appdomain to only utilize the private "bin" folder as
the
| probing path. In another word, no matter we specify what in the
| /runtime/assemblyBinding/probing/@privatePath , the ASP.NET appDomain
| still use only "bin" as probing path. To verify this, you can also use
the
| following code to output the probing path of the current running asp;.net
| application:
|
| Response.Write("<br>" + AppDomain.CurrentDomain.RelativeSearchPath);
|
| So the behavior and the fusion log you viewed are all correct. As for the
| beta version behavior you mentioned, I think it maybe a temporarly
behavior
| since at that time some small parts has not been ready yet.
|
| Hope helps. Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
| --------------------
| | Thread-Topic: Probing Change from B2 to RTM??
| | thread-index: AcXkiBpUBhDeXbt/Rnmt0xnQIL27zw==
| | X-WBNR-Posting-Host: 129.22.161.11
| | From: =?Utf-8?B?Sm9lbCBEIEtyYWZ0?= <jd******@nospam.nospam>
| | Subject: Probing Change from B2 to RTM??
| | Date: Tue, 8 Nov 2005 09:16:05 -0800
| | Lines: 73
| | Message-ID: <E3**********************************@microsoft.co m>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.aspnet:136992
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | 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\RadCont rols\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\conf ig\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.Web
| UI.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.Sha
| red.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.Web
| UI.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.Sha
| red.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.
| |
| | --
| | Joel D Kraft
| | Case Western Reserve University
| |
|
|

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert Scheer | last post by:
Hi. The docs say the <probing> element needs to refer to subdirectories of the application main directory. My windows application needs to locate an assembly in a directory above the application...
2
by: Richard | last post by:
I am writing an installer for our application. The installer places the application .exe in the install directory and then creates a \bin subfolder and places all .dlls in the \bin subfolder. ...
2
by: Pavils Jurjans | last post by:
Hello, This is my test.aspx page: <%@ Page Language="C#" enableSessionState="true" inherits="MyPage"%> This is code in CodeBehind.cs: using System;
2
by: Jiho Han | last post by:
This has been asked many times before but it seems there haven't been clear answers. I have an application root at http://localhost and subdirectories http://localhost/app1
2
by: Shiraz | last post by:
Alright, I think I have a better perception of assemblies and environment variables now. The question I had initially posted was pertaining setting of environment variables using the VSI installer....
1
by: CorporateCoder | last post by:
Is there a way to group dll files by putting them in a subdirectory in the bin directory for ASP.net 2.0 Web Site projects and have the CLR find them? I tried using <probing> and adding the...
0
by: Boni Lopez | last post by:
Hi there, Supposed I have loaded into an current domain an assembly myasm.dll i.e. Appdomain.CurrentDomain.Load(bytes_of_myasm.dll) myasm.dll is signed and has a strong name Now I have a...
0
vaibhavgaikwad
by: vaibhavgaikwad | last post by:
Hi All, My problem is I generate and compile web-services on the fly. I want to keep the .dll files of the web-services in the "\bin\WebServices" directory. But at the time of invocation of the...
4
by: =?Utf-8?B?anVhbkBtc2RuQ29tcGFueS5jb20=?= | last post by:
I have a mixed mode application that uses several dlls, which most are native and my new one is mixed. My new dll uses several dependent .NET assemblies. I wanted to place these dependent .NET...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.