Wrox Programmer Forums
|
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 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 February 18th, 2008, 07:56 PM
Registered User
 
Join Date: Feb 2008
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

 
Old February 18th, 2008, 11:11 PM
Wrox Author
 
Join Date: Sep 2006
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
 
Old March 11th, 2008, 05:42 PM
Registered User
 
Join Date: Oct 2006
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






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 07: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





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