Visual Studio.Net cannot create or open the application

Hi, I am new to asp.net ..I have vs.net 2003 installed i a machine running xp professional I am getting this problems everyime i try to run a web application made in another PC on my PC If the web application was originally made in my PC it doesnt give any problem But if it was done in some other computer iT gives the below error every time i Try to run it from my PC "Visual Studio.Net cannot create or open the application. The likeliest problem is that the required components are not installed on the local web server. Run Visual Studio.Net setup and add the web development component". I think it must be a problem with the paths.. But i dont know how to get it to work.. What modifications should be done? I did everything i know even re installed it amd even tried this..i have two OS installed in my machine windows server 2003 and XP Pro When i try to run a program which i did in xp in server 2003 same errors comes.. but if i run it in xp then it runs fine Same happens vice versa also PLease help..tell me how to solve this problem Thanks Bugzz
[1059 byte] By [Bugzzbunny] at [2008-1-12]
# 1

Do ASP.NET applications created on your PC work on your PC? If no, do the following:

go to command prompt and navigate to the .NET framework directory. It should be c:\Windows\Microsoft.NET\Framework\Vxxxxxxxxx

Run the following command line executable
aspnet_regiis.exe -i

Restart your PC.

and try to open a project you want.

If still the error persists, please paste the error message with any error code that you get.

Vipul at 2007-9-8 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 2

Take a look at your web.config file in the web project you are trying to open. Have you changed anything in it prior to closing visual studio without trying to start it first. I had the same problem but solved it by removing a faulty httpHandler tag.

I added the tag, built the solution and closed my studio before running the web app. When I wanted to reopen the solution with the web project I got the same error you described. After removing (or better correcting) the httpHandler tag everything was back to normal.

BjornB at 2007-9-8 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 3
As for me, the cause of the problem is Skype. If you don't have/use Skype, then this is not for you. But read on if you have an inquisitive mind...

Skype is a telephony/chat application.

Cause of problem :
When Skype starts-up, it stopped IIS website service OR it prevented IIS website service to startup. I don't know exactly which one. My colleague told me that it's due to Skype wanting to use port 80 which is used also by IIS website service. But sometimes Skype uses other ports. If it uses other ports, then problem would not occur as it did not "snatched" port 80 from IIS. You need IIS to be up before you open/create a web application/web serivice project in V.Studio.

Medicine :
1) close Visual Studio .Net & Skype.
2) Open up Control Panel > Administrative Tools > Internet Information Services > [expand the tree and you shall see that your website is stopped. Look for the red "stop" icon.]
3) You need to start this web site. click on the "play" button to start it.
4) Now you should be able to start your Visual Studio solution.
5) Start your Skype if you want to.
6) If you do not want this problem to recur, there is a config in Skype that lets you tell Skype not to try port 80. Uncheck that check box.
We all know that the error msg given by Visual Studio is vague and thus, not helpful. I believe there are many other causes that cause VStudio to display this SAME error msg. :(
Good Luck. :)

anonjj at 2007-9-8 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 4
delete the VSWebCache folder.

The VSWebCache folder is created automatically by Visual Studio when you open/create a web project and can be found in <root>\Documents and Settings\<user>\VSWebCache\<machinename>. Simply delete this folder and VS will recreate it when you attempt (now successfully) to open the web project.

Pedro Bernardo - Povoa Sta Iria

PedroBernardo at 2007-9-8 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...