Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 November 17th, 2005, 12:41 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Local WroxUnited - Not authorized to view page...

I have IIS running on a Windows 2000 Pro machine. The default web diretory works (I can view the pages in the default web directory). I set up the virtual directory for my Wrox United site and it appeared to go smoothly. I can see it in the tree under my default web diretory and all the files seem to be there. WHen I try going to localhost/WroxUnited, however, I get a 403 Error "You are not authorized to view this page." Does anyone have any thoughts on what I should do? Seems like it migt be a permissions problem somewhere. If it helps, I did install ASP.Net before I installed IIS. I understand from a prior post that could be a problem. I can uninstall and reinstallit if you think it will help. Thanks.

Ben

 
Old November 17th, 2005, 04:49 AM
Authorized User
 
Join Date: Dec 2003
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

The first thing to check is that anonymous access is allowed. In IIS manager select the new virtual directory and select the properties. Select the Directory Security tab and then click the Edit button for the Anonymous access section. On the window that appears tick the "Allow anonymous access" box and then OK all of the windows.

You should be able to get away without re-installing too. There is a command line tool in the framework installation directory (c:\windows\Microsoft.NET\Framework\v2.0.50727) called aspnet_regiis.exe. If you don't have any websites on the machine using ASP.NET 1.1 you can use the -i flag, otherwise use the -ir flag. If you use -i then you'll need to go back to the properties of the website in IIS manager, and select the ASP.NET tab, and switch the version from 1 to 2.

Dave

 
Old November 19th, 2005, 01:16 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, so I have made some progress but now I am getting this error with the WroxUnited Databases.

" The database cannot be opened because it is version 611. This server supports version 603 and earlier. A downgrade path is not supported."

I know what the issue is -- I am running June 2005 CTP of SQL Server and this database seems to have been made for SQL Server 2005. I can't get SQL server yet, so I'd like to keep using my CTP for now. Is there anyway to downgrade the database to version 603?

THanks.



 
Old November 20th, 2005, 08:25 AM
Authorized User
 
Join Date: Dec 2003
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm afraid not - can can upgrade the version of a database, but not go the other way. SQL Express is free and comes with VWD, so if you've installed the latest you should be OK.

Note that you have to uninstall everything to do with the beta, including all bits that get installed SQL (MSXML 6, SQL native client, etc). There is a tool to help you do this, at http://blogs.msdn.com/astebner/archi...30/413764.aspx.

Dave






Similar Threads
Thread Thread Starter Forum Replies Last Post
Un Authorized Exception ashokparchuri ASP.NET 1.0 and 1.1 Professional 1 December 8th, 2006 11:16 PM
WroxUnited and IIS - The page cannot be found derekodell BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 12 August 10th, 2006 08:48 AM
Form view control, Authorized edit only nuttylife2 ASP.NET 2.0 Professional 0 July 10th, 2006 07:57 PM
Local WroxUnited on IIS - Unrecognized config B_Rad BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 November 20th, 2005 08:18 AM
How do you save an html page on your local hd? rsalah Javascript How-To 16 January 27th, 2005 01:48 AM





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