Error while trying to run ASP.NET application
Q: When I run the application the following error has occured.
"Unable to start debugging on the web server."
In debug window the following message occured:
"Auto-attach to process '[3836] aspnet_wp.exe' on machine '<machinename>'' failed. Error code 0x8013134b."
A: This error occurs when more than one .NET framework is installed, and IIS is set to run an application developed in one framework version using the other.
Solution:
In IIS, open up your website application, right-click and select properties, and choose the "ASP.NET" tab. Change the ASP.NET version to the appropriate version required by the project.
Q: When I execute the asp.net application it gives the following error message.
"Error while trying to run project: Unable to start debugging on the web server"
A: 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
Try these steps.
1. |
Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy. |
2. |
Double-click Local Policies, and then click User Rights Assignment. |
3. |
In the right pane, double-click Impersonate a client after authentication. |
4. |
In the Local Security Policy Setting dialog box, click Add. |
5. |
In the Select Users or Group dialog box, click ASPNET, click Add, and then click OK. |
6. |
Click OK. |
Comments
- Anonymous
January 03, 2007
The comment has been removed