Link to home
Start Free TrialLog in
Avatar of domyalex
domyalex

asked on

Unable to start debugging on the web server

Hi to all,
I'm trying to develop my first ASP.Net app (Using Vb.Net for this); however, when I try to run it I get the infamous

"Error while trying to run proyect: Unable to start debugging on the web server. The registry key cannot be read.
Wold you like to disable future attemps to debug ASP.Net pages for this proyect?"

I read a lot of pages and articles, but I couldn't find any that addressed my exact error.
What should I do/check?

Best regards

Alejandro
Avatar of AerosSaga
AerosSaga

try this first if you have not already issue it from the command prompt:

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -i

Regards,

Aeros

What objects are you using in your asp application?

Are you debugging locally or from a remote server?

<quote>
Wold you like to disable future attemps to debug ASP.Net pages for this proyect?
</quote>

What does it suggest after this line?
Make sure your solution is in Debug configuration and not in Release configuration.

Try attaching to the process (from the Tools menu) aspnet_wp.exe (check the view system processes) and then running your application from the web browser instead of by running debug mode.
Avatar of domyalex

ASKER

AerosSaga: yeah, I alredy used aspnet_regiis, but it didn't made a difference

gspronych: I have a very simple web form, displaying 2 labels,  3 textboxes and a button. It doesn't say anythink after the last line

shovavnik:Ah! I can now debug attaching aspnet_wp.exe and running the page from a browser. However, I understand that VS.Net should be able to automatically launch the web browser when I Run the proyect...
hmm that means it has something to do with you localhost IIS setup.
Are you running it in debug mode by pressing F5?  Or are you right-clicking on your page in the Solution Explorer and then clinking View In Browser?

Have you set a start page and a default project before pressing F5?


I'm not sure what the "The registry key cannot be read" part is about.  What version of VS.NET are you running? Which Windows?  What version of the .NET Framework?
Yes, I'm in Debug mode and I'm pressing F5.
In the proyect properties, "Start Action" is set to "Start Proyect" and the Page is  my .aspx file.

I'm running the Enterprise Edition, Net framework version is v1.0.3705, Windows 2000 SP4.
http://www.dotnet247.com/247reference/msgs/30/150923.aspx

you should really consider updating your framework version.
ASKER CERTIFIED SOLUTION
Avatar of shovavnik
shovavnik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well, yeah, even if a little cumbersome, I can at least debug somehow...thx!