Posts Tagged ‘mailSettings error’

After installing starter site, when I open the application in the browser, I received an error – “Unrecognized configuration setting ‘mailSettings’.

MailSetting error 

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.

  1. Open Internet Information Server (IIS) – Click start, select run. Type “Inetmgr” and press ok button.
  2. Right click on “StarterSite” directory and select properties.
  3. A dialog box appears. Click on ASP.NET tab.
  4. Select 2.0.50727 value from ASP.NET version drop down and press ok button.
    IIS Settings 
  5. Repeat step 2 to step 4 for orderwebservice, catalogwebservice, profilewebservice and marketingwebservice.

Related Articles


If you like this post, please click on our sponsor advertisement.


Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter