what is the web.config file?

G

geotso

when I try to test *any* asp page of my local site e.g.
http://localhost/mysite/index.asp I get the following message:

HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related
configuration data for the page is invalid.
Error Code: 0x80070005
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:80/mysite/index.asp
Physical Path: C:\Users\katayexi\Documents\mysite\index.asp
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot read configuration file
Config File: \\?\C:\Users\katayexi\Documents\mysite\web.config

Where can I find that web.config file?
Or, is there a tutorial on how to create my own?
 
H

Huw

that sounds to me like you haven't enabled asp support for IIS (asp pages do
not use web.config files, that s for .net)
 
G

geotso

Do you see a "web.config" file in your "mysite" folder?yes.
It seems that it was self-created when I configured IIS 7 to recognize the
file name index.asp as a default document.
If not, try adding one. Here is an article on it.

http://support.microsoft.com/kb/815179
The article is for asp .NET applications. I don't know if it is identical
for me, as my site only uses asp/VBScript pages. Furthermore, I'm just a
poor windows user without any knowledge of asp/asp.NET/xml and such
things... That means that I can no longer test my pages?

IIS 6 default settings! Where did they go?!!!

I think that Microsoft, in its attempt for a secure OS, forgot the "user
friendly" meaning!
 
G

geotso

that sounds to me like you haven't enabled asp support for IIS (asp pages
do not use web.config files, that s for .net)
I'm totally lost here!
How can I enable asp support?

PS
I've also sent a reply to your account, by accident. Please ignore it!
 
H

Huw

ok, in the control panel, select the "Programs" option then choose "Turn
windows features on or off"
when the windows features dialog opens, expand the "Internet Information
Services" then expand "World Wide Web Services"

Now Expand "Application Development Features" and enable all the options you
need
 
G

geotso

Now Expand "Application Development Features" and enable all the options
All options in there are already enabled. In fact *all* IIS features are
enabled, in a try to not leave outside a critical option that I should have
it enabled!
 

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