DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem running simple Web Form

  1. #1
    Mel Dodd Guest

    Problem running simple Web Form


    I am having trouble getting started with my first simple web form in visual
    studio.net. The form just has a label on it and thats all.

    When I try to run it from the development environment I get the following
    message


    MICROSOFT DEVELOMENT ENVIRONMENT

    ! (in a triagle)

    Unable to automatically attach to
    http://melcompaq/WebApplication/Webform1.aspx

    If this is the first time you have run Visual Studio after setup
    completed, log out of Windows and log back in and try the scenario
    again. If the scenario still does not work you may not have
    permissions to debug the server, make sure you are a member of the
    'Debugger Users' group on the the server and try again.


    My user is assigned to the 'Debugger Users' group in the Active Directory
    user maintenance.
    My workstation and server are the same, a stand alone machine. I have logged
    off and on as indicated but still get the error. The build seems to go fine
    except the final running of the web form in the browser.

    I have also tried completely removing and replacing Visual Studio.Net and
    the Windows component update from the January MSDN shipment to no avail.

    Any help or ideas for resolving this would be greatly appreciated.

    Thanks,

    Mel Dodd

  2. #2
    Jonny Guest

    Re: Problem running simple Web Form

    Mel

    > Unable to automatically attach to
    > http://melcompaq/WebApplication/Webform1.aspx


    Try this:

    1). Using the IIS snap in, open up the properties page for website that
    contains your project directory (normally called 'default web site').

    2). Select the Directory Security tab and press the 'anonymous access and
    authentication control' edit button (at the top)

    3). Make sure that the 'integrated windows authentication' checkbox is
    checked.

    Assuming your windows account has the debugging access stated in the error
    message you mentioned then you should now be able to run your web page.

    Jonny.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center