Solved

ASP.NET VisualStudio 2008 error

Posted on 2013-12-12
9
315 Views
Last Modified: 2013-12-28
I have a web application written in C# in Visual Studio 2008. It was an working application that I compiled and run on my local PC(windows 7).

but now I get the error:
unable to connect to the asp.net development server

When I run the application, the compilation succeeds but then it returns the error. I attached the screenshot.
error
Could you please suggest me how to fix the error? Thanks a lot.
0
Comment
Question by:toooki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 20

Expert Comment

by:TheAvenger
ID: 39715915
Right click on the project and select properties. Then go to Web and change the configuration options, i.e. change from local server to a remote and then back. Just change them as you need them, save and retry.
0
 

Author Comment

by:toooki
ID: 39715924
Thanks a lot. When I right click on the project and select properties. Then go to Web, I get the attached screen below.

error
Could you please let me know which one I change here under the "Servers" menu?
This is my PC file folder:
C:\PDPM\int_2.11\PDPMWebSln\ProductHealth\ProductHealthDashboard.aspx (which is my start page).
0
 
LVL 20

Expert Comment

by:TheAvenger
ID: 39715930
Try selecting Current page at the top and Specific port at the middle
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:toooki
ID: 39715944
Thanks but sorry I still get error.
error
0
 
LVL 20

Expert Comment

by:TheAvenger
ID: 39715950
A person reports that the web server was stuck. Have you tried restarting the machine? Or just killing the process "WebDev.WebServer40.EXE" (or similar, this one is for VS 2010)?

Another option: Replace WebDev.WebServer.exe with another exe C:\Program Files (x86)\Common Files\microsoft shared\DevServer\9.0\WebDev.WebServer.exe. Restart your machine .
0
 

Author Comment

by:toooki
ID: 39716006
Thank you. I killed the processes like WebDev.WebServer40.EXE and tried. I got the same error.

Then I restarted the PC and then run. This time I get a different error (It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. ) and I attached the screenshot. Could you please suggest what could cause the error?
error
0
 
LVL 20

Expert Comment

by:TheAvenger
ID: 39716012
Can you try to use the standard IIS instead of the development one? It is done at the same place in the properties of the project but you need to have IIS installed locally. If this one runs, then your development server is damaged and you might need to reinstall VS
0
 

Author Comment

by:toooki
ID: 39716256
Thank you. But I think I am in big problem. Now I right-click on the project and do not see the "Property" menu any more.
error
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 500 total points
ID: 39716259
You have to click on the project itself, not on a folder in it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question