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 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: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
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
 


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



All times are GMT -4. The time now is 12:26 AM.


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