Results 1 to 6 of 6

Thread: [resolved] deploying a project on the web

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Location
    Toronto
    Posts
    64

    [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.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Location
    Toronto
    Posts
    64

    Re: deploying a project on the web

    hey, thanks for the reply!

    how do i do that?

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Location
    Toronto
    Posts
    64

    Re: deploying a project on the web

    great!

    it works

    thank you


  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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
  •  



Click Here to Expand Forum to Full Width