Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be
the best way to set up an old project with all code from a backup hd in a new
vs.net2003 environment?
TIA
Kenneth P 8 1680
On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P
<Ke******@discussions.microsoft.com> wrote: Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the
files somewhere on your PC. You need to create the same web application
URL on your new PC. If you don't remember it, open up the .csproj.webinfo
(C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL
your project was using.
The easiest way to recreate this may be to open VS.NET and create a new
Empty Web Project application with that URL. Then close VS.NET and delete
all the files it created in the folder, replacing them with the ones you
have.
From that point on, you'll need to address any specifics of your app
(database paths, file paths that may have been absolute/hardcoded, VSS
setup, etc.)
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Hi Craig,
It helped me halfway.
Yesterday I tried to create a solution in vs.net2003 (vb). I already had a
project with that name both in IIS and vs.net, so I got a new project with
the same name but a new number(2), and today I got even number (3), and when
I tried to run it I got errors saying it couldn't find the project.
So I need a way to delete old projects from the vs.net2003 environment,
which you perhaps could help me with.
I think I can manage deleting the project from IIS.
Kenneth P
"Craig Deelsnyder" wrote: On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
Hi Craig,
Yesterday I found a way to manually completely delete a project from
vs.net2003.
I then created a new project by choosing Visual Basic Project => Empty Web
Project and naming it what URL in .vbproj.webinfo told me to name it to.
Then I started to add all folders and files manually to it by using the
Solution Explorer and add existing items.
When I try to run the app I get a dialog saying, "There are errors..." and I
continue and a server error in '/myproj' application shows up like this:
**********************************************
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'DiskoWeb.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="DiskoWeb.Global" %>
Source File: c:\inetpub\wwwroot\DiskoWeb\global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
**********************************************
The Global.asax.vb is there and although I get this error. When I try to
edit the Global.asax file the system says I can't and shows a "Global.asax.vb
[Design]" as the file name without any possibilities to edit the file. When I
edit Global.asax in Notepad I can read:
<%@ Application Codebehind="Global.asax.vb" Inherits="DiskoWeb.Global" %>
Any ideas?
TIA
Kenneth P
"Craig Deelsnyder" wrote: On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
Hi again,
Oh, I forgot to tell you that if I use Asp.Net WebMatrix everything just
goes very well, but again, I can't use code behind in webmatrix.
Another issue with webmatrix is that every instance of the swdish characters
"ÅÄÖ" disappears from the code when opening any file (created with
vs.net2002(2003)) in webmatrix!!!
Kenneth P
"Craig Deelsnyder" wrote: On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
Try this :
- Copy the Folder containing your Project to inetpub wwwroot.
- open IIS MMC and than locate ur folder and than open its properties.
- On Directory tab, click on "Create" tab and you are ready to go.
"Kenneth P" wrote: Hi again,
Oh, I forgot to tell you that if I use Asp.Net WebMatrix everything just goes very well, but again, I can't use code behind in webmatrix.
Another issue with webmatrix is that every instance of the swdish characters "ÅÄÖ" disappears from the code when opening any file (created with vs.net2002(2003)) in webmatrix!!!
Kenneth P
"Craig Deelsnyder" wrote:
On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
You wrote "Then close VS.NET and delete all the files it created in the
folder, replacing them with the ones you have."
Where can I find the folder with all the files was created?
Kenneth P
"Craig Deelsnyder" wrote: On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
Hi,
I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment?
TIA
Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
You wrote "On Directory tab, click on "Create" tab and you are ready to go"
There's no Directory Tab, no Create tab.
I use IIS5 on a W2k OS computer.
Regards,
Kenneth P
"Chinmay" wrote: Try this : - Copy the Folder containing your Project to inetpub wwwroot. - open IIS MMC and than locate ur folder and than open its properties. - On Directory tab, click on "Create" tab and you are ready to go.
"Kenneth P" wrote:
Hi again,
Oh, I forgot to tell you that if I use Asp.Net WebMatrix everything just goes very well, but again, I can't use code behind in webmatrix.
Another issue with webmatrix is that every instance of the swdish characters "ÅÄÖ" disappears from the code when opening any file (created with vs.net2002(2003)) in webmatrix!!!
Kenneth P
"Craig Deelsnyder" wrote:
On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P <Ke******@discussions.microsoft.com> wrote:
> Hi, > > I've had a hd crash (with proper data backup) and I wonder what way > would be > the best way to set up an old project with all code from a backup hd in > a new > vs.net2003 environment? > > TIA > > Kenneth P
Assuming it's not too complicated of a ASP.NET project, just copy the files somewhere on your PC. You need to create the same web application URL on your new PC. If you don't remember it, open up the .csproj.webinfo (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL your project was using.
The easiest way to recreate this may be to open VS.NET and create a new Empty Web Project application with that URL. Then close VS.NET and delete all the files it created in the folder, replacing them with the ones you have.
From that point on, you'll need to address any specifics of your app (database paths, file paths that may have been absolute/hardcoded, VSS setup, etc.)
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
- Click on Start Menu -> Run
- Type inetmgr
- It will open IIS Snap In.
- on the Left Hand Side you'll see Explorer Like Interface.
- Navigate to Web Sites -> Default Web Site -> and find the Folder having
your project files
- Right Click on that Folder and Click on properties.
- On Directory tab, click on "Create" tab and click on Ok.
"Kenneth P" wrote: You wrote "On Directory tab, click on "Create" tab and you are ready to go"
There's no Directory Tab, no Create tab.
I use IIS5 on a W2k OS computer.
Regards, Kenneth P
"Chinmay" wrote:
Try this : - Copy the Folder containing your Project to inetpub wwwroot. - open IIS MMC and than locate ur folder and than open its properties. - On Directory tab, click on "Create" tab and you are ready to go.
"Kenneth P" wrote:
Hi again,
Oh, I forgot to tell you that if I use Asp.Net WebMatrix everything just goes very well, but again, I can't use code behind in webmatrix.
Another issue with webmatrix is that every instance of the swdish characters "ÅÄÖ" disappears from the code when opening any file (created with vs.net2002(2003)) in webmatrix!!!
Kenneth P
"Craig Deelsnyder" wrote:
> On Sat, 1 Jan 2005 02:27:01 -0800, Kenneth P > <Ke******@discussions.microsoft.com> wrote: > > > Hi, > > > > I've had a hd crash (with proper data backup) and I wonder what way > > would be > > the best way to set up an old project with all code from a backup hd in > > a new > > vs.net2003 environment? > > > > TIA > > > > Kenneth P > > Assuming it's not too complicated of a ASP.NET project, just copy the > files somewhere on your PC. You need to create the same web application > URL on your new PC. If you don't remember it, open up the .csproj.webinfo > (C#) or .vbproj.webinfo (VB.NET) file in notepad and you'll see the URL > your project was using. > > The easiest way to recreate this may be to open VS.NET and create a new > Empty Web Project application with that URL. Then close VS.NET and delete > all the files it created in the folder, replacing them with the ones you > have. > > From that point on, you'll need to address any specifics of your app > (database paths, file paths that may have been absolute/hardcoded, VSS > setup, etc.) > > -- > Craig Deelsnyder > Microsoft MVP - ASP/ASP.NET > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hardy Wang |
last post by:
Hi all:
we used to have a development web server in our LAN within same domain.
Now we need to build another web development server, but that server is
inside its own domain without any trusting....
|
by: Yuriy |
last post by:
I download a project from Microsoft site (Survey Admin)
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnaspp/html/surveysample1.asp
Installed it and try to open using...
|
by: Winshent |
last post by:
I have recently upgraded my desktop from windows 2000 to XP Pro. I
backed up my project by simply copying accross the files in the
project.
I have changed the default virtual directory from...
|
by: sduncansca |
last post by:
Hi
I have an ASP.NET v1.4 application that uses form based authorization. My
authorization section of the web.config looks like
<authorization>
<deny users="?" />
<allow users="*" />...
|
by: Shane |
last post by:
This may not be the right forum, but I need to start somewhere.
I am getting a message box "Unable to Open Project 'My Project'." when
I open my project. My project opens and compiles correctly,...
|
by: Chen |
last post by:
I do not know what's wrong with my computer setting.
When I try to open a project from 'project from web'.
If I type the computer name in the textbox of the dialog box:
http://CompterA
it will...
|
by: ben |
last post by:
Hi,
I'm coding an open project.
The configuration is stored in an XML file.
Should I,
1. parse this XML file with the PHP XML parsing expat library
2. parse this XML file with an Pear...
|
by: kalaivanan |
last post by:
hi,
i have installed oracle 9i in my system.
after installing it none of my dotnet application is working.
but my web server (iis) is running properly. what could be the solution
and the problem....
|
by: jonny |
last post by:
Went from using Visual Web Develop express to Visual Studio 2005 and
getting error when trying to open project.
Error message:
"One or more projects in the solution could not be loaded for the...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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...
|
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: 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...
| |