After installing starter site, when I open the application in the browser, I received an error – “Unrecognized configuration setting ‘mailSettings’.
If you start commenting mailSettings section in web.config, the error occurs in next section. The cause for this error is with the IIS settings. The problems may come on a machine where .NET 1.1 and .NET 2.0 are installed.
So, when starter site got installed, five virtual directories are created in IIS and all these virtual directories are using .NET 1.1 instead of 2.0. Follow these steps to enable .NET 2.0 on virtual directory.
- Open Internet Information Server (IIS) – Click start, select run. Type “Inetmgr” and press ok button.
- Right click on “StarterSite” directory and select properties.
- A dialog box appears. Click on ASP.NET tab.
- Select 2.0.50727 value from ASP.NET version drop down and press ok button.
- Repeat step 2 to step 4 for orderwebservice, catalogwebservice, profilewebservice and marketingwebservice.
If you like this post, please click on our sponsor advertisement.
