Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IIS Configuration Error

Posted on 2013-11-06
5
Medium Priority
?
311 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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

715 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