Wrox Programmer Forums
|
BOOK: Silverlight 4 Problem - Design - Solution
This is the forum to discuss the Wrox book Silverlight 4 Problem - Design - Solution by Nick Lecrenski; ISBN: 9780470534045
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Silverlight 4 Problem - Design - Solution 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 August 27th, 2010, 10:44 AM
Authorized User
 
Join Date: Jun 2007
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default Start up Problems

Hello,

I have recently bought this book and keen to start. I have downloaded all the software as per the advice within the book. I have managed to set up a project as instructed in the first chapter and has moved onto the third chapter to create the membership services.
This is where I am getting stuck. I have managed to create a database through the SQL Server Management Studio, however I am wondering how I can link this to the project.
In the code accompanying the book, the database is in the App_data directory. How can I create the same situation in my project, i.e. create the database within the App_data and make the database available to the project?
Also when I load the project code for chapter 3 and access the database via the database explorer within the VS 2010 express I am getting the error:
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
which seems to suggest that may be I am missing something.

Does anyone have any suggestions for me to try?

Many thanks in advance

 
Old August 29th, 2010, 10:15 AM
Registered User
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default SETUP APP_DATA FOLDER

Hello,

If I was going to setup a new App_Data directory in one of my projects I would simply right click on the web project and select Add-> Add ASP.Net Folder -> App_Data.

Clicking on App_Data automatically add the proper folder into my web project.

To add data code, functions or db's I'd right click on my new App_Data folder and select Add-> New (or existing) and add whatever I needed.

I hope this helps,

Dave
 
Old August 31st, 2010, 03:29 PM
Authorized User
 
Join Date: Jun 2007
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Dave

Thanks for the suggestions. Now making progress





Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to start if also new to C# merlin89 BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 17th, 2011 05:09 AM
How to Add the 'Start Without Debugging' icon next to 'Start With Debugging' icon btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 1st, 2010 03:41 PM
how to start MunishBhatia ASP.NET 3.5 Basics 3 October 1st, 2007 01:54 PM
Where do I start - HELP !!!! simon4amiee VB Databases Basics 6 January 10th, 2007 05:15 PM
Where to start? jerush Dreamweaver (all versions) 1 August 12th, 2003 07:03 PM





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