Error in web.config after changing IIS Mappings

Posted on 2007-10-10
Last Modified: 2008-01-09
On my Pc I have both .NET 1.1 and .NET 2.0 installed. Recently after making a change to the web server I've been getting error "Section or groupname appsettings is already defined". The change I made was to add a mapping for.html extensions to :\windows\microsoft.NET\Framework\v1.1.4322 I noticed afterwards that any other mappings to aspnet_isapi.ddl are to Framework\v.2.0.50727 but I was trying to make the change for a .NET 1.1 application. I've removed the added extension and rebooted the PC.
Another thing when I was adding the mapping I got a popup "Inheritance overrides' - The following child nodes also define the value of the AspMaxDiskTemplateCacheFile property which overrides the value you have just set. Please select from the list below those nodes which should use the new value. I selected all nodes. Then I got another "Inheritance overrides' popup, this time for script messages. Again I selected all nodes.
Question by:JamesJMcDonnell
    LVL 27

    Accepted Solution

    Re register ASP.NET
    "%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i
    more on aspnet_regiis.exe

    Author Comment

    I tried the -i option and got;
    Started installing (1.1.4322.0)
    Finished installing (1.1.4322.0)

    but after rebooting machine still get same error

    Author Comment

    Thanks for your help SammyI971 but I later noticed that in IIS on the website properties in the ASP.NET tab that the ASP.NET version had been changed to 2.0.5727. Changing this back to 1.14322 corrected the problem.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity mvc - Time 37 45
    Disable & as shortcut in label 3 26
    ASP.NET MVC Create/Edit ViewModel 7 51
    Javascript - getdate 5 34
    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now