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 2 1614
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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
|
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...
|
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...
|
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?
...
|
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...
|
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...
|
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...
|
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: 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....
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |