Solved

IIS Configuration Error

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

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…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now