Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old August 31st, 2004, 02:55 PM
Registered User
Join Date: Aug 2004
Location: , , .
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?
  #2 (permalink)  
Old August 31st, 2004, 04:37 PM
Friend of Wrox
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
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.

  #3 (permalink)  
Old September 1st, 2004, 03:22 AM
Registered User
Join Date: Aug 2004
Location: , , .
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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

All times are GMT -4. The time now is 06:45 AM.

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