p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Professional (http://p2p.wrox.com/forumdisplay.php?f=57)
-   -   Version of .NET runtime registered on IIS (http://p2p.wrox.com/showthread.php?t=49087)

Bob Bedell October 16th, 2006 01:54 PM

Version of .NET runtime registered on IIS
 
Hello,

Can anyone tell me how to find out which version of the .NET runtime I currently have registered with IIS? I have 1.1 and 2.0 installed. I'm trying to use the BinaryFormatter with an HTTPChannel and am receiving the cryptic 'BinaryFormatter Version incompatibility' error. I've added the following to my config file:

<formatter ref="binary" typeFilterLevel="Full"/>

and am going to attempt to use tcpTrace to get some more info on the cause of the problem on IIS, but I'm wondering if maybe version 2.0 of the runtime is registered with IIS. My app is compiled using 1.1.

Any thoughts. Be gentle. I'm way over my head here.

Thanks,

Bob


mike_remember October 17th, 2006 07:21 AM

Hi Bob

Right now what I can suggest is that to look at the version you are using, you can go to the Application Configuration property from IIS, i.e.,

1. Go to IIS
2. Right Click Websites -> Properties.
3. Here select "Home Directory" and then click the button "Configuration".

Here you can find the mapping to your currently installed version of framework.

Hope this might help a bit.

Regards
Mike

dparsons October 17th, 2006 07:37 AM

Bob,
   It is possible to run ASP 1.1 and 2.0 side by side on IIS, however, they must run isolated from each other meaning they must run in different process's.

This article explains the process of setting up IIS to do this pretty well
http://www.velocityreviews.com/forum...0-coexist.html

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature

Bob Bedell October 17th, 2006 03:13 PM

Thanks guys,

Using Mike's suggestion I can see that IIS is still using version 1.1, which is what I'm compiling with. And thanks for the link dparsons.

Turns out the 'BinaryFormatter Version incompatibility' error actually has nothing to do with versioning. I found this link which explains whats going on pretty well:

http://www.thinktecture.com/Resource...NMISMATCH.html

In my case, the issue was caused by a typo. I had the name of my server project spelled wrong in my web config file.

Thanks again,

Bob



All times are GMT -4. The time now is 08:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.