C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Common Debbuging Errors in ASP.net and its Solution


Posted Date: 08 Aug 2006    Resource Type: Errors and Solutions    Category: General
Author: DotNetGuts (DNG)Member Level: Diamond    
Rating: Points: 5



Common Debbuging Errors in ASP.net and its Solution



1) Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
When trying to run/debug my ASP.Net web app from VS.NET (2003) I get this error:
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
This was caused because I had renamed the virtual dir that the project resides in - and because of this IIS had decided to revert the dir from an application to a dir.

To resolve simply make it an app again via the IIS Management tool:
1. Within the IIS management tool, select your virtual dir.
2. Right-click and select Properties
3. In the Properties dialog box, click on the Create button.


2) The server does not support debugging of ASP.NET or ATL server applications.

If you have an XP Pro or W2K Pro machine, you may need to think about the order of installation between VS7 and IIS. If you install IIS after VS7, you will get this error. In this case, please register “aspnet_isapi.dll” with “aspnet_regiis.exe –i”.


3) Login failed for user 'SERVER\ASPNET' error

Open SQL Enterprise Manager
Locate Server
Open Security Folder => Logins
Now right-click and select “New Login…”
1) Create user with Name : ASPNET
2) Select Domain : “ServerName” to connect
3) Grant permissions to access database with “Server Roles” tab
4) Also permit database access with “Database Access” tab.




DotNet Guts


"Lets Make Programming Easy"



Logon to DotNetGuts.2ya.com




Join us @ DotNetGuts@YahooGroups.com








Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Debug Errors and solutions  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Previous Resource: Handling of Sql Server Connection Error
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use