Solved

IIS Configuration Error

Posted on 2013-11-06
5
295 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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