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: Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages ISBN: 978-0-470-12448-2
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages by Jacob J. Sanford; ISBN: 9780470124482
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages ISBN: 978-0-470-12448-2 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 18th, 2008, 06:56 PM
Registered User
 
Join Date: Feb 2008
Location: Draper, Utah, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 6 - Problem with securityTrimmingEnabled

Hello,

I recently purchased this book and am enjoying it. I'm only on chapter 6 but I've learned a lot so far.

I am having a problem though getting the menu to work with roles following the sample code. IE is giving me a SQL Server 2005 error as soon as I set the securityTrimmingEnabled value to true for the XmlSiteMapProvider.

The error message is below:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


I'm quite sure that I've got the code written correctly (double & triple checked line by line). I'm 100% positive I don't have any code referencing any sql server. I do have SQL Express installed and SQL 2000 also but I'm hoping that doesn't make the menu code fail. I don't see why it would...

Hopefully, you've seen this problem before and I'm just missing something little. Thanks ahead of time and good job on the book!

Branden Sylvester

Reply With Quote
  #2 (permalink)  
Old February 18th, 2008, 10:11 PM
Wrox Author
 
Join Date: Sep 2006
Location: Tallahassee, FL, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to surfer5 Send a message via AIM to surfer5 Send a message via MSN to surfer5 Send a message via Yahoo to surfer5
Default

Hey Brandon-

First, thanks for buying the book! I'm glad you are finding it useful. :)

My first thought is that you stumbled across one of the (hopefully) few mistakes I made in the text, as is highlighted in the errata:

http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html

I had the section on securityTrimmingEnabled in Chapter 6 (look for the errata items from 9/27). Look over what I corrected and see if that works.

Honestly, I haven't seen that error before but see if the errata text helps fix your problem. If it doesn't, can you post the relevant code? I am sure we can figure it out.

-Jacob

01000111
01000101
01000101
01001011
Reply With Quote
  #3 (permalink)  
Old March 11th, 2008, 05:42 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've received that error when for whatever reason, SQL Server wasn't running.

YMMV.

Good luck,
Pel

Reply With Quote
Reply


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 2 problem jnbutler BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 1 June 1st, 2007 08:54 PM
securityTrimmingEnabled brettemiller BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 March 22nd, 2007 07:38 AM
Chapter 2 problem stzd8 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 November 6th, 2006 06:08 PM
Chapter 6 Problem Dennis Mollet BOOK: Beginning VB.NET Databases 1 August 15th, 2005 01:56 PM
problem in chapter 4 gpauta JSP Basics 3 May 11th, 2004 06:31 AM



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


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