Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
30Activity
0 of .
Results for:
No results containing your search query
P. 1
ASP.Net FAQ

ASP.Net FAQ

Ratings:

5.0

(1)
|Views: 1,599|Likes:
Published by api-3704121

More info:

Published by: api-3704121 on Oct 14, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

3. Debugging and Error Handling
3.1 Why do I get Error message "Unable to Start Debugging" Error Message
When You Send Debug HTTP Request?

This problem can occur if there is some error in the web.config file. To resolve this check for the well-formedness of
this document.
For more details refer PRB: "Unable to Start Debugging" Error Message When You Send Debug HTTP Request

3.2 Why do I get the error message "Unable to start debugging on the web
server..." when I debug?

There is a possibility that there is no web.config file for the project or there is no Execute permission for the project.
If you already have a web.config file, double check it's well-formedness.
If the web.config file is missing, add one to the directory that contains the ASP.NET application. You can copy one

from the numerous samples applications available with the framework installation.
Make sure that the following section reads like this:
defaultLanguage="c#"
debug="true"
/>
On the other hand, if your project already has a Web.config file, and the above section is set as specified, follow

these steps to set the Execute Permissions property for the project folder:
1. Start Internet Services Manager, and then click the project that you are trying to debug.
2. Right-click the project, and then click Properties.
3. Click the Directory tab.
4. If None is selected in the Execute Permissions list, click Scripts only, and then click Apply

3.3 When I Debug ASP.NET Applications I get error message "Access Is Denied. Check the DCOM Configuration Settings for the Machine Debug Manager"?

You can get this error if you are user who is trying to remotely debug and you are not a member of the Debugger
1
Users group on the Microsoft Internet Information Server (IIS) server. To add the appropriate user to the Debugger
Users group, follow these steps on the Web server:
1. From the Windows Start menu, point to Programs, point to Administrative Tools, and then click Computer
Management.
2. In the left pane, click to expand the Computer Management, System Tools, and Local Users and Groups

nodes.
3. Click Groups, and then double-click Debugger Users.
4. In the Debugger Users Properties dialog box, click Add.
5. In the Select Users or Groups dialog box, select the appropriate user, and then click OK.
6. Click OK to exit the Debugger Users Properties dialog box.
7. Close the Computer Management explorer.

3.4 On Trying to Debug an application, by the F5 key I get the error: "Error
while trying to run project: Unable to start debugging on the web server.
Catastrophic failure"?

This issue occurs if the account that is used to run the ASP.NET Worker process (by default, the ASPNET user
account) is not assigned the "Impersonate a client after authentication" user right in the "Local Security Policy"
settings. This issue may occur when you install Microsoft Visual Studio .NET after you install Windows 2000 Service
Pack 4 (SP4) on the computer. In this situation, the ASPNET account is not assigned the "Impersonate a client after
authentication" user right in the "Local Security Policy" settings.To resolve it, please use the method at: To work
around the problem, manually assign Impersonate a client after authentication to the IWAM account. To do so,
follow these steps:

1. Click Start, point to Programs, point to Administrative Tools, and then click Domain Controller Security

Policy.
2. Click Security Settings.
3. Click Local Policies, and then click User Rights Assignment.
4. In the right pane, double-click Impersonate a client after authentication.

2

5. In the Security Policy Setting window, click Define these policy settings.
6. Click Add, and then click Browse.
7. In the Select Users or Groups window, select the IWAM account name, click Add, and then click OK.
8. Click OK, and then click OK again.
9. To enforce an update of computer policy, type the following command: secedit /refreshpolicy

machine_policy /enforce
10.At a command prompt, type iisreset. In case your server is a Domain Controller Refer PRB: "Catastrophic
Failure" Error Message When You Try to Debug an ASP.NET Application on Windows 2000 Domain Controller
3.5 How to configure my project for debugging ASP Code?
Access the Project properties window.
Select the Configuration Properties for debugging then in right Pane, under the debugger node select true for Enable
ASP debugging.
3.6 In Visual Studio .NET, whenever I try to debug my ASP.NET application
I'm not able to stop the debugger on my breakpoints. Why?

Your ASP.NET project is not setup for debugging.
1. Open up the project's properties window and set the "Enable ASP.NET Debugging" option.
2. Open up your web.config file and make sure the Compilation tag's debug attribute is set to true.

<compilation defaultLanguage="vb" debug="true" />
3. Make sure the account you are logged in as and the ASP.NET Worker process is in the local "Debugger
Users" group.
For more information refer :
\u2022
PRB: Visual Studio .NET Debugger Does Not Stop on Breakpoints When You Debug ASP.NET Pages
\u2022
INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET
3.7 Why do I get error message "Unable to start debugging on the web
server. The debugger is not properly installed. Run setup to install or repair
3

Activity (30)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
san_btech liked this
alexandergsam liked this
megabala1 liked this
maksud23 liked this
jassi2509 liked this
balajismith liked this
Mina6462 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->