Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't debug a aspx page
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01020924
Message ID:
01021327
Views:
20
Rick,

Ok so I reran the 1.1 aspnet_regiis -i (do I have to run this every time the machine boots?)

Now the project opens again.

>What's the exact error?

From the webpage design window doing Debug, Start I get this error messagebox:

Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.

The web.config file looks like it's set for debug:
  <compilation 
         defaultLanguage="c#"
         debug="true"
    />
If I instead do a File, View In Browser from the asp page designer I get this:
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 44:            by Microsoft that offers a single logon and core profile services for member sites.
Line 45:     -->
Line 46:     <authentication mode="Windows" /> 
Line 47: 
Line 48: 	<!--  AUTHORIZATION 
 

Source File: c:\inetpub\wwwroot\WebApplication1\web.config    Line: 46 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
>However, for VS2003 I have had a few occasions where this happened to me as well. Make sure that your logged on user is part of Debugger Users and your Internet Explorer settings for the local machine are set to local intranet.
>
>Check this:
>http://west-wind.com/weblog/posts/1247.aspx

So far it doesn't look like a permissions error.. but who knows if that is lurking around the next corner. *g*
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform