Aspx is reading bad web.config


M

marek zegarek

Hello!

On my server I have Sharepoint portal server as default web site
I create there a web application folder with form.aspx file.
When I'm trying to run aspx, i get an error.
Page is trying to read config from x:\inetpub\wwwroot\web.config.
Correct path is x:\inetpub\wwwroot\test\web.config.

How to force on application (or IIS or whatever) to use correct config?
 
Ad

Advertisements

G

Guest

the web.config file needs to be in the root of the web app. remove the
web.config under the inetpub\wwwroot. Why is that there anyway? I have
sharepoint portal on my box and the web.config is under the sharepoint
wwwroot\sharepoint folder
and that is also my default web site on my web server.
 
Ad

Advertisements

M

marek zegarek

web.config is in root directory of web application.I cannot remove second
(from inetpub/wwwroot), because it is Sharepoint config. File is there,
because probably you install Sharepoint not on default web site
(wwwroot\sharepoint).

Anyone have any idea?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top