Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 27th, 2014, 05:18 PM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH2 p38 creating project 'site' ... project creation failed

Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)

I have been on the web and followed instructions on similar posts. I have repeated the instructions on P38 several time at different folder locations and I keep getting the same error.

"creating project 'site' ... project creation failed.

help? If a thread already exists, please give me the link. I have not found one.

thanks,

Jim
Reply With Quote
  #2 (permalink)  
Old June 27th, 2014, 05:57 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Hi Jim,

Are you storing the site on your local C drive? Can you create other projects through File | New Project? Have you tried repairing or reinstalling Visual Studio?

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!
Reply With Quote
  #3 (permalink)  
Old June 27th, 2014, 06:44 PM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH2 p38 creating project 'site' ... project creation failed

I am saving the file on my C drive in a folder I have read/write access to. I did go through the repair process. I did not try to reinstall the product yet. All of the examples were working fine up to that point in the book.

All attempts to create a new ASP.NET Empty web site failed. I have not yet tried any other choices, because I am going through the book to learn dot net.
Reply With Quote
  #4 (permalink)  
Old June 29th, 2014, 07:20 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

>> I have not yet tried any other choices, because I am going through the book to learn dot net.

Try to create a project using File | New Project. That's not used in the book but it may shed some light on what's going on.

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!
Reply With Quote
  #5 (permalink)  
Old June 29th, 2014, 06:07 PM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default cannot create project

A couple projects worked. I am guessing that this is a permissions issue, but I don't know where to start.

Thanks,

Jim
Reply With Quote
  #6 (permalink)  
Old June 29th, 2014, 06:12 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

This has always worked for me, so I am not sure either where to start.

Where do you try to save your web site?

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!
Reply With Quote
  #7 (permalink)  
Old June 29th, 2014, 11:44 PM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH2 p38 creating project 'site' ... project creation failed

I have tried at least two locations. The first is in my user folder and the second is where the book says to put them.

1. c:\Users\jbrown\d\df\d3\VS2013\BegASPNet\Site\
2. c:\BegASPNet\site\
Reply With Quote
  #8 (permalink)  
Old June 30th, 2014, 09:11 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

That should work just fine. Did you check these folders for permissions? What if you grant the Everyone account full control to your C:\BegASPNET folder?

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!
Reply With Quote
  #9 (permalink)  
Old June 30th, 2014, 09:30 AM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a corporate PC, so I cannot grant any sort of permissions.

All folders, including c:\ seem to be open to me. I can create a folder structure under c:\, so I would assume that VS2013 running as 'me' should have the same access. That is why I tried the folder under my userid.

Web sites have mentioned checking the logs, but I have not seen anything, even immediately after encountering the error. Do you know specifically where I should look?
Reply With Quote
  #10 (permalink)  
Old June 30th, 2014, 10:22 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Not sure about the logs, but this may come in handy: http://social.msdn.microsoft.com/For...?forum=vssetup assuming the same principles still apply to later versiosn.

Try running VS as an Administrator (right-click the short cut in the menu and choose Run As Administrator). You may need your network adminisrator to do this for you but that at least allows you to rule out security issues.

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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Project vs. Web Site and App_Code JLGuyant BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 September 17th, 2010 04:47 AM
Chapter 22: Introduction to Project Management... Project Program integration chrisa BOOK: Professional Application Lifecycle Management with Visual Studio 2010 1 September 15th, 2010 03:28 PM
Project creation Failed arunkhushi ASP.NET 2.0 Professional 0 May 8th, 2008 11:30 AM
ASP.NET Project Creation subramanian .NET Web Services 0 September 5th, 2003 04:48 AM



All times are GMT -4. The time now is 01:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.