« Previous Next »

Thread: How to set up asp.net on IIS XP Pro

Last post 05-06-2009 10:18 PM by mbaocha. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 11-07-2008, 10:16 PM

    • joedeene
    • Not Ranked
    • Joined on 11-08-2008, 3:11 AM
    • Posts 5

    How to set up asp.net on IIS XP Pro

    Ok, I am running windows vista on my laptop, i also have an XP pro Virtual Machine with IIS set up on it. I can host regular .html sites, but how can I configure it properly to host asp.net apps. (.aspx).
  • 11-08-2008, 9:34 AM In reply to

    Re: How to set up asp.net on IIS XP Pro

    On XP machine, ensure that .NET framework is installed (whatever version that you want, e.g. .NET 2.0).

    Once you have that you will need to register asp.net with IIS

    To do that, go to C:\windows\microsoft.net\Framework\<go into folder with .net version> and Run

    aspnet_regiis.exe -i

    This will install asp.net extensions in IIS and then you can browse to aspx pages from IIS.

    HTH.

    ~ Ganesh

     

     

  • 11-08-2008, 9:48 AM In reply to

    • joedeene
    • Not Ranked
    • Joined on 11-08-2008, 3:11 AM
    • Posts 5

    Re: How to set up asp.net on IIS XP Pro

    Ok, now i'm getting an Server Unavailable, what options do i have to set in the Computer Management -> IIS -> etc. Here's the whole error i'm getting on the page. Server Application Unavailable "The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur." Can u help?
  • 11-08-2008, 1:29 PM In reply to

    Re: How to set up asp.net on IIS XP Pro

     Make sure that the application pool user has permissions on the web directory. It that does not solve the error then let us know the error logged in Event logs.

  • 11-09-2008, 3:00 PM In reply to

    • joedeene
    • Not Ranked
    • Joined on 11-08-2008, 3:11 AM
    • Posts 5

    Re: How to set up asp.net on IIS XP Pro

    How can I go about doing such? How do I change the permissions, and also how do i check for the specific error.
  • 11-10-2008, 6:44 AM In reply to

    Re: How to set up asp.net on IIS XP Pro

    Can you post the error message here?

    Also what ASP.NET version of the application that you want run? Is it ASP.NET 1.1 or 2.0?

    To find out if this is related permissions, you can run procmon tool from www.sysinternals.com
    and check for "Access denied" errors.

    HTH.

    ~ Ganesh

  • 11-10-2008, 2:56 PM In reply to

    • joedeene
    • Not Ranked
    • Joined on 11-08-2008, 3:11 AM
    • Posts 5

    Re: How to set up asp.net on IIS XP Pro

    Where do i check for the error message ? I am creating asp.net application in VWD 2008 Express but I'm setting it to use only the .net 2.0, so i guess it's ASP.NET 2.0. And, if i check the log files, under ...system32 -> Logfiles -> etc. it only shows a log file of what ip tried accessing which site...and the time...
  • 11-10-2008, 4:37 PM In reply to

    • joedeene
    • Not Ranked
    • Joined on 11-08-2008, 3:11 AM
    • Posts 5

    Re: How to set up asp.net on IIS XP Pro

    Nevermind that, I think it's because i didn't properly do the aspnet_regiis -i command, and my application was messing up, but i am getting this error now when accessing the asp.net page (.aspx) 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 2: Line 3: Line 4: Line 5: Line 6: I think it's because i am building it in visual web developer 2008 express, and then copying it into my web hosting folder... any ideas
  • 11-11-2008, 12:57 AM In reply to

    Re: How to set up asp.net on IIS XP Pro

    Check this out and may be you need to create the VD as application in IIS.

    Error message when you try run a Web application that is built on the .NET Framework: "Server Error in '/' Application"
    http://support.microsoft.com/kb/917413/en-us

    HTH.

    ~ Ganesh

  • 05-06-2009, 10:18 PM In reply to

    • mbaocha
    • Top 150 Contributor
    • Joined on 04-21-2009, 8:38 PM
    • Posts 35

    Re: How to set up asp.net on IIS XP Pro

    why not read these http://www.wikihow.com/Configure-IIS-for-Windows-XP-Pro

     

    It contains all you need as regards to setting up IIS on xp system

     

    _____________________________________________

    Cheap Affordable Web Hosting | Windows Linux PHP ASPX MYSQL Website Hosting | Best Web Design & Development Company


Page 1 of 1 (10 items)
Microsoft Communities