Wrox Programmer Forums
|
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
 
Old May 24th, 2010, 09:57 AM
Authorized User
 
Join Date: Mar 2009
Posts: 64
Thanks: 0
Thanked 1 Time in 1 Post
Default External database

Imar,

I am working on a new application that necessarily requires an external database. I have read Chapters 15 and Appendix B and am clearly missing something.

First of all I am using Visual Studio 2010 Premium for the first time. I know you have a new book on this, but I have not gotten it yet. Nonetheless, I am expecting that not much will have changed in this area. I am paying attention to details such as the machine.config file has version 4.0.0.0, which I have replaced in the application's web.config file where you speak of 2.0.0.0 in the text. Second I am using SQL Server 2005 Management Studio, the full version.

The current problem is when I attempt to login, as yet with no credentials in the database, I get the message "Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'". I see that this must have been created automatically on the locally created database, but it does not seem to be happening on the database I have setup on the external SQL Server.

Are there other things like this that I need to look for it making the switch between internal and external databases?

Thanks.
 
Old May 24th, 2010, 10:57 AM
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,

Take another look at Appendix B; page 701 and onwards specifically as they show you how to prepare your database and change your connection string (if necessary).

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 May 24th, 2010, 11:45 AM
Authorized User
 
Join Date: Mar 2009
Posts: 64
Thanks: 0
Thanked 1 Time in 1 Post
Default

Imar,

I used the technique on p. 658, "Using the database publishing wizard" and then ran the resulting script on the SQL Server and it worked perfectly.
 
Old May 24th, 2010, 12:00 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yep, good option too as it creates schema *and* data....

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
External Directories doyle matt Apache Tomcat 0 October 19th, 2004 09:13 AM
Writing to an external database scottiegirl MySQL 4 March 2nd, 2004 04:02 PM
external php?... jman11587 Beginning PHP 4 January 31st, 2004 12:54 AM





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