473,748 Members | 6,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\userna me\My Documents\Visua l 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\userna me\My Documents\Visua l 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 1637
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\userna me\My Documents\Visua l 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\userna me\My Documents\Visua l 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*******@yaho o.nospammin.com > wrote in message
news:B6******** *************** ***********@mic rosoft.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\userna me\My Documents\Visua l 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\userna me\My Documents\Visua l 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
3287
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 and I want to put my .java files in /home/me/src and my class files in /home/me/bin. For now, I'm keeping the .java files in /home/me/src and, after I compile a class, I do "mv src/*class bin/" to transfer the newly generated .class files into...
15
3333
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
8983
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 the name mysql might have made a database file under? Where is it stored? Just curious. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx mlh@appserver mlh $ mysql / -u root -p
4
1577
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 developer has left the company and has left no documentation whatsoever. I've successfully managed to make a few updates to the website but I've recently hit a snag.
6
2199
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? Here are some specifics: 1) The code, project/solution files are in MS Visual Source Safe
10
2052
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 Inetpub/wwwroot/mywebsite/ Thanks.
7
2885
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 files to match the .aspx file name so VWD will tie the two together, and I'm now wondering what to do about the location of the code-behind files. Is there any set convention for where the code-behind files live? I have been putting them in the...
8
2489
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 directory. Any Ideas? -- thanks (as always) some day i''m gona pay this forum back for all the help i''m getting kes
2
1714
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 by create date of the file and put in dirs by year and the only data iw ant left in the source dir is this months only and when moving to next month i want only that month and so forth. . for e.g is the create date has a year of 2004 I want it to...
3
1879
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. However one thing my app has and his doesn't, is multiple python files which need to be executed. For example {dir}/app app.py
0
8826
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9534
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9241
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...
0
8239
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
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
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
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
2
2777
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2211
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.