 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

January 15th, 2009, 05:33 AM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter11 The SQL database file cannot be created in App_Data folder
In section 11.4 (Chapter 14), the first trying example.
Step 1. To create a new SQL Server database via right clicking "App_Data" and choose "Add new item". After entered the file name "PlanetWrox.mdf" and click "OK" button. A error dialog shows:
The connection to SQL server file (*.mdf) required SQL Server Express 2005 to be installed. Please confirm the related components has been installed. The component can be downloaded from http:/go.microsoft.com....
My visual studio version is 2008 Professional Simplified Chinese, the SQL server is SQL 2005 Developer Edition Simpl. Chinese.
Does anybody know how to fix this issue?
|
|

January 15th, 2009, 06:05 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi clark,
The book assumes you have a local SQL Server called (local)\SqlExpress. If you install the Developer edition, your instace is simply called (local).
Check out Appendix b for instructions on how to configure the application to support other instance names as well.
Cheers,
Imar
|
|

January 15th, 2009, 06:46 AM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I just checked the Appendix B.1.3, the TCP/IP and Named Pipes are already Enabled in Network Configuration. In other word, the sql server should be allowed for remote connections.
For what you mentioned that "configure install name", I don't know what do you mean. Could you pls explain more clearly? Thanks.
|
|

January 15th, 2009, 07:26 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Check out pages 697 and 702 and onwards which show you how to reconfigure the LocalSqlServer connection string and reconfigure the app settings.
Imar
|
|

January 15th, 2009, 08:38 AM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Imar
Check out pages 697 and 702 and onwards which show you how to reconfigure the LocalSqlServer connection string and reconfigure the app settings.
Imar
|
Faint!
I'm reading the Chinese version of your book. It only has 668 pages.
Could you please tell me the section number, like B.1.3 or something else?
|
|

January 15th, 2009, 08:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
My Chinese is a little rusty, but I think it's section B2 on page 664 and onwards in the Chinese edition .....
Imar
|
|

January 15th, 2009, 10:04 AM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
OK. Let me try to read those pages...
|
|

January 15th, 2009, 10:29 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> OK. Let me try to read those pages...
Hope your Chinese is better than mine, or it'll be pretty difficult....;-)
Imar
|
|
 |