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 > BOOK: ASP.NET 4 24-Hour Trainer
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 4 24-Hour Trainer
This is the forum to discuss the Wrox book ASP.NET 4 24-Hour Trainer by Toi B. Wright; ISBN: 978-0-470-59691-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 4 24-Hour Trainer 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
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 17th, 2011, 09:06 AM
Registered User
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 ProfileObject.aspx

Hi,

Please help. When I work through the "TRY IT" in Chapter 4, and try to view ProfileObject.aspx in browser, I always get this error:

SQLExpress database file auto-creation errorProblem is, I am running Microsoft SQL Server 2008 R2 Enterprise Version. Even when I switched to another machine with SQL Server Exprerss installed, I still get the same error.

Is there anything else I should do?

Thanks.
  #2 (permalink)  
Old January 17th, 2011, 03:28 PM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2010
Location: Dallas, TX
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

Does the Web Site Adminstration Tool (WSAT) work for you? If so, it is creating the file. Can you open the file directly from SQL Server?

Regards,


Toi B Wright
  #3 (permalink)  
Old January 18th, 2011, 08:21 PM
Registered User
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Thank you for your response.

WSAT is not creating the ASPNET.mdf file either (I presume I do that in the "Provider" tab). But I managed to create it using ASPNET_REGSQL, but it is no use since I still can't view ProjectObject.aspx in browser and still can't use WSAT to test the providers.

I am using Visual Studio 2010 by the way and installed MS SQL Server separately from VS 2010.

Regards
  #4 (permalink)  
Old February 24th, 2011, 04:48 PM
Registered User
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having the same problem. I also installed SQL Server express before I installed visual web studio 2010. I am pretty much learning web development for the first time, so I have no idea how to fix this problem. Thank you for any help in advance.
  #5 (permalink)  
Old February 24th, 2011, 05:21 PM
Registered User
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I solved the problem by following the advice found here:

http://forums.asp.net/t/1377174.aspx

Seems like magic to me to delete a directory and restart the computer, but it works.
 


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
Chapter 7 WorkflowTransition.aspx namkha BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 1 November 6th, 2009 12:49 PM
Where is the default.aspx in chapter 1? jkacher BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 February 29th, 2008 02:30 PM
Chapter 2 datacontrol.aspx frogfur BOOK: Beginning ASP.NET 1.0 1 March 19th, 2005 12:59 PM
Chapter 1. Punctual.aspx dad62896 BOOK: Beginning ASP.NET 1.0 9 January 27th, 2004 01:11 PM
Chapter 3, listpage2.aspx jhock7 BOOK: Beginning ASP.NET 1.0 3 December 9th, 2003 04:19 PM



All times are GMT -4. The time now is 09:49 AM.


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