The problem I was experiencing was that I could not set any custom handler mappings in IIS 7 because it would add a <system.webServer> tag to the web.config of my application. This would crash my asp.net 1.1 app because it doesn't understand the tag. So there I was wanting to use the new IIS 7 and not being able to set any custom handler mappings because they would be stored in the web.config of my application.
But there is a solution to this problem! You need to add a line to your machine.config in order for asp.net to ignore the above tag.
1. Go to the machine.config file for your .net 1.1 framework (C:\Windows\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config)
2. Add the following line to it just above the </configSections> closing tag
<section name="system.webServer" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
Et voila, there you go. The best of both worlds, if you need to debug 1.1 apps anyway.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Development
c# asp.net 1.1