Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 16th, 2006, 01:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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

  #2 (permalink)  
Old October 17th, 2006, 07:21 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
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
  #3 (permalink)  
Old October 17th, 2006, 07:37 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
  #4 (permalink)  
Old October 17th, 2006, 03:13 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:40 PM.


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