Wrox Programmer Forums
| 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 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
  #1 (permalink)  
Old December 13th, 2008, 07:23 PM
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default thePhileVB Not Authorized to View

Hi I'm trying to run the code(thePhileVB 8163_code_v7) I downloaded from your website because I'm reading the ASP.NET Website Programming book. I'm using Windows 2003 Server and installed Microsoft IIS webserver, and Microsoft 2005 SQL server. I followed all the instructions in the "readme.htm" that can with the code and when I try to run the http://localhost/thephileVB I get a message "You are not authorized to view this page", also if I get passed that message I get some error messages in the application which says "access denided to polls.config".

Also I have a list of codes that I got from the thephileVB application log. Here are the codes:

Error Code: 400
Defenition: Bad Request

Message type: File
Location: E:\WINDOWS\help\iisHelp\common\400.htm


Error Code: 401 Sub Error Code: 1
Defenition:Unauthorized - Logon Failed
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\400-1.htm

Error Code: 401 Sub Error Code: 2
Defenition:Unauthorized - Logon failed due to server config
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\401-2.htm

Error Code: 401 Sub Error Code: 3
Defenition:Unauthorized - Unauthorized due to ACL on resource
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\401-3.htm

Error Code: 401 Sub Error Code: 4
Defenition:Unauthorized - Auhtorization failed by filter
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\401-4.htm

Error Code: 401 Sub Error Code: 5
Defenition:Authorization faield by ISAPI/CGI app
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\401-5.htm

Error Code: 401 Sub Error Code: 7
Defenition:Unauthorized - Denided due to URL Authorization
Message type: File
Location: E:\WINDOWS\help\iisHelp\common\401-1.htm

If anybody needs additional information, please ask. I also have taken screenshots of a my configurations in IIS and in SQL database. I would like to post them here but Im not sure how to but if you want to see I can email those screenshots. Please Help

Thank you.
  #2 (permalink)  
Old December 13th, 2008, 10:22 PM
jminatel's Avatar
Wrox Staff
Points: 17,906, Level: 58
Points: 17,906, Level: 58 Points: 17,906, Level: 58 Points: 17,906, Level: 58
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

By default, this project which was written before SQL Server 2005 is set up to connect to SQL Server 2000. You might want to take a look at this post for some discussion of analyzing the connection to the db:

ThePhile project installation

It's also possible that using the later Visual Studio 2003 and ASP.NET 1.1 instead of the original VS 2002 and ASP.NET 1.0 is causing you problems.

If you do some searches within this forum on polls.config, you'll find quite a few discussions about this that will probably help too.
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!
  #3 (permalink)  
Old December 14th, 2008, 01:23 PM
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a list of screenshots here of my configurations in IIS, and SQL server which were done according to the "readme.htm" file that came with the code. Please I would really like to make this run correctly.

Link to DL for screenshots(zip):

http://rcpt.yousendit.com/634263960/2624cce2ffaefe266746ddd3200a83c0


Similar Threads
Thread Thread Starter Forum Replies Last Post
Un Authorized Exception ashokparchuri XML 1 December 9th, 2006 10:50 AM
Form view control, Authorized edit only nuttylife2 ASP.NET 2.0 Professional 0 July 10th, 2006 07:57 PM
Local WroxUnited - Not authorized to view page... willieb BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 November 20th, 2005 08:25 AM
ThePhileVB set up problem solved ..But eureka BOOK: ASP.NET Website Programming Problem-Design-Solution 2 August 26th, 2004 06:33 AM
Error Message when try to open ThePhileVB.sln bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 3 June 11th, 2004 06:27 PM





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