Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming 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 31st, 2004, 02:55 PM
Registered User
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with News Ticker Application

great book! i've learned a lot of techniques already and it just continues from chapter to chapter.

however, on chapter 6 (C# Ed.) I get this message when I run the Windows Application:

(An unhandled exception of type 'System.Net.WebException' occurred in system.web.services.dll
Additional information: The request failed with HTTP status 401: Access Denied.)

has anyone encountered this?
Old August 31st, 2004, 04:37 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

I haven't used the web service yet, but you might be seeing a conflict in the authorization setting in web.config.

Try putting the web service in a different IIS application, and give it an authentication mode of None in web.config. Also give it this in the authorization section:
  allow users="*"

A Web service can't use Forms authorization.

Old September 1st, 2004, 03:22 AM
Registered User
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

i got the idea. what i did was in IIS under Directory Security, i clicked on Anonymous Access (just to test the web service client), then run the application and it worked.

thanks a lot eric.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Separating news from the articles and add news pic Isaak BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 December 12th, 2006 11:25 AM
News Ticker dangerduck BOOK: Professional Ajax ISBN: 978-0-471-77778-6 8 April 21st, 2006 07:09 AM
news ticker functionality badgolfer Classic ASP Basics 1 October 15th, 2004 12:37 AM
news ticker badgolfer ASP.NET 1.0 and 1.1 Basics 0 October 13th, 2004 03:34 AM
News.aspx problem motor1 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 15th, 2003 10:58 PM

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