|
|
|
|
![]() ![]() |
Nov 18 2006, 11:31 AM
Post
#1
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 18-August 06 From: Fun.NiranVv.Com Member No.: 15,325 |
Hi all!!
I'm a newbie at asp.net I'm not able to run the asp .net application in my system! It will always display some debugging error even though I wont go to edit those default pages created by the application! I don't know why its generating some sort of error messages always! Today I had reinstalled my OS and tried installing Microsoft Visual Studio .NET 2003! But while trying to debug the application! But Its generating an error message like: Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project? I didn't edited any of the default pages created by the software, and was trying to test the project by simply putting a label box on that page! I was trying to create >> Visual Basic Projects >> ASP .NET web application! And while pressing F5, it always shows the same error message! Let me explain the problem fully! I had installed Windows XP Pro in my system! Then installed IIS from control panel ( by selecting those front page extensions also) Then Installed Microsoft Visual Studio .NET 2003 I didn't changed any of the settings in IIS and .NET 2003!~ I was trying to test the project by selecting create >> Visual Basic Projects >> ASP .NET web application I can create application, but the problem arises while I go to debug the application by pressing F5 button! I didn't changed any of the default files including Web.config file! Goggled some time for fixing the problem! but any of the solutions didn't worked for me! Anybody knows how to solve the problem?? Please help me! Waiting for your responses!! Niran |
|
|
|
Nov 18 2006, 02:09 PM
Post
#2
|
|
|
Premium Member Group: [HOSTED] Posts: 476 Joined: 5-November 06 Member No.: 17,016 |
So far I've only touch ASP, ASP.NET only once. When I last played with asp.net, the file wasn't edited with visual studio. It works out of box. When i tried with visual studio, it generated too many files, and i didn't like the idea, so that's it, never use visual studio for asp.net ever since.
But i've some advice. Try to nail the problem from bottom up, aka, from the most basic test Try to see if it's the problem of IIS, .Net or VS. Test html first, then asp, use a very simple file, probably just print out a string. then try asp.net. All with notepad first If those pass, then must be VS' problem. Try a project with out any UI like the above. Btw, you should know that you'll better install IIS before installing VS, so VS can configure IIS properly. I don't have IIS installed at the moment, seldom use now. Let me know if you still can't get it right. Maybe I'll it a go. |
|
|
|
Dec 2 2006, 03:27 AM
Post
#3
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 18-August 06 From: Fun.NiranVv.Com Member No.: 15,325 |
Nothing working fine friend!
I am still getting the error message as Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project? I tried reinstalling the application also! and didn't changed any thing in the default settings and default files that all are generated during creation of a new project! Googling also didnt helped me! Anybody here to help me?? |
|
|
|
Dec 2 2006, 01:14 PM
Post
#4
|
|
|
Premium Member Group: [HOSTED] Posts: 476 Joined: 5-November 06 Member No.: 17,016 |
Nothing working fine friend! Can you test running some simple codes and see if it works. Just to confirm that the basic things works. There some link here for you to refer. http://www.w3schools.com/asp/showasp.asp?filename=demo_text http://www.w3schools.com/asp/asp_examples.asp If you can confirm that the basic things actually functioning, then we can move on to more advance troubleshooting Good Luck |
|
|
|
Dec 3 2006, 01:17 PM
Post
#5
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 18-August 06 From: Fun.NiranVv.Com Member No.: 15,325 |
Can you test running some simple codes and see if it works. Just to confirm that the basic things works. There some link here for you to refer. http://www.w3schools.com/asp/showasp.asp?filename=demo_text http://www.w3schools.com/asp/asp_examples.asp If you can confirm that the basic things actually functioning, then we can move on to more advance troubleshooting Good Luck Thanks for your suggestion friend! I had tried some of the sample codes on that site! But its still displaying the same error only! But now I can notice that, If I type: http://localhost/myfilelocation.aspx, then it will display the page! But the problem arises when I try to run the Debugger by pressing F5 in the Visual Studio .NET GUI! Is there any default settings need to be changed for running the debugger? |
|
|
|
Dec 3 2006, 01:26 PM
Post
#6
|
|
|
Premium Member Group: [HOSTED] Posts: 476 Joined: 5-November 06 Member No.: 17,016 |
But now I can notice that, If I type: http://localhost/myfilelocation.aspx, then it will display the page! You meant out of maybe a few pages you've tried, only that page works? Can you upload the working page and another non working one here? And also your system software specs, like windows' version, service pack, IIS setting. I'll try to take a look in the coming week, cause right now i'm quite busy with my work. Or at least with those information, others can help also. So please be patient. Regards Faulty |
|
|
|
Dec 3 2006, 01:36 PM
Post
#7
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 18-August 06 From: Fun.NiranVv.Com Member No.: 15,325 |
You meant out of maybe a few pages you've tried, only that page works? Can you upload the working page and another non working one here? And also your system software specs, like windows' version, service pack, IIS setting. I'll try to take a look in the coming week, cause right now i'm quite busy with my work. Or at least with those information, others can help also. So please be patient. Regards Faulty I am having Windows XP Professional with Service Pack 2 Microsoft Visual Studio .NET 2003 Dot net framework 1.4 (installed as part of Microsoft Visual Studio .NET 2003 ) Dot net Framework 2.0 And I'm having Avira AntiVirŪ PersonalEdition Classic ( http://www.free-av.com/ ) Disabled Windows Firewall and and I'm using Norton Personal Firewall 2006 Anybody here to point out the problem? |
|
|
|
Dec 3 2006, 02:29 PM
Post
#8
|
|
|
Premium Member Group: [HOSTED] Posts: 476 Joined: 5-November 06 Member No.: 17,016 |
Hi Niran,
Can you upload the working page (myfilelocation.aspx) and another non working one here? We'll need that as reference point to test. Regards, Faulty |
|
|
|
Dec 17 2006, 07:58 AM
Post
#9
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 18-August 06 From: Fun.NiranVv.Com Member No.: 15,325 |
thanks faulty.lee for spending ur time to fix my issue!
It was a simple problem! hehe he! I was using my DSL modem to connect to Internet! I think, its configured as a client in LAN! ( I don't know why it is So, we need to specify the IP address, Subnet mask, Default gateway and DNS information manually! That was the problem!! So, after identifying the issue, now I can debug the ASP application without any trouble! So, Im explaining how the issue has been solved, if any one comes across the same trouble! Goto>> Control panel >> administrative tools >> computer management there you can see one IIS settings. in that IIS settings, just right click the default website and select properties! For me there was my IP address specified for DSL! ![]() so, after identifying this issue, I temporarily disabled the LAN system, that automatically displayed the default IP address as 170.0.0.1 . After selecting that default IP address, its working fine without any problem! thanks for spending your time to fix the issue! |
|
|
|
Dec 17 2006, 09:22 AM
Post
#10
|
|
|
Premium Member Group: [HOSTED] Posts: 476 Joined: 5-November 06 Member No.: 17,016 |
Hi,
Good to hear that. Glad it helps. Anyway, always try to isolate the problem one by one, then you can easily nail it down. Regards |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th September 2008 - 09:18 AM |