Solved

IIS Configuration Error

Posted on 2013-11-06
5
299 Views
Last Modified: 2013-11-06
The company I am working for is switching to new Financial application. The old application will be still accessible for limited amount of people. In order to prevent all other users to access the old application I moved the whole folder to new location. However when I tried to open application I got the following error:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 20:       </connectionStrings>
Line 21:       <system.web>
Line 22:             <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
Line 23:                   <providers>
Line 24:                         <add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>
 
Since my web developing experience between slim to none I have no idea where to go and what to do. Can somebody advise me what should I do? Thank you.
0
Comment
Question by:Burzhuin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:pateljitu
ID: 39627851
It seems like you might have web.config within the older folder as it will conflict with your IIS configuration.

Also if you want to keep both application running in parallel would suggest to create another virtual directory for older application.

Also please take a look at this article.
http://blogs.msdn.com/b/robgruen/archive/2005/09/12/464196.aspx
0
 

Author Comment

by:Burzhuin
ID: 39627981
I created Virtual directory and now it shows me Login page but I cannot login. I do not get an error but I cannot login neither.
0
 
LVL 15

Expert Comment

by:pateljitu
ID: 39627998
Confirm your values for connection string to database server.

Are you using MS-SQL as database server?
0
 

Author Comment

by:Burzhuin
ID: 39628143
Yes, I am. And the connection strings are the same in both cases.
0
 
LVL 15

Accepted Solution

by:
pateljitu earned 500 total points
ID: 39628171
1. You would need to debug your code and verify if form values are passed correctly to SQL server.

2. Provide me with code to take a look at login page.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 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