Wrox Programmer Forums
|
BOOK: Professional C# 2005
This is the forum to discuss the Wrox book Professional C# 2005 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones; ISBN: 9780764575341
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2005 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 18th, 2007, 06:07 PM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 26 + Chapter 27

Hello,

In chapters 26 and 27 from this book, there's a complete asp.net application, with login page, user DataBase manipulation, web.config files, ...

In Visual Studio 2005 it all works fine: the pages load and when we try to reach a forbidden folder, the server sends the login.aspx page and we have to put the user name and password, if these are right then we can go on, ...

But there's a time when we must go to the real world.

And this is my problem: when i publish the site (with 'Build', 'Publish Web Site') at first all seem ok: all the files were copied, and when i call the site with 'http://localhost' there comes my 'default.aspx' page. When i follow the link to 'Themes' there comes the 'login.aspx' page. It all seems good.
But when i enter the user name i created with respective password i receive the following error: 'Failed to update database "C:\INETPUB\WWWROOT\APP_DATA\ASPNETDB.MDF" because the database is read-only.'.

I'm using Windows Vista Business. There's something i did wrong?

Thank you,
Joaquim





Similar Threads
Thread Thread Starter Forum Replies Last Post
where are the source code for Chapter 27 ? jamesxd BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 June 20th, 2008 08:23 AM
chapter 26 code alfmeiggs BOOK: Excel 2003 VBA Programmer's Reference 0 November 3rd, 2005 05:57 PM





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