|
-
Sep 26th, 2005, 12:54 PM
#1
Thread Starter
Lively Member
[resolved] deploying a project on the web
hi all
i have a general question regarding deploying a project on the web...
when i copy the project files onto the web, and place them in the root, the application works fine... but if i place the files into a subfolder, for example, www.somesite.com/subfolder/login.aspx instead of www.somesite.com/login.aspx, i get an error...
but i don't want to have 50 files clogging the root and want to organize things a bit, so how do i get this work?
thanks all
here's the error message (error is on line 31):
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 29: by Microsoft that offers a single logon and core profile services for member sites.
Line 30: -->
Line 31: <authentication mode="Forms">
Line 32: <forms name="ATFDS" loginUrl="login.aspx" timeout="60" protection="All" path="/"/>
Line 33: </authentication>
Last edited by tito_puente41; Sep 26th, 2005 at 03:07 PM.
-
Sep 26th, 2005, 01:22 PM
#2
Re: deploying a project on the web
you need to make a virtual directory for your asp.net app, and then create an application in IIS for it.
-
Sep 26th, 2005, 01:27 PM
#3
Thread Starter
Lively Member
Re: deploying a project on the web
hey, thanks for the reply!
how do i do that?
-
Sep 26th, 2005, 01:32 PM
#4
Re: deploying a project on the web
in IIS, make a virtual directory and put your asp.net app in this virtual directory. Then go into the properties of the virtual directory, and you should see a "create application" button in the properties, just click that and you should be good to go.
-
Sep 26th, 2005, 01:49 PM
#5
Thread Starter
Lively Member
Re: deploying a project on the web
great!
it works
thank you
-
Sep 26th, 2005, 01:55 PM
#6
Re: deploying a project on the web
no problem. I'm going to move this to the ASP.NET forum.
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
|