Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 AJAX ISBN: 978-0-470-11283-0
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 AJAX by Wallace B. McClure, Paul Glavich, Steve C. Orr, Craig Shoemaker, Steven A. Smith, Jim Zimmerman; ISBN: 9780470112830
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 AJAX ISBN: 978-0-470-11283-0 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 20th, 2008, 07:03 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Site Admin Tool SQL Problem

Hello,
I'm at page 16 of the book and when I click on Security I get the message "Cannot connect to SQL Server Database".

I run two instances of SQL Server:
  1- SQL Server 2000 Developer Edition
  2- SQL Server 2005 MSDN Standard Edition

The database aspnetdb is properly attached to the SQL Server 2005, which it's instance name is not the default name.

There is probably a config file somewhere that I can modify to enter the SQL Server 2005 instance but I cannot find it.

Any help, please?

Thanks!
Pierre
  #2 (permalink)  
Old July 29th, 2008, 01:48 PM
Registered User
 
Join Date: Jul 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is because you started the project via File->New->Project which doesn't add the App_Data folder to the project. If you create the project as File->New->Website you won't have this issue.

To add the App_Data folder click the "Show All Files" and then right-click the App_Data folder and add it to the project.

In addition, if you stay with the project, you will have issues with adding the Data Access Layer since it will not place the Roles.xsd into the App_Code folder which will cause problems with building the Roles manager. You could fix this as well, but at this point I gave up and switched to a Website instead of Project.
 


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
Web Site Admin Tool Rich57 ASP.NET 2.0 Basics 0 October 25th, 2007 04:31 AM
Web Admin Tool - Intended Use? rrflore2 ASP.NET 2.0 Basics 0 February 26th, 2007 10:34 AM
Problem loading Web Admin Tool from within VWD Insel Haber ASP.NET 2.0 Basics 5 December 13th, 2006 02:05 PM
problem in web site administration tool saurabh321 ASP.NET 2.0 Basics 0 November 21st, 2006 09:51 AM



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


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