Intro ASP.NET 2.0--Beta 2 Code Update

Published 24 May 05 09:02 AM | despos

As many of you pointed out lately, the source code of my book Introduction to ASP.NET 2.0 doesn't work any longer (entirely) with Beta 2. This comes as no surprise as the book was written for Beta 1. While the chapters contents remain mostly valid with some well-known omissis (DataSetDataSource, image generation service, site counters, some ADO.NET 2.0 stuff, Access-based providers), the code has been updated to Beta 2.

You can download the new sample set from here.

Comments

# dion said on May 24, 2005 03:22 AM:

Good job! I really liked reading your book, by the way.

# SBC said on May 24, 2005 06:25 AM:

grazie!

also looking forward to the new 'Programming ASP.NET' book!

# Jorge Serrano Pérez said on May 24, 2005 07:14 AM:

It's a good news.

The book is great, but with the changes into Beta 2 the book was some obsolete. Now, with this upgrade is less obsolete than before and I can to continue using it.

Grazie Dino!

# Brian said on June 11, 2005 09:51 PM:

Error, please help.

Trying to view code from Chapter 3, specifically the SimpleWebPart/HeadStart.aspx page.

I get the following error:

Server Error in '/introaspnetb2' Application.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

SQLExpress database file auto-creation error:

The connection string specifies a local SQL Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:


I updated the web.config to use the required password for my SQL server instance and that did not resolve the issue. After looking at the code for these pages it appears none of them make a call to sQL Server or SQL Server Express so I'm puzzled by the error message above. Any help will be appreciated.

# TrackBack said on June 16, 2005 06:09 AM:
# TrackBack said on June 16, 2005 06:10 AM:
# Brian said on June 19, 2005 09:54 PM:

Thanks for not replying. To the other new readers of this book. I recommend downloading the original Samples then applying this update to it. This current download does not have all the samples only the updated onces.

also, if someone can reply to this, when I try to view the dynamic image samples from Ch08 I keep getting the following error:

"Theme 'SmokeAndGlass' cannot be found in the application or global theme directories."

Where do I find this REQUIRED file and why wasn't it included with the Sample install?

Leave a Comment

(required) 
(required) 
(optional)
(required)