Wrox Programmer Forums
|
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
 
Old June 5th, 2012, 01:03 PM
Authorized User
 
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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.
 
Old June 5th, 2012, 04:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 6th, 2012, 07:31 AM
Authorized User
 
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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.
 
Old June 6th, 2012, 07:38 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 6th, 2012, 07:47 AM
Authorized User
 
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks..What to do if my site is like C:\Mysite and not C:\Begaspnet\Mysite
???
 
Old June 6th, 2012, 07:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 6th, 2012, 07:59 AM
Authorized User
 
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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?
 
Old June 6th, 2012, 08:05 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 6th, 2012, 08:09 AM
Authorized User
 
Join Date: Nov 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

i got that sir.Thank you very much for your time and this great book.
 
Old June 6th, 2012, 08:13 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're more than welcome....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy the database and other necessary files of your website onto a disk ftaran BOOK: Beginning ASP.NET 4 : in C# and VB 1 November 18th, 2011 05:58 AM
Copy Website bertus BOOK: Beginning ASP.NET 4 : in C# and VB 3 June 22nd, 2010 03:41 PM
copy error jgrant Excel VBA 1 March 26th, 2007 11:37 PM
Unknown Error "-1" when opening new website MzMoody BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 November 10th, 2006 01:08 PM
website error kucker6 ASP.NET 1.0 and 1.1 Basics 3 June 1st, 2006 01:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.