Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / April 2006

Tip: Looking for answers? Try searching our database.

which version clr will IE host by default?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard Lee - 15 Mar 2006 19:27 GMT
If IE load an assembly, I am wondering which version of clr IE will host?
if we have both 1.1 and 2.0 at client side.

Thanks
Pandurang Nayak - 24 Mar 2006 20:45 GMT
The application metadata will tell it which version of the CLR has to be
loaded. This is just like clicking a .NET exe and the appropriate runtime
version getting loaded automatically.

You can also check to see if the browser has the correct version using
Request.Browser.ClrVersion in an ASPX page (or HTTPHandler).

Regards,
Pandurang
Signature

blog: www.thinkingMS.com/pandurang

> If IE load an assembly, I am wondering which version of clr IE will host?
> if we have both 1.1 and 2.0 at client side.
>
> Thanks
Willy Denoyette [MVP] - 24 Mar 2006 20:55 GMT
How do you think to get at the metadata before the CLR is loaded?
By default IE will load the latest version of the framework installed.

Willy.

| The application metadata will tell it which version of the CLR has to be
| loaded. This is just like clicking a .NET exe and the appropriate runtime
[quoted text clipped - 10 lines]
| >
| > Thanks
Pandurang Nayak - 26 Mar 2006 23:53 GMT
It just loads a shim, doesn't it?  The actual CLR process is loaded later. I
just tried a 1.1 and 2.0 Winform that were put in a IIS folder.  When
browsing from IT, it loaded them both fine.

Regards,
Pandurang
Signature

blog: www.thinkingMS.com/pandurang

> How do you think to get at the metadata before the CLR is loaded?
> By default IE will load the latest version of the framework installed.
[quoted text clipped - 16 lines]
> | >
> | > Thanks
Willy Denoyette [MVP] - 27 Mar 2006 12:00 GMT
The shim is mscoree.dll, which is installed in system32, this one is the
version belonging to the latest version of the framework installed, and the
shim will load the latest version of the CLR (which is not a process btw)
installed. You can only change this behavior through the config file.
Note that the V2 CLR can execute v1 applications as well as v2 applications,
this is why your winform applications laod and probably runs fine.

Willy.

| It just loads a shim, doesn't it?  The actual CLR process is loaded later. I
| just tried a 1.1 and 2.0 Winform that were put in a IIS folder.  When
[quoted text clipped - 23 lines]
| > | >
| > | > Thanks
Richard Lee - 28 Mar 2006 19:29 GMT
Thanks, gentlemen.

I have another question.

When I use IE to load an assembly, there's a user control in it, I always
get SecurityPermission Exception when I tried to do something like Socket,
File I/O or Registry, I know it's against code access security policy at
client side.

Is there anyway we can make it work without code group permission setting at
client side?

Is there anything like Activex Control in IE for .NET Assembly, maybe IE7
have this feature?

> The shim is mscoree.dll, which is installed in system32, this one is the
> version belonging to the latest version of the framework installed, and the
[quoted text clipped - 35 lines]
> | > | >
> | > | > Thanks
Gabriel Lozano-Morán - 10 Apr 2006 22:17 GMT
By the way to see which version of the CLR is loaded for the assembly there
is a quick and easy way to enable the CLR Loading log as I posted on my
blog:
http://pointerx.net/blogs/glozano/archive/2006/03/23/84.aspx

Gabriel Lozano-Morán

> It just loads a shim, doesn't it?  The actual CLR process is loaded later.
> I
[quoted text clipped - 26 lines]
>> | >
>> | > Thanks
Willy Denoyette [MVP] - 24 Mar 2006 20:56 GMT
The latest version installed will be loaded by default.

Willy.

| If IE load an assembly, I am wondering which version of clr IE will host?
| if we have both 1.1 and 2.0 at client side.
|
| Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.