473,395 Members | 1,530 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,395 software developers and data experts.

Creating ASP.NET project in VS 2003

I have an old Visual Studio 2001 VB ASP.Net application; really all I have
are the folders and files from the web server.

How can I "hook" this back up to Visual Studio 2003 so I can update it?

I copied the files and folders to the C:\inetpub\wwwroot directory and
created a web application in IIS Manager. Now I can open the default page
in IE. But I could not create a project with the same name in VS.

I copied the files to the Visual Studio Projects folder and tried to open it
as a project but I got an error.

How can I access this old VB ASP.NET application in Visual Studio?

Nov 18 '05 #1
3 2246
Dave,

You should be able to directly open the original project up. Just back that
one up first. If that doesn't work, some more detail would help such as the
errors you are receiving, etc.

Thanks,
Ian Suttle
http://www.IanSuttle.com

"Dave" wrote:
I have an old Visual Studio 2001 VB ASP.Net application; really all I have
are the folders and files from the web server.

How can I "hook" this back up to Visual Studio 2003 so I can update it?

I copied the files and folders to the C:\inetpub\wwwroot directory and
created a web application in IIS Manager. Now I can open the default page
in IE. But I could not create a project with the same name in VS.

I copied the files to the Visual Studio Projects folder and tried to open it
as a project but I got an error.

How can I access this old VB ASP.NET application in Visual Studio?

Nov 18 '05 #2
Thanks Ian

To recap:
1. I took an old ASP.NET project (the files and folders) and copied them to:
C:\inetpub\wwwroot\old\myprojectname
2. I copied these same files and folders to:
C:\Documents and Settings\dave\My Documents\Visual Studio
Projects\myprojectname
3. In a browser I can view the pages on the local machine as:
http://dell9/old/myprojectname/Default.aspx
4. But I cannot load this project into Visual Studio 2003. When I go to
"Open Project" and point to the file myprojectname.vbproj and try to open, I
get the message:
The projejct you are trying to open is a web project. You need to open
it by specifying a URL path.
5.So I type in
http://dell9/old/myprojectname/myprojectname.vbproj
And I get:
You do not have permissions to open this file. Do you want to open a
read only version?
I click "yes" and the project loads and I am prompted to convert to the new
version of VS. Then, despite the fact that it said it was read only, I can
make changes in the project files. So all appears to be well.

I guess my only question is, is this the correct way to copy a .NET project
from one machine to another when you do not have direct connectivity?

IOW, if the original server is unavailable and all you have are the files to
a .NET project folder, is this the best practice for installing the project
on a new server?


"Ian Suttle" <Ia*******@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com...
Dave,

You should be able to directly open the original project up. Just back
that
one up first. If that doesn't work, some more detail would help such as
the
errors you are receiving, etc.

Thanks,
Ian Suttle
http://www.IanSuttle.com

"Dave" wrote:
I have an old Visual Studio 2001 VB ASP.Net application; really all I
have
are the folders and files from the web server.

How can I "hook" this back up to Visual Studio 2003 so I can update it?

I copied the files and folders to the C:\inetpub\wwwroot directory and
created a web application in IIS Manager. Now I can open the default
page
in IE. But I could not create a project with the same name in VS.

I copied the files to the Visual Studio Projects folder and tried to open
it
as a project but I got an error.

How can I access this old VB ASP.NET application in Visual Studio?

Nov 18 '05 #3
Hi Dave,

I think the problem is that for ASP.NET Web project, it must be hosted in
IIS's virutal dir(configured as an application) rather than put in a normal
folder (just as a winform project). As far as to vs.net 2003, the IIS is
still necessary, in VS.NET2005, there'll provide a test server (in
VS.NETIDE ) so that we don't need to reply on IIS.
Currently when we want to move a web project from one server to another.
We'd better following the following means:
1. Create a new IIS virutal directory and configure it as "Application"
(properites in IIS management console).

2. Copy all the project's files to that new created vritual dir on the new
server.

3. Each asp.net web project will contains a webinfo file.
ProjectName.csproj.webinfo, you can use notepad to open it and there'll
contains the web project's url info such as :
<VisualStudioUNCWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1.csproj" />
</VisualStudioUNCWeb>

be sure to modify it to the correct value on your new server . Then you can
click the project file (*.csproj or *.vbproj ) to let the new VS.NET ide to
open it and convert it.

Also, here are some kb articles discussing on the similiar problem:

#HOW TO: Move Your Visual Studio .NET Web Project to Another Computer
http://support.microsoft.com/default...b;en-us;326495

#HOW TO: Deploy an ASP.NET Web Application Using the Copy Project Feature
in Visual Studio .NET
http://support.microsoft.com/default...b;en-us;326356

Hope also helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #4

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

Similar topics

2
by: MyaTiX | last post by:
Hi Can someone tell me if it is at all possible to create a web application using Microsoft Project. I want to create a web application that provides users with the possibility to view the gant...
1
by: GaryDotNet | last post by:
Hi, I am trying to go thru the Dist. App. walk through and cannot create the project. Due to company restrictions, I cannot install IIS on my machine. I downloaded and installed Cassini to...
1
by: GAVO-UK | last post by:
Hi - Using Access 2003 I've been creating applications in access for the past few years and gotten pretty good at it, now I would like to move a bit forward and start using ms access project. ...
1
by: Najatte | last post by:
Hi, How to create an object in VB inherits from Microsoft Project 2003. I did it for Excel and it worked Dim obj as Excel.Workbook. Thx, Najatte
1
by: Brunson | last post by:
I would appreciate any help or suggestions in utilizing an Access form to input data in MS Project 2003. Basically I would like to create a form and have dates and/or durations input then have it...
0
by: Newbie19 | last post by:
I'm currently working with Microsoft Project 2003 (Project server version) and I'm trying to familiar myself with the system. Does anyone know if the files up loaded to Project are saved in the...
1
by: =?Utf-8?B?TUFSWSBEQUhM?= | last post by:
After creating a project plan we noticed the icon for it was "pink", none of the others have this and now we notice we can't do Updates or edits to the project. Does anyone have any ideas?
4
by: =?Utf-8?B?SGVyYg==?= | last post by:
Can someone point me in the direction of documentation for Office Interop? Specifically, Microsoft.Office.Interop.MSProject. Mainly what I need is a command set, programming documentation. I...
1
by: vikrant2108243 | last post by:
i wanna know some creative,easier and less time consuming ideas for creating project. i am a new user...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.