Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 16th, 2006, 01:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default 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

 
Old October 17th, 2006, 07:21 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old October 17th, 2006, 07:37 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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
 
Old October 17th, 2006, 03:13 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
runtime automation error library not registered deco Pro VB 6 2 July 31st, 2007 08:09 AM
Unable to find a version of the runtime ....... ASPDharm ASP.NET 2.0 Basics 0 January 16th, 2007 07:03 AM
Getting the Version number at Runtime Pallavs20 .NET Framework 2.0 2 September 29th, 2005 09:52 AM
.net and IIS version badgolfer ASP.NET 1.0 and 1.1 Basics 1 February 4th, 2005 09:35 AM
IIS version andris2000 Classic ASP Components 1 April 5th, 2004 10:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.