473,609 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open visual studio project in other path

ken
Dear all
If I have asp.net 2.0 web project, when i move the folder of web project
into other place, i can't open the web project, how to solve this problem?

Moverover, when i create a stor pro in sql server 2005, it can't save in
local server and to save into a file location. HOw can save in server
Jan 25 '06 #1
2 2263
ASP.NET 2.0 by default doesn't have a project file associated with it, so
that's likely why you can't open it.

You can open the SOLUTION file and change the location where it looks for
the Web directory however. You can find the Solution file by default in the
My Document\Visual Studio 2005\Projects directory. You have to change a
bunch of references though. Unless you have a bunch of custom settings in
the solution or multiple projects attached it'll likely just be easier to
Open Web in a new directory.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
"ken" <ke*@discussion s.microsoft.com > wrote in message
news:73******** *************** ***********@mic rosoft.com...
Dear all
If I have asp.net 2.0 web project, when i move the folder of web project
into other place, i can't open the web project, how to solve this problem?

Moverover, when i create a stor pro in sql server 2005, it can't save in
local server and to save into a file location. HOw can save in server

Jan 25 '06 #2
I recently ran into this problem when I accidentally started an ASP.NET
2.0 Web Services project in the wrong directory on my development
workstation. Thinking in the old VSNET 2003 mindset, I just moved the
project folder using Windows Explorer.

Realizing that the reference from the VSNET 2005 IDE Startup page would
be wrong, I drilled into the project directory via Windows Explorer
looking for the .SLN solution file. No file. Hmmm.

A few minutes of searching and I found the .SLN file in "My
Documents\Visua l Studio 2005\Projects" folder. I don't know about
anyone else, but I absolutely dislike software putting files into the
"My Documents" directory, but I digress.

To fix the problem, I simply started Visual Studio 2005 and clicked my
project under "Recent Projects" on the Start Up Page. I got the
standard error about it not being able to find the project because it
had been moved. Right click on the Solution in the Solution Explorer
window of the IDE and choose ADD...Existing Web Site. Browse to the
new location of your ASP.NET project and click OPEN. VS2005 will pull
the project in and add it to your .SLN file.

It will now look like you have two projects in your solution -- the one
you just added, and the broken one where it couldn't find the project
that was moved. Simply right click on the broken project and remove
it.

Feb 22 '06 #3

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

Similar topics

26
10846
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio compiles the same solution much faster (about 10 seconds for the first project). My home computer is only marginally faster than the one I have at the office (P4 2.53 vs. P4 2.4, same amount of RAM). On the slow machine, the CPU usage is very low,...
34
1702
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++ developer). Can someone simply clarify the basic differences. Ok, Visual Studio has C++, VB and J++ thrown in plus some extra bells and whistles (I already have some minimal experience) but are both IDE's essentially the same (including the same IDE support for creating forms, ADO.NET DataSets,...
4
5818
by: Anders Eriksson | last post by:
Hello! I'm using VC++ 7.1 and MFC. In a header file that is located in a different directory that the main project I include a header file that is located in the main project directory. The project is called SCLaser. When I right-click on the #include "SCLaserDoc.h" and select Open Document SCLaserDoc.h, it can't find the file and lists all the directories that I
3
2297
by: Kieran Kelly | last post by:
Is it possible to create a new Web Application Project using Visual Studio.Net 2003 on Windows 2003 Server but no in the Default Web Site. 1. I have created a new Web Site in IIS called WebSite2 and setting WebSite2 as the host header name. 2. I can browse to this web site using IE http://WebSite2 buy placing a an entry in my host file, 127.0.0.1 WebSite2. 3. I want to Create a new ASP.NET Web Application using Visual Studio.Net 2003 at...
4
1863
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio 2003 on them as well as the .NET Framework 1.1 I started to use .NET on the desktop to test things out...then i setup
10
3673
by: Jordan | last post by:
I would like to take my ASP.NET project to another computer, which doesn't have Visual Studio. If I modify the code there, is there a way to recompile it without Visual Studio? Thanks!
2
1147
by: mjpmsa | last post by:
What permissions are necssary to allow developers to open an ASP.Net project so that they can compile it through Visual Studio? They can do this fine on their local machines, but not on a somewhat locked down server that they are accessing through shares. I'm investigating what would be necessary to open this up to them. Hopefully it doesn't require Front Page extensions or Web Dav. Alternatively, are there any utilities like make...
8
1967
by: Will Chamberlain | last post by:
I came across a rather interesting article this morning and thought I'd share. We all know that Visual Studio is a great IDE, but I think we can all agree that it is adds a dramatic change to how we write code. I'm not posting to talk trash or start a flamewar, just wanting feedback in regards to the following article. I happen to use Visual Studio on a daily basis and am not a John Rivers alter-ego. ...
2
5171
by: Sagar | last post by:
Hi Iam unable to open my ASP.Net web project HRMS.vbproj suddenly in VS.Net 2003 I am getthing this error. Unable to open Web project '/'. The file path 'D:\company\ASP\Web' does not correspond to the URL 'http://Localhost:'. The two need to map to the same server location. HTTP Error 500: Internal Server Error The webinfo file reads
0
8509
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8188
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8374
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6034
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5502
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4002
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4059
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2502
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.