ASP 2.0's Built-In Web Server

Last post 08-14-2007 1:01 PM by xyz789. 5 replies.

Sort Posts:

  • ASP 2.0's Built-In Web Server

    08-13-2007, 3:26 PM
    • Loading...
    • xyz789
    • Joined on 01-29-2007, 12:43 PM
    • Posts 105

    Is it possible to configure the built-in web server in ASP 2.0, or look at the settings.

    The reason why is that we have an application that was created as a website in Visual 2005, and we are now having issues with it in system testing. 

    In unit testing we were using the built-in web server that worked perfectly.

    When we moved the application to the test server within wwwroot and IIS, it doesn't allow some of the functionality to work.

    I don't know much about the built-in web server, or if you can get access to it. I just know the application was working really well, but now it appears to be something denying it access even though we have all of the proper authentication set in IIS 6.0. We can see the data, but cannot edit or insert records. Plus this application is dealing with the Active Directory and not MS-SQL.

     This post might be a little hard to answer because you might need more information on how we configured iis, or the server, but just assume we have this right; so would the built-in web server be an issue?

    Thanks,

    xyz789

     

     

  • Re: ASP 2.0's Built-In Web Server

    08-13-2007, 3:51 PM

    ASP.NET doesn't have a built in server, but Visual Studio 2005 does have a development server.  The two major differences between it and IIS are that the dev server will only allow connectionsfrom the local system, and it runs in the context of the logged in user while IIS runs under the anonymous user account or the ASP.NET process account, or the logged in user if you authenticate and impersonate.

    You are probably running into a situation where you were logged into the dev server as an administrator, which had access to AD, and IIS runs as the ASP.NET process account, which does not.  You need to provide that access.

    Jeff

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
  • Re: ASP 2.0's Built-In Web Server

    08-13-2007, 4:50 PM
    • Loading...
    • xyz789
    • Joined on 01-29-2007, 12:43 PM
    • Posts 105

    Thank you for the speedy response Jeff, but what do you mean by the ASP.NET process account? I am sorry there is just some stuff I still don't know yet. So far we diabled anonymous access within iis, and we have the authenticate and impersonate set within the web config file.

    When you refer to ASP.NET process account, does it have anything to do with application pools in iis?

     

    Thanks,

    xyz789

  • Re: ASP 2.0's Built-In Web Server

    08-13-2007, 5:41 PM
    Answer

    The process account will be what the application pool runs under.  The default in IIS6 is NETWORK SERVICE, and it's a restricted account with very low permissions.

    Jeff

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
  • Re: ASP 2.0's Built-In Web Server

    08-13-2007, 8:31 PM
    Answer
    • Loading...
    • xyz789
    • Joined on 01-29-2007, 12:43 PM
    • Posts 105

    Thanks, I will try that and see what happens.

    xyz789

  • Re: ASP 2.0's Built-In Web Server

    08-14-2007, 1:01 PM
    Answer
    • Loading...
    • xyz789
    • Joined on 01-29-2007, 12:43 PM
    • Posts 105

    Hey Jeff,

    If possible, how do you set admin rights to the AD through IIS 5.1. I only see three application pools, Low, Medium, and High. In IIS 6.0 you are able to go to the application pool and select one to edit through its identity tab, but like you pointed out there is Network Services, Local Service, and Local System. So what properties or settings do I need to configure to help me troubleshoot this issue.

    Do you know of a site I can go to that would help me know more about these settings?

    Plus one more question...

    So there is no way to configure visual studio development server?

     

    Thanks,

    xyz789

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter