473,382 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Error Loading Web Project

I am getting the following error when I try to load a project in VS.net:
"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".

It is a solution that contains multiple projects. All the Class libraries
load, but the web projects do not load. I sometimes swicth my local server
back and forth between default web sites and web roots. Would that tbe the
problem? I also tried deleting my VSWebCache.

Thank you
Nov 19 '05 #1
9 1178
Try to run aspnet_regiis -i in windows\microsoft.net\framework\<version>
Nov 19 '05 #2
Hi,
i tried that before..did not help I tried reinstallign VS.net, and still
get the same problem. I can create new web projects, but cannot open
existing ones..is it something to do with IIS? I have been trying all
avenues...
Thanks

"Sonali" wrote:
I am getting the following error when I try to load a project in VS.net:
"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".

It is a solution that contains multiple projects. All the Class libraries
load, but the web projects do not load. I sometimes swicth my local server
back and forth between default web sites and web roots. Would that tbe the
problem? I also tried deleting my VSWebCache.

Thank you

Nov 19 '05 #3
try creating a new solution and add all the projects to the solution and
build the soution. That should work fine.
Nov 19 '05 #4
Yes, that is precisely my problem. I do not want to have to do that each
time I switch solutions. I want to be able to load existing web projects,
not create duplicate ones each time I switch from one solution to another.

"latha vallinayagam" wrote:
try creating a new solution and add all the projects to the solution and
build the soution. That should work fine.

Nov 19 '05 #5
that would be a one time creation. You can use that solution when working on
that application. This doesnt happen to all the application. Just for some
one's with multiple project involved.

"Sonali" wrote:
Yes, that is precisely my problem. I do not want to have to do that each
time I switch solutions. I want to be able to load existing web projects,
not create duplicate ones each time I switch from one solution to another.

"latha vallinayagam" wrote:
try creating a new solution and add all the projects to the solution and
build the soution. That should work fine.

Nov 19 '05 #6
Hi,
Yes, my problem is that if close the solution for any reason, whether
rebooting my computer or closing the solution, i cannot relaod web projects
into my solution. I have no probelm reloading class libraries, but web
projects just will not load. It is not an option for me to create a new web
project each time I have to close the solution or reboot my computer.

Any other ideas form anyone? i am gettign the error "Visual Studio 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 tried to reinstall Visual Studio .Net and it did not work. Also, ried
runnign aspnet_regiis.exe -i and -c, no luck. I am lost..I have tried
everything.

"latha vallinayagam" wrote:
that would be a one time creation. You can use that solution when working on
that application. This doesnt happen to all the application. Just for some
one's with multiple project involved.

"Sonali" wrote:
Yes, that is precisely my problem. I do not want to have to do that each
time I switch solutions. I want to be able to load existing web projects,
not create duplicate ones each time I switch from one solution to another.

"latha vallinayagam" wrote:
try creating a new solution and add all the projects to the solution and
build the soution. That should work fine.

Nov 19 '05 #7
I had the same problem. Web App worked one day, wouldn't open the next.

I deleted the *.sln and *.suo solution files (after saving a copy, of
course), and then double-clicked on the project file.

The project opened correctly, and VS.Net re-created the solution files.

--------------------------------------------------------------------------------------------
<a href="http://www.TekGuard.com">Free Mail Server, Anti-Spam Server &
PlugIn, Free Source, Unlimited Users/Domain</a>, www.TekGuard.com
--------------------------------------------------------------------------------------------

Nov 19 '05 #8
(Follow-up to previous post)

Also check your "WebMail.csproj.webinfo" file. Open it and check and
edit the "<Web URLPath = "http://localhost/..." /> setting.

---------------------------------------------------------------------------------------------
Toll Free Automated Attendant Follow-Me Integrated Messaging:
www.VoiceInformation.com
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Free Mail Server, Anti-Spam Server & PlugIn, Free Source, Unlimited
Users/Domain: www.TekGuard.com
---------------------------------------------------------------------------------------------

Nov 19 '05 #9
M K
That was it! I was having the same problem. Editing the webinfo file
fixed it. Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Craig Graham | last post by:
Don't know which newsgroup this is most suited to. I have a VB.NET app that has been under development for a few months. I have edited some of the Designer-generated code, to replace some...
0
by: piyushc | last post by:
Hi, I am having problem creating new project using VS.Net 2003. Whenever I am trying to create new project (any type) it shows error message "Error writing the project file. Error loading...
2
by: Gustavo L. Fabro | last post by:
Greetings. I had an user control built on Visual Studio 2003 that I used in some forms build also with Visual Studio 2003 (C++ was the language for both cases). Now I'm trying to port this to...
0
by: RK | last post by:
Hello I am using Microsoft Development Environment 2003 Version 7.1.3088 & Framework 1.1.4322 and developing Windows Forms using Visual C#. It was working fine for quite a month. Currently...
25
by: n3crius | last post by:
hi, i just got a web host with asp.net , seemed really cool. aspx with the c# or vb IN the actual main page run fine, but when i use codebehind and make another source file ( a .cs) to go with...
2
by: John | last post by:
Hi, when i completed setting my web directory as home directory in IIS and try to load project it gives me the following erorr message. My project is also connected in Visual Source Safe. ...
2
by: Rob | last post by:
I was working on a project and everything was going fine, then all of a sudden the form set as my startup object stopped loading. I tried setting some others as the startup object, and some of my...
1
by: harris_cohen | last post by:
All of a sudden I started receiving the following error when I try to load my VB.Net project: An error ocurred while loading the document. Fix the error, and then try loading the document again....
3
by: Timbo | last post by:
This is a really weird one and very odd. I have written a web site using VS2005 and .Net 2.0, all works very well when running it locally. However when I publish it to my web server (hosted by...
3
by: ravisc | last post by:
Hi, I had .Net 2005 framework installed in my system. I had uninstalled the same. Now I have been working with .Net 2003 develpment environment. when I try to debug any .Net 2003 project, it gives...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.