![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an html application that uses an embeded .Net user control - and has specified the startup attribute for supportedRuntime for 1.1.4322 - inside of a XML configuration file. When I run this application it ignores the runtime directive and loads up the 2.0 runtime - I have verified this with the Fusion Logger. Here is the Log Entry: *** Assembly Binder Log Entry (5/1/2006 @ 3:40:58 PM) *** The operation was successful. Bind result: hr = 0x0. The operation completed successfully. Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msco rwks.dll Running under executable C:\WINDOWS\System32\mshta.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = UNUM\C7J4L LOG: Where-ref bind. Location = http://navilinkd2/assemblies/Main.dll LOG: Appbase = http://navilinkd2/ LOG: Initial PrivatePath = bin LOG: Dynamic Base = NULL LOG: Cache Base = NULL LOG: AppName = NULL Calling assembly : (Unknown). === LOG: This bind starts in LoadFrom load context. WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load(). LOG: Using application configuration file: C:\Documents and Settings\c7j4l\Local Settings\Temporary Internet Files\Content.IE5\LSUSJBCK\AppConfig[1].xml LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config. LOG: Attempting download of new URL http://navilinkd2/assemblies/Main.dll. LOG: Assembly download was successful. Attempting setup of file: C:\Documents and Settings\c7j4l\Local Settings\Temporary Internet Files\Content.IE5\FV13NP4W\Main[1].dll LOG: Entering download cache setup phase. LOG: Assembly Name is: Main, Version=3.3.1739.23226, Culture=neutral, PublicKeyToken=null LOG: Re-apply policy for where-ref bind. LOG: Where-ref bind Codebase matches what is found in default context. Keep the result in default context. LOG: The post-policy assembly reference requires probing again. LOG: Switch from LoadFrom context to default context. LOG: Using application configuration file: C:\Documents and Settings\c7j4l\Local Settings\Temporary Internet Files\Content.IE5\LSUSJBCK\AppConfig[1].xml LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL http://navilinkd2/Main.DLL. ERR: Downloaded file was not cached. The web server may be configured to expire content immediately. LOG: Attempting download of new URL http://navilinkd2/Main/Main.DLL. ERR: Downloaded file was not cached. The web server may be configured to expire content immediately. LOG: Attempting download of new URL http://navilinkd2/bin/Main.DLL. ERR: Downloaded file was not cached. The web server may be configured to expire content immediately. LOG: Attempting download of new URL http://navilinkd2/bin/Main/Main.DLL. ERR: Downloaded file was not cached. The web server may be configured to expire content immediately. LOG: Attempting download of new URL http://navilinkd2/assemblies/Main.DLL. LOG: Assembly download was successful. Attempting setup of file: C:\Documents and Settings\c7j4l\Local Settings\Temporary Internet Files\Content.IE5\KDMFC9AJ\Main[1].DLL LOG: Entering download cache setup phase. WRN: A duplicate assembly was found while copying the assembly item to the cache. LOG: Binding succeeds. Returns assembly from C:\Documents and Settings\c7j4l\Local Settings\Application Data\assembly\dl3\1BW8NQ4X.141\CDZJH791.AGL\e64e7f 7e\80d0c352_04abc401\Main.dll. LOG: Assembly is loaded in default load context. Here is the AppConfig value that I have entered - it is getting streamed to the client - I have verified with the Fusion Logger. - <startup supportedRuntime version="v1.1.4322" / /startup Here is something of interest I get in an attached debbuger: (f20.53c): CLR exception - code e0434f4d (first chance) (f20.53c): CLR exception - code e0434f4d (first chance) (f20.53c): C++ EH exception - code e06d7363 (first chance) (f20.53c): C++ EH exception - code e06d7363 (first chance) (f20.53c): CLR exception - code e0434f4d (first chance) (f20.53c): CLR exception - code e0434f4d (first chance) (f20.53c): C++ EH exception - code e06d7363 (first chance) (f20.53c): C++ EH exception - code e06d7363 (first chance) Is there something else that I am missing? The most intresting part is - if I run the app from a local web server - instead of a remote web server - even though it loads up 2.0 - it doesn't fail - but on the remote server it fails... |
#3
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |