?
Solved

Error in web.config after changing IIS Mappings

Posted on 2007-10-10
3
Medium Priority
?
228 Views
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.
0
Comment
Question by:JamesJMcDonnell
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Sammy earned 1500 total points
ID: 20050407
Re register ASP.NET
"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i
more on aspnet_regiis.exe

http://msdn2.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx
0
 

Author Comment

by:JamesJMcDonnell
ID: 20055443
I tried the -i option and got;
Started installing asp.net (1.1.4322.0)
Finished installing asp.net (1.1.4322.0)

but after rebooting machine still get same error
0
 

Author Comment

by:JamesJMcDonnell
ID: 20056456
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.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

609 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