 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

June 5th, 2012, 01:03 PM
|
|
Authorized User
|
|
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Getting Error with Copy website.
Hi
I clicked on copy website and in that window i clicked on "connect" and after
making the release folder according to the book i get this error--
You cannot connect to the web site that is currently the source web site, or to any of its sub-folders.
Thanks.
|
|

June 5th, 2012, 04:16 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
The error message suggest that your target folder is the same as, or a child of the source folder on the left. Are you sure you picked the right target folder? Can you describe the steps you carried out?
Imar
|
|

June 6th, 2012, 07:31 AM
|
|
Authorized User
|
|
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi
I did everything according to the book.
First closed all the open files and choosed build>Rebuild website.The were no errors.
Then Website>Copy website and clicked the connect button and in the next dialog box i went to the file system clicked on the folder MySite (website i am working on) and made a new folder "Release" (as per the book) and after clicking on open button i get this error::
"You cannot connect to the web site that is currently the source web site, or to any of its sub-folders."
Synchronize selected files button is faded out.
Thanks.
|
|

June 6th, 2012, 07:38 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
i went to the file system clicked on the folder MySite (website i am working on) and made a new folder "Release" (as per the book)
|
That sounds like you created a Release folder as a subfolder of the site you're working on. This is not allowed, and is what the error message is trying to say. So, rather than:
C:\BegASPNET\MySite\Relase
create and assign a folder such as:
C:\BegASPNET\Relase
Release is now at the same level as MySite, and no longer a child folder.
Cheers,
Imar
|
|

June 6th, 2012, 07:47 AM
|
|
Authorized User
|
|
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Thanks..What to do if my site is like C:\Mysite and not C:\Begaspnet\Mysite
???
|
|

June 6th, 2012, 07:56 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Just choose whatever location you want, as long as it's not the source folder, or a sub folder of it. E.g.:
C:\Whatever
C:\Websites\SomeSite\Release
C:\ReleasedSites\MySite
C:\Release
would all work.
Personally, it would choose option 3 as it makes it more structured if you're releasing multiple websites on your machine.
Cheers,
Imar
|
|

June 6th, 2012, 07:59 AM
|
|
Authorized User
|
|
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Thanks.ok Can i make a new folder now and place my website folder into that??
Like instead of C:\MySite can i place MySite to C:\SomeWebsite\MySite?
|
|

June 6th, 2012, 08:05 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Isn't that clear from my previous answer?
Quote:
|
Just choose whatever location you want, as long as it's not the source folder, or a sub folder of it.
|
Imar
|
|

June 6th, 2012, 08:09 AM
|
|
Authorized User
|
|
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
i got that sir.Thank you very much for your time and this great book.
|
|

June 6th, 2012, 08:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You're more than welcome....
Imar
|
|
 |
|