473,406 Members | 2,345 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,406 software developers and data experts.

where did all the files go

AAJ
Hi all

I have a few questions about file locations with VS2005, localhost WidowsXP
and remotehost Server2003, and I wonder if anyone can help me get started

1)
If I build a web site on my local server i.e. Creat WebSite from the opening
menu, I can select my local webserver. Most of the files seem to be within
InetPub\wwwroot\website\...

however the sln file seems to be stored elsewehere C:\Documents and
Settings\username\My Documents\Visual Studio 2005\Projects - and also in
here is subfolder for a precompiled web and other stuff

So when I change a web page in VS2005 what is actually updated, and more
importantly, what do I need to back up to be able to recreate the site.
2)
If I start working on my localhost, then wanted to transfer the website so I
can develop on a test server, how do I do this? I can't see any option in
VS2005. I assume the source files are still stored in the C:\Documents and
Settings\username\My Documents\Visual Studio 2005\Projects, and it somehow
knows to use the remote server in partnership with the directory (notice I
deliberatly haven't used the term 'publishing' yet).
3) now the publishing bit!!
I have tried building a site on my local host then publishing it to the
remote server. It works but takes ages, even if I've only changed one page.
It also causes the following problem

Create a localhost project, add a crystal report and adjust the security,
set up virtual directory to crytal bits - it works fine.
create a remote project, install runtime dll's, add a crystal report and
adjust the security, set up virtual directory to crytal bits - it works
fine.

create a localhost project with crytal, get it working, PUBLISH it to the
remote server, it won't work, the report wont load.

any help or links on what goes where would be really usefull

thanks in advance

Andy

May 15 '06 #1
2 1617
You can save the solution file into the same folder as the rest of the
website if you like, under wwwroot. You can then back up the entire folder
and you should get everything.

VS2005 has a Publish Web Site option that enables you to publish to another
folder, to FTP etc. and you can choose the build parameters. If you want to
speed this up, publish to a local folder and then just FTP or copy everything
over to the target webserver.

You can also use the new Web Application Projects add-in to build apps that
behave like the original ASP.NET 1.1 apps in which case you only need to copy
the entire application folder including the /bin folder to the target machine.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"AAJ" wrote:
Hi all

I have a few questions about file locations with VS2005, localhost WidowsXP
and remotehost Server2003, and I wonder if anyone can help me get started

1)
If I build a web site on my local server i.e. Creat WebSite from the opening
menu, I can select my local webserver. Most of the files seem to be within
InetPub\wwwroot\website\...

however the sln file seems to be stored elsewehere C:\Documents and
Settings\username\My Documents\Visual Studio 2005\Projects - and also in
here is subfolder for a precompiled web and other stuff

So when I change a web page in VS2005 what is actually updated, and more
importantly, what do I need to back up to be able to recreate the site.
2)
If I start working on my localhost, then wanted to transfer the website so I
can develop on a test server, how do I do this? I can't see any option in
VS2005. I assume the source files are still stored in the C:\Documents and
Settings\username\My Documents\Visual Studio 2005\Projects, and it somehow
knows to use the remote server in partnership with the directory (notice I
deliberatly haven't used the term 'publishing' yet).
3) now the publishing bit!!
I have tried building a site on my local host then publishing it to the
remote server. It works but takes ages, even if I've only changed one page.
It also causes the following problem

Create a localhost project, add a crystal report and adjust the security,
set up virtual directory to crytal bits - it works fine.
create a remote project, install runtime dll's, add a crystal report and
adjust the security, set up virtual directory to crytal bits - it works
fine.

create a localhost project with crytal, get it working, PUBLISH it to the
remote server, it won't work, the report wont load.

any help or links on what goes where would be really usefull

thanks in advance

Andy

May 15 '06 #2
AAJ
Hi Peter

thanks for the reply.

If anyone could be so kind, just a couple of further questions on the same
topic....

1)
If I start a project on my local webserver (for development) , and then copy
the local web site folder to a remote test server and delete the local
website, how do I tell my solution file that the development website now
lives on a different server? Is there an option within VS2005 that can
change the location of the files within the solution.

2)
If I start a project on my local machine and then use 'publish' to transfer
the pages to a remote server, are the files that are copied to the remote
server exactly the same as the files on the local server, or does 'publish'
do things to the files. Pre compile and other words spring forwards

thanks again

Andy
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:B6**********************************@microsof t.com...
You can save the solution file into the same folder as the rest of the
website if you like, under wwwroot. You can then back up the entire folder
and you should get everything.

VS2005 has a Publish Web Site option that enables you to publish to
another
folder, to FTP etc. and you can choose the build parameters. If you want
to
speed this up, publish to a local folder and then just FTP or copy
everything
over to the target webserver.

You can also use the new Web Application Projects add-in to build apps
that
behave like the original ASP.NET 1.1 apps in which case you only need to
copy
the entire application folder including the /bin folder to the target
machine.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"AAJ" wrote:
Hi all

I have a few questions about file locations with VS2005, localhost
WidowsXP
and remotehost Server2003, and I wonder if anyone can help me get started

1)
If I build a web site on my local server i.e. Creat WebSite from the
opening
menu, I can select my local webserver. Most of the files seem to be
within
InetPub\wwwroot\website\...

however the sln file seems to be stored elsewehere C:\Documents and
Settings\username\My Documents\Visual Studio 2005\Projects - and also in
here is subfolder for a precompiled web and other stuff

So when I change a web page in VS2005 what is actually updated, and more
importantly, what do I need to back up to be able to recreate the site.
2)
If I start working on my localhost, then wanted to transfer the website
so I
can develop on a test server, how do I do this? I can't see any option in
VS2005. I assume the source files are still stored in the C:\Documents
and
Settings\username\My Documents\Visual Studio 2005\Projects, and it
somehow
knows to use the remote server in partnership with the directory (notice
I
deliberatly haven't used the term 'publishing' yet).
3) now the publishing bit!!
I have tried building a site on my local host then publishing it to the
remote server. It works but takes ages, even if I've only changed one
page.
It also causes the following problem

Create a localhost project, add a crystal report and adjust the security,
set up virtual directory to crytal bits - it works fine.
create a remote project, install runtime dll's, add a crystal report and
adjust the security, set up virtual directory to crytal bits - it works
fine.

create a localhost project with crytal, get it working, PUBLISH it to the
remote server, it won't work, the report wont load.

any help or links on what goes where would be really usefull

thanks in advance

Andy

May 16 '06 #3

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

Similar topics

3
by: Hal Vaughan | last post by:
My first Java project has gotten to the point where there are so many .java and .class files that I'd like to keep them separated so I can easily keep files straight. I have my /home/me directory...
15
by: Viviana Vc | last post by:
How can I programatically do the equivalent of the following: cacls "C:\Program Files\test" /T /G Everyone:f ? Thanks, Viv
10
by: MLH | last post by:
I have a database named credifree. I did it with mysql's create command. Yet, I can find no files on my linux box except for a\ directory and a gif file that have the name credifree. Why? What's...
4
by: Maellic | last post by:
Hi, I'm having real trouble locating configuration settings on an existing website. Details follow: I've recently taken over a website developed with ASP.NET. Unfortunately the original...
6
by: Peter Row | last post by:
Hi, Can someone give me a set of steps for an ASP.NET project (well actually its just a VB.NET class DLL that implements HttpHandler) that will work when moved to another developers machine? ...
10
by: vwd2005eeb | last post by:
Visual Web Developer 2005 Express Edition Beta I did Build | Build Web site, where are the DLLs? I was expecting to see maybe one dll for each Web page in a directory (maybe still "bin") under...
7
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind...
8
by: WebBuilder451 | last post by:
I have a local serve that holds my source code and i'm using vs2005 for 2.0 to build the site. I'm runingthe site off my local pc (filesystem). I built the site but can't find the dll or the bin...
2
by: jonathan184 | last post by:
Hi basically what i want this script to do is In a particular dir there are alot of files from today back to 1999 or earlier. So I am trying to have the script search this dir and sort the files...
3
by: Jorgen Bodde | last post by:
Hi All, I am trying to make a debian package. I am following the tutorial by Horst Jens (http://showmedo.com/videos/video?name=linuxJensMakingDeb&fromSeriesID=37) and it is very informative....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
0
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...
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.