|
-
Aug 29th, 2002, 06:15 PM
#1
Thread Starter
Member
IIS/ ASP Error Help
I am getting an error that I don't know what it means...
This is from my browser when I try to go to logon.aspx (I am trying to build a simple authentication proggy)
I am new to IIS, please help
Server Error in '/' Application.
--------------------------------------------------------------------------------
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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Forms">
Line 26: <forms name=".ASPXCOOKIEDEMO" loginUrl="logon.aspx" protection="all" timeout="30" path="/">
Line 27: </forms>
Source File: c:\inetpub\wwwroot\auth\web.config Line: 25
-
Aug 30th, 2002, 08:11 AM
#2
Have you created a Virtual Directory for your app?
If you dont know what I mean, what you need to do is open IIS. Righht click on Default Web Site, choose New, then Virtual Directory. Follow the steps from there. It will ask you what directory to point to. then when you run the site, access it using your servername/virtualdirectoyname
for example
http://localhost/myvd
Perhaps you just stuck you .aspx file into just the inetpub/wwwroot directory, in which case I dont asp .net will work like that like old asp used to.
-
Aug 30th, 2002, 04:04 PM
#3
Thread Starter
Member
...
I fixed that, but now i'm getting another newbie error...
I can't even open my web service!
VS tells me
C:\DemoFormsAuth (or whatever the dir I put it in) does not correspond to localhost/demoformsauth the two must map to the same server location...
What am i doing wrong?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|