Re: where did all the files go



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]" <pbromberg@xxxxxxxxxxxxxxxxxxx> wrote in message
news:B6465A99-0C3E-431C-A13B-E82D1D977449@xxxxxxxxxxxxxxxx
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






.



Relevant Pages

  • Re: copy folder to remote server
    ... copy folder to remote server ... copy folder to remote server ... Your search - madunix - did not match any documents. ...
    (RedHat)
  • RE: Frontpage SE Modifying NTFS permissions
    ... The web site A, B and C are under the webs ... folder to the parent folder that is the webs folder. ... | The problem was that Fronpage would change permissions on C:\Webs\c, ... they can no longer browse any sites on that server anonymously. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Windows 2003 Server / IIS / ASP.NET
    ... Applications can only run on a Web Site, or a Virtual Directory. ... Start Internet Information Services Manager on your server. ... Expand the Web Site that you are using ... A quick way to verify the type of folder in IIS, ...
    (microsoft.public.windows.server.general)
  • Re: publishing - dos and donts
    ... A web site can ... server is a service that maintains web sites in virtual directories. ... folder location, and should never be confused with the folder location, even ...
    (microsoft.public.frontpage.client)
  • I am wondering how you would handle this.....
    ... because mine did not have permissions for this folder. ... FTP it to their server with our username and password in the URL itself. ... single web site folder they had. ...
    (microsoft.public.frontpage.client)