I'm trying to copy an asp.net project onto another computer in order to
work on it from there as well. Whatever way I set up the directory in IIS
the project cannot be run on the new computer (I posted a similar post
yesterday but this one should be a bit clearer as to the steps I took..)
When I copied the project directory into the wwwroot, and
then went into IIS, it showed the directory in 'Default Web Site' as a
'folder'.
I then created a virtual directory with the same name as the folder and
then the name appeared TWICE (once for virtual directory and once for
the folder)
I even tried removing the folder from wwwroot and created the virtual
directory again.
Once I copied the folder back into wwwroot, IIS still showed it
appearing twice.
That seems to have been the problem that I couldn't find a solution to
(it wouldn't run the project because of this)
When I created a new project in VS, it only showed the virtual directory
in IIS despite the folder being in wwwroot. Weird.
Any ideas why this might be happening?
Thanks.
--
fiddlewidawiddu m 9 1681
Hasn't this question already been answered for you ?
You need to distinguish between copying a website and copying a project.
You don't copy a website and treat it as if it was a project.
As far as projects are concerned, just copying the source files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\WebSites
....and copying the solution files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\Projects\x xx
....will suffice to copy a project, as long as the paths in the solution files are the same,
and as long as the virtual directory exists in the second computer.
If the virtual directory does not exist in the second computer, create it.
If the physical path is not the same ( drive and directory tree ),
then edit the solution file so it points to the right directory,
and make sure the virtual directory specified in the solution file exists.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
>
I'm trying to copy an asp.net project onto another computer in order to
work on it from there as well. Whatever way I set up the directory in IIS
the project cannot be run on the new computer (I posted a similar post
yesterday but this one should be a bit clearer as to the steps I took..)
When I copied the project directory into the wwwroot, and
then went into IIS, it showed the directory in 'Default Web Site' as a
'folder'.
I then created a virtual directory with the same name as the folder and
then the name appeared TWICE (once for virtual directory and once for
the folder)
I even tried removing the folder from wwwroot and created the virtual
directory again.
Once I copied the folder back into wwwroot, IIS still showed it
appearing twice.
That seems to have been the problem that I couldn't find a solution to
(it wouldn't run the project because of this)
When I created a new project in VS, it only showed the virtual directory
in IIS despite the folder being in wwwroot. Weird.
Any ideas why this might be happening?
Thanks.
--
fiddlewidawiddu m
On Wed, 13 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
Hasn't this question already been answered for you ?
nope :)
You need to distinguish between copying a website and copying a project.
You don't copy a website and treat it as if it was a project.
As far as projects are concerned, just copying the source files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\WebSites
...and copying the solution files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\Projects\x xx
...will suffice to copy a project, as long as the paths in the solution files are the same,
and as long as the virtual directory exists in the second computer.
right, I'm doing this in VS 2003 btw , I should have mentioned that.
If the virtual directory does not exist in the second computer, create it.
If the physical path is not the same ( drive and directory tree ),
then edit the solution file so it points to the right directory,
and make sure the virtual directory specified in the solution file exists.
right, so it doesn't matter if I create the virtual directory first and
then copy the project directory to wwwroot (as opposed to copying the
project before creating the virtual directory)?
Also.. on a side note.. why does everyone in this newsgroup top-post. Is
it now acceptable netiquette? :)
Thanks!
Peter
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/ ============== =============== ======
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
>> I'm trying to copy an asp.net project onto another computer in order to work on it from there as well. Whatever way I set up the directory in IIS the project cannot be run on the new computer (I posted a similar post yesterday but this one should be a bit clearer as to the steps I took..)
>When I copied the project directory into the wwwroot, and then went into IIS, it showed the directory in 'Default Web Site' as a 'folder'.
I then created a virtual directory with the same name as the folder and then the name appeared TWICE (once for virtual directory and once for the folder)
I even tried removing the folder from wwwroot and created the virtual directory again.
Once I copied the folder back into wwwroot, IIS still showed it appearing twice.
That seems to have been the problem that I couldn't find a solution to (it wouldn't run the project because of this)
When I created a new project in VS, it only showed the virtual directory in IIS despite the folder being in wwwroot. Weird.
Any ideas why this might be happening?
Thanks.
--
fiddlewidawidd um
--
fiddlewidawiddu m
re:
right, I'm doing this in VS 2003 btw , I should have mentioned that.
The only difference is that the file to edit is:
Projectname.csp roj.webinfo
or
Projectname.vbp roj.webinfo
And the content which you edit is :
<Web URLPath = "http://localhost/Directory.If.It .Exists/Projectname.csp roj" />
or
<Web URLPath = "http://localhost/Directory.If.It .Exists/Projectname.vbp roj" />
Once you have created the IIS application, and pointed the
physical directory to the virtual directory, double-clicking
the Solution file will open the project in VS 2003 - no problem.
re:
right, so it doesn't matter if I create the virtual directory first and
then copy the project directory to wwwroot (as opposed to copying the
project before creating the virtual directory)?
Right, it doesn't matter, as long as the path in the webinfo
file is correct before you open the project with VS 2003.
re:
Also.. on a side note.. why does everyone in this newsgroup top-post. Is
it now acceptable netiquette? :)
I never knew that top-posting was unacceptable netiquette.
It's the poster's choice whether to top or bottom post.
:)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
On Wed, 13 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
>Hasn't this question already been answered for you ?
nope :)
>You need to distinguish between copying a website and copying a project. You don't copy a website and treat it as if it was a project.
As far as projects are concerned, just copying the source files, found at : Drive:\Documen ts and Settings\Admini strator\My Documents\Visua l Studio 2005\WebSites
...and copying the solution files, found at : Drive:\Documen ts and Settings\Admini strator\My Documents\Visua l Studio 2005\Projects\x xx
...will suffice to copy a project, as long as the paths in the solution files are the same, and as long as the virtual directory exists in the second computer.
right, I'm doing this in VS 2003 btw , I should have mentioned that.
>If the virtual directory does not exist in the second computer, create it.
If the physical path is not the same ( drive and directory tree ), then edit the solution file so it points to the right directory, and make sure the virtual directory specified in the solution file exists.
right, so it doesn't matter if I create the virtual directory first and
then copy the project directory to wwwroot (as opposed to copying the
project before creating the virtual directory)?
Also.. on a side note.. why does everyone in this newsgroup top-post. Is
it now acceptable netiquette? :)
Thanks!
Peter
>>
Juan T. Llibre, asp.net MVP asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ ============= =============== ======= "Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
>>> I'm trying to copy an asp.net project onto another computer in order to work on it from there as well. Whatever way I set up the directory in IIS the project cannot be run on the new computer (I posted a similar post yesterday but this one should be a bit clearer as to the steps I took..)
>>When I copied the project directory into the wwwroot, and then went into IIS, it showed the directory in 'Default Web Site' as a 'folder'.
I then created a virtual directory with the same name as the folder and then the name appeared TWICE (once for virtual directory and once for the folder)
I even tried removing the folder from wwwroot and created the virtual directory again.
Once I copied the folder back into wwwroot, IIS still showed it appearing twice.
That seems to have been the problem that I couldn't find a solution to (it wouldn't run the project because of this)
When I created a new project in VS, it only showed the virtual directory in IIS despite the folder being in wwwroot. Weird.
Any ideas why this might be happening?
Thanks.
--
fiddlewidawid dum
--
fiddlewidawiddu m
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
>right, so it doesn't matter if I create the virtual directory first and then copy the project directory to wwwroot (as opposed to copying the project before creating the virtual directory)?
Right, it doesn't matter, as long as the path in the webinfo
file is correct before you open the project with VS 2003.
great thanks!
>Also.. on a side note.. why does everyone in this newsgroup top-post. Is it now acceptable netiquette? :)
I never knew that top-posting was unacceptable netiquette.
It's the poster's choice whether to top or bottom post.
yeah it's generally regarded as easier to read if you bottom-post (i.e.
you read the answer after reading the question, without having to scroll
down to find the original question) http://www.caliburn.nl/topposting.html
Thanks again!
--
fiddlewidawiddu m
re:
yeah it's generally regarded as easier to read if you bottom-post (i.e.
you read the answer after reading the question, without having to scroll
down to find the original question)
I find it a bit of a bother to have to skip through a whole post
before getting to the part which most interests me: the answer.
When reading replies, I generally already know the question.
;-)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
>>right, so it doesn't matter if I create the virtual directory first and then copy the project directory to wwwroot (as opposed to copying the project before creating the virtual directory)?
Right, it doesn't matter, as long as the path in the webinfo file is correct before you open the project with VS 2003.
great thanks!
>>Also.. on a side note.. why does everyone in this newsgroup top-post. Is it now acceptable netiquette? :)
I never knew that top-posting was unacceptable netiquette. It's the poster's choice whether to top or bottom post.
yeah it's generally regarded as easier to read if you bottom-post (i.e.
you read the answer after reading the question, without having to scroll
down to find the original question)
http://www.caliburn.nl/topposting.html
Thanks again!
--
fiddlewidawiddu m
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
re:
>yeah it's generally regarded as easier to read if you bottom-post (i.e. you read the answer after reading the question, without having to scroll down to find the original question)
I find it a bit of a bother to have to skip through a whole post
before getting to the part which most interests me: the answer.
When reading replies, I generally already know the question.
ah but you replied to me in a bottom post format ;)
You generally cut out the lines of text that are not relevant to the
answer thus making the post shorter
Take 2 or 3 seconds extra to do, but makes the replies a lot clearer
imho
--
fiddlewidawiddu m
re:
ah but you replied to me in a bottom post format ;)
No, I didn't.
I *quoted* the relevant part of the post and posted my reply below it, just like in this post.
The rest of the post is still quoted below, in case anybody wants some context.
That's "smart top posting" ( I always reply in that mode ).
;-)
Bottom posting is when you post your reply at the bottom of the complete post.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
>re:
>>yeah it's generally regarded as easier to read if you bottom-post (i.e. you read the answer after reading the question, without having to scroll down to find the original question)
I find it a bit of a bother to have to skip through a whole post before getting to the part which most interests me: the answer.
When reading replies, I generally already know the question.
ah but you replied to me in a bottom post format ;)
You generally cut out the lines of text that are not relevant to the
answer thus making the post shorter
Take 2 or 3 seconds extra to do, but makes the replies a lot clearer
imho
--
fiddlewidawiddu m
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
re:
>ah but you replied to me in a bottom post format ;)
No, I didn't.
I *quoted* the relevant part of the post and posted my reply below it, just like in this post.
The rest of the post is still quoted below, in case anybody wants some context.
That's "smart top posting" ( I always reply in that mode ).
;-)
Bottom posting is when you post your reply at the bottom of the complete post.
did you follow the link I posted?
Bottom posting is always 'quoting' the previous post. As it should
always be done
;-)
--
fiddlewidawiddu m
re:
Bottom posting is always 'quoting' the previous post.
Slightly inaccurate. See : http://en.wikipedia.org/wiki/Bottom_posting
' The main options are "top-posting" — replying above the original message;
"bottom-posting" — replying below; or "interleave d posting". '
I always reply using "top-posting", i.e., *replying above the original message*.
Whether you quote or not is irrelevant to the style used.
You can quote and still use either style.
The article pretty much summarizes the issues on all sides of the argument,
plus the history behind them. It's an interesting read.
Again, I only have a preference.
I'd never attempt to convince anybody to use the style I favor instead of another one.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
On Thu, 14 Dec 2006 Juan T. Llibre <no***********@ nowhere.comwrot e:
>re:
>>ah but you replied to me in a bottom post format ;)
No, I didn't. I *quoted* the relevant part of the post and posted my reply below it, just like in this post.
The rest of the post is still quoted below, in case anybody wants some context. That's "smart top posting" ( I always reply in that mode ).
;-)
Bottom posting is when you post your reply at the bottom of the complete post.
did you follow the link I posted?
Bottom posting is always 'quoting' the previous post. As it should
always be done
;-)
--
fiddlewidawiddu m
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joseph Geretz |
last post by:
Up to this point, our application has been using Windows File Sharing to
transfer files to and from our application document repository. This
approach does not lend itself toward a secure environment and so we are in
the process of imposing a WebService gateway between our application client
and the repository.
(As a starting point, the WebService won't be a richly featured application
server; business rules are still implemented in the...
|
by: vikram |
last post by:
What is the best way of transferring values from one aspx
page to another when user click a button, except
response.redirect and server.transfer.
|
by: Rani |
last post by:
hi guys I don't know if this is the right place for it but
I created 2 pages
in page one there is a text box in which the user enters his name,
in page 2 there is a the same text box.
I would like the data to be transferred automatically to the second page
how do I do that ?
thanks
|
by: ryan.d.rembaum |
last post by:
Hello,
I am trying to build a standardized login screen that several different
web application could use. What I would like is for the login screen
to detect where the user has come from. Based on this, code unique to
the site being accessed would run, along with all the code common to
user validation.
The first issue I have run into is:
Redirect does not appear to pass information that can be accessed by
|
by: http://www.visual-basic-data-mining.net/forum |
last post by:
Does anyone have any idea how to transferring data from TextBox1 in form1 to
textBox2 in form2.....
That means after i fill in any data in textBox1 and click Next button...
It will bring me to form2....and there the data that i key in form1 will
appear to form2 in textbox2
Thanks
| |
by: Murali |
last post by:
Hi Everyone,
I am writing a program to transfer a file from one
linux pc to another linux pc. I am using linux-2.4.x and pppd-2.4.2
version .
I have few queries:
How to establish a PPP Link between two systems where both are having
modem facility(56kbps) ?
|
by: JayD |
last post by:
(Not sure whether it is a general aspnet problem or a specific security
problem, hence posting it in 2 groups).
This will solve for us a number of problems. I have developed a website on my
local machine (part of a LAN) using Visual Web Developer, with ASP.NET 2.0.
Backend is a SQL Server 2000 database. All queries and webforms work
beautifully on my local machine (file system web project).
However, when I copy this website to a...
|
by: vikas chand |
last post by:
I have this project in which I have to transfer a .JPG file size(4-8 KB) through serial port to another PC using Visual C++(preferred).
You can also help is you have something in Turbo c also.
|
by: =?Utf-8?B?Z29sZGVucmF0ZQ==?= |
last post by:
Hi everyone,
I have a client who wants a solution for the following problem. I'm not sure
that its possible but I'll ask anyway.
The client has joined godaddy's reseller plan. They've provided him with a
complete working site that can be viewed here:
https://www.securepaynet.net/gdshop/rhp/hottestreseller.asp?prog_id=438541&ci=3271&
Let's call this site 'godaddy's site'
|
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,...
|
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...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |