Wiley.com
Print this page Share

Professional ASP.NET 2.0

ISBN: 978-0-7645-7610-2
Paperback
1296 pages
November 2005
Professional ASP.NET 2.0  (0764576100) cover image
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
Errata Download
The content for this title has been posted and may be accessed via http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764576100,descCd-download_code.html
2/14/06
8 Change in Code
long code listing at bottom of page, replace entire listing with:
<connectionStrings configProtectionProvider="RsaProtectedConfigurationProvider">
<EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
xmlns="http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<KeyName>Rsa Key</KeyName>
</KeyInfo>
<CipherData>
<CipherValue>
tnbdGPpmif2LOhhzS/fmzCV798XkhdRnK0IrCUrC5q
AnK8NMqHHVEVYKjIyXvlR/ns7Oofih6YzI+z
8f5Dh6HrekLS9yR0AxuSeHda/VJA7bmHdL+18
30nDK0fbrD22BvHTwpYVYNsE6jhYeGEdUBqE1
oIK9mV3nQSjzqr7GbkI=
</CipherValue>
</CipherData>
</EncryptedKey>
</KeyInfo>
<CipherData>
<CipherValue>
gnzaR6BRvj76nUO0nsajgnrLwt72qGY6Sw9
PkM77vk4YTo3816LWDbiVkUuwEpekwN/EPE
cXGLUxopKVOK97rCqCoLNOQY16jKpPBTTp8
bY3WGwVhxxGhezdV+EkWaLN8jXpaBSnGYKH
mY9l4DoWaH9mugrr2a5Y3JB42XPUKJBtrF0
VZj48Hwkb/zOD7ggWmJujiFH5xQ/FrIC76I
16QKSInJiZ8dZU
</CipherValue>
</CipherData>
</EncryptedData>
</connectionStrings>
2/6/06
10 Error in Text
Page 10 mentions that ASP.NET 2.0 uses an MDB file, when in fact it uses an MDF file. The following parenthetical note not to confuse with Access is unnecessary in this case.
05/08/2006
42 Error in text
Next to last paragraph, last line, first word:

mathrandom
should be:
mathrand
12/4/05
54 Error in code
change to be made in 3rd printing
last line of code on the page, near the end of the line:
Inherits="Default" %>

should be
Inherits="_Default" %>

change to be made for the second printing:
Inherits="Default_aspx" %>

should be:
Inherits="_Default" %>
12/9/05
3 54 Error in Table
table at top, 2nd column, last line:
.asmx.vb or .asmx.cs file

should be:
.vb or .cs file
5/12/06
55 Error in Code Block
2nd shaded code block; after 3rd line using System.Configuration; insert this additional line between 3rd and 4th:
using System.Collections;
2/6/06
3 57 Error in Table
table, first column, 3rd line:
AutoEventWireUp

should be:
AutoEventWireup
5/12/06
3 57 Error in Table
table, 2nd column, last line, last word:
False

should be:
True
5/12/06
3 59 Error in Table
top table, 2nd column, 2nd row (description of the Transaction entry):
change to read:
Specifies whether transactions are supported on the page. The settings for this attribute are Disabled, NotSupported, Supported, Required, and RequiresNew. The default setting is Disabled.
5/12/06
3 59 Error in Table
bottom table, first column, 1st line:
AutoEventWireUp

should be:
AutoEventWireup
5/12/06
3 60 Error in Table
table, 2nd column, last word of EnableTheming description (4th row):
False
should be:
True
5/12/06
3 61 Error in Table
table, first column, 1st line:
AutoEventWireUp

should be:
AutoEventWireup
5/12/06
3 61 Error in Table
table, 2nd column, last word of EnableTheming description (8th row):
False

should be:
True
5/12/06
62 Error in Code Block
large shaded code block, insert the following 2 additional lines, between current 4th and 5th lines:

<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
2/6/06
3 63 Delete line in Code Block
delete 14th line of large shaded code block:
<add namespace="System.Web.UI.Imaging" />
2/6/06
3 63 Error in Text
2nd paragrapgh, 3rd and 4th lines:
System.Data.OleDB

should be:
System.Data.OleDb
5/12/06
3 63 Error in Text
2nd paragrapgh, 3rd and 4th lines:
OLEDBConnection instead of System.Data.OleDB.OLEDBConnection

should be:
OleDbConnection instead of System.Data.OleDb.OleDbConnection
5/12/06
3 64 Error in Code
In the first code block, first line the code reads:

<%@ Register TagPrefix="MyTag" Namespace="MyName:MyNamespace"

should be:

<%@ Register TagPrefix="MyTag" Namespace="MyName.MyNamespace"
5/12/2006
3 65 Error in Table
Table:
Delete 2nd row, entry for DiskCacheable and description
5/12/2006
3 66 Errors in Text
First paragraph under @Reference heading:

2nd line, next to last word reads:
two

Should read:
a single


AND


First set of bullets:
delete first bullet
5/12/2006
3 74 Error in Code
Listing 3-13, shaded code line reads:
If Page.IsCrossPagePostBack Then

Should read:
If PreviousPage.IsCrossPagePostBack Then
5/12/2006
3 75 Errors in Code
Code listing under the C# heading first shaded code line reads:
if (Page.IsCrossPagePostBack) {

Should read:
if (PreviousPage.IsCrossPagePostBack) {


AND


Code listing under the C# heading line after the first shaded code line reads:
Textbox1

Should read:
TextBox1
5/12/2006
76 Error in Text
1st full paragraph, end of 2nd sentence (I'm not sure how to represent the little arrow character, it's not changing, just some of the text around it):

choose Add Folder->App_Code Folder.
should be
choose Add ASP.NET Folder->App_Code.
2/6/06
86 Error in Text
2nd paragraph after the figure (beginning with ASP.NET 2.0 introduces...) replace the entire paragraph, the 2 shaded code lines, and the line in between the shaded code line with. The last line of code should be a shaded code line
ASP.NET 2.0 introduces the technology a few ways to precompile your entire application with a single command that you can issue through a command line. One type of compilation is referred to as in-place precompilation. In order to precompile your entire ASP.NET application, you must use the aspnet_compiler.exe tool that now comes with ASP.NET 2.0. You navigate to the tool using the Command window. Open the Command window and navigate to C:\Windows\Microsoft.NET\Framework\v2.0.xxxxx\. When you are there, you can work with the aspnet_compiler tool. You can also get to this tool directly by pulling up the Visual Studio 2005 Command Prompt by selecting Start->All Programs->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 Command Prompt. Once you get the command prompt you would then use the aspnet_compiler.exe tool to perform an in-place precompilation using the following command:
aspnet_compiler –p "C:\Inetpub\wwwroot\WROX
2/6/06
87 Error in Text
top of page 2nd line end of paragraph:
invoke precompile.axd
should be
employ this pre-compilation method
2/6/06
87 Text Deletion
2nd full paragraph, beginning with "To precompile your application..." Delete this entire paragraph.
2/6/06
4 105 Error in Code
Single shaded code line near end of page reads:
Definition: Value;

Should read:
Property: Value;
5/12/2006
4 107 Error in Code
Shaded code block:
move the a:visited section from after the a:hover section to bevore it. That will result in the whole style tag being:

<style type="text/css">
<!--
body {
font-family: Verdana;
}

a:link {
text-decoration: none;
color: blue;
}

a:visited {
text-decoration: none;
color: blue;
}

a:hover {
text-decoration: underline;
color: red;
}

-->
</style>
5/15/2006
108 Error in Code
1st paragraph, 2nd line, last word:

<script>
should be:
<style>
12/29/05
4 110 Error in Code
First paragraph after the Looking at the HTMLControl base Class, 2nd line reads:
System.Web.UI.HtmlControls

Should read:
System.Web.UI.HtmlControls.HtmlControl
5/12/2006
4 111 Error in Code
First paragraph after the Looking at the HTMLContainerControl Class, istline:
HtmlControl

Should read:
HtmlContainerControl
5/12/2006
4 119 Error in Text
Listing 4-13, first line after C# heading:
add semicolon to end of line.
5/12/2006
124 Error in 1st code block
First code block, 8th line (not counting blank lines):

End Function
should be:
End Sub
11/11/05
123 Remove semicolon in code block
2nd shaded code block, 4th line - remove semicolon at end so it reads:

Dim _callbackResult As String = Nothing
12/4
126 Error in Code Block
Code block after the paragraph that begins "This interface requires you to...", last line of code:

End Function
should be:
End Sub
11/11/05
4 127 Error in Code
Top of page first paragraph, 3rd line reads:
SupportsXmlHTTP

Should read:
SupportsXmlHttp
5/12/2006
128 Error in Code Block
p128, first shaded listing (4-18 continued): 4th line, end:

"398px"
should be
"400px">
2/6/06
128 Error in Code Block
same listing, 5th line:

Height="22px"></asp:TextBox>
should be
</asp:TextBox>

AND

Last shaded code block on page, 4th line of code not counting blanks:
GetTemp

Should read:
getTemp
2/6/06
129 Error in First Code Block
first code block, there's a line of code missing. The first few lines should read:

using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class WSCallback : System.Web.UI.Page,
System.Web.UI.ICallbackEventHandler
{

string _callbackResult = null;

protected void Page_Load(object sender, EventArgs e)

The line that's missing in print that needs to be added in this is:
string _callbackResult = null;

and it should align with the protected line below it.
12/15/05
129 Error in URL
italic note near end of page: change URL in 2nd line to read:
http://www.xmethods.net/sd/2001/TemperatureService.wsdl
2/6/06
156 Error in Code
listing 5-14, 15th line not counting blanks:
<:title>CheckBox control</title>
should be:
<title>CheckBoxList control</title>
2/6/06
187 Add Code
large grey code block in middle of page under C# heading:
add the following line above grey block:
<%@ Page Language="C#"%>
5/18/06
188 Error in Text
first paragraph of text, first line:
FileChoices.xml

should be:
FilmChoices.xml
5/18/06
211 Delete line in Code Block
grey code block at top, next to last line:
delete this line
5/18/06
7 219 Replace Code
grey shaded code box:
replace 4th line:
Label1.Text = "Page is valid!"
with these 3 lines:
If Page.IsValid Then
Label1.Text = "Page is valid!"
End If
5/18/06
7 219 Replace Code
grey shaded code box:
replace 8th line:
<head runat="server">
with:
<head runat="server" id="Head1">
5/18/06
7 220 Replace Code
grey shaded code box at top:
replace 4th line:
Label1.Text = "Page is valid!";
with these 3 lines:
if (Page.IsValid) {
Label1.Text = "Page is valid!";
}
5/18/06
222 Typo
First sentence of the first paragraph under the "Using the InitialValue Property" heading:
RequireFieldValidator

should be:
RequiredFieldValidator
03/02/07
7 225 Replace Code
grey shaded code box:
replace 5th line:
<head runat="server">
with:
<head runat="server" id="Head1">
5/18/06
7 225 Replace Code
grey shaded code box:
replace 9th line:
<form runat="server">
with:
<form runat="server" id="Form1">
5/18/06
233 Replace Code
grey shaded code box, replace 8th line:
<head runat="server">
with:
<head id="Head1" runat="server">
5/18/06
234 Replace Code
page 234 unshaded code block at bottom of page, first line:
<script language="JavaScript">
should be:
<script type="JavaScript">
5/18/06
236 Replace Code
code listing, replace 19th line:
<head runat="server">
with:
<head id="Head1" runat="server">
5/18/06
7 243 Replace Code
listing 7-24, 2nd shaded code line:
<bgsource
should be:
<bgsound
5/18/06
7 243 Error in Text
paragraph following listing 7-24, change the 2nd setence to:
In this example, the ErrorMessage uses the <bgsound> element to place a sound on the Web form (works only with Internet Explorer).
5/18/06
7 245 Replace Code
listing 7-25, 3nd line:
<head runat="server">
should be:
<head id="Head1" runat="server">
5/18/06
276 Erron in Text
last paragraph, 2nd line: file location:
C:\Windows\Microsoft.NET\Framework\v2.0xxxxx\CONFIG\Browsers
should be
C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers
2/6/06
286 Error in Text
Page 286, listing 9-4, 4th line:

Text reads:
Textbox1

Should read:
TextBox1

(The "B" of "box" needs to be capitalized.)
07/17/2006
289 Error in Code Block
first shaded code listing 4th line (not counting blanks):
COLOR: Red;
should be
color: Red;
2/6/06
8 295 Error in Code
page 295, shaded code block at bottom of page, 1st line:
Delete: language="vb"
07/17/2006
8 295 Error in Text
page 295, first paragraph, line 3:

Text reads:
skinid

Should read:
SkinID
07/17/2006
11 341 Error in Code
page 341, next to last line:

code reads:
ControlParameter

should read:
QuerystringParameter
07/17/2006
11 347 Error in Code
page 347, code line 23:

code reads:
return new ds;

should read:
return ds;
07/17/2006
11 349 Error in Text
page 349, after heading "Configuring Data Source Control Caching" 3rd line:

text reads:
SiteMap

should read:
SiteMapDataSource
07/17/2006
11 366-7 Error in Text
Listing 11-28, the first chunk of grey shaded code (the VB code), line 4 (last line on page):

Text reads:
If (Not IsDBNull (e.Exception)) Then

should be:
If (Not IsNothing(e.Exception)) Then
07/21/2006
11 375 Error in Code
page 375, listing 11-36, 3rd line:

code reads:
FilterExpression="CustomerID='@CustomerID'"

should read:
FilterExpression="CustomerID='{0}'"
07/17/2006
395 Error in Text
under the "Using Data Adapter" heading, 2nd line:

two-day

should be

two-way
1/30/06
12 396 Error in Code
page 396, listing 12-2, 5th unshaded line after end of first shaded code section:

delete the leading space and trailing space inside the " " so it reads:
MyCommand.CommandText = "SELECT TOP 5 * FROM CUSTOMERS"
07/17/06
12 397 Error in Code
page 397, 5th unshaded line after end of first shaded code section:

delete the leading space and trailing space inside the " " so it reads:
MyCommand.CommandText = "SELECT TOP 5 * FROM CUSTOMERS";
07/17/06
12 399 Error in Code
single shaded code line in middle of page:

delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM CUSTOMERS WHERE CITY = @CITY AND CONTACTNAME = @CONTACT"
07/17/06
12 400 Error in Code
last shaded code line at bottom of page:

delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM CUSTOMERS WHERE CITY = @CITY AND CONTACTNAME = @CONTACT";
07/17/06
12 403 Error in Code
5th code line:

delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM CUSTOMERS WHERE CITY = @CITY"
07/17/06
12 404 Error in Code
13th code line:

delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM CUSTOMERS WHERE CITY = @CITY";
07/17/06
405 Error in Text
3rd paragraph, 3rd line from end:

Moving over a 100KB records can...

should be

Moving over 100,000 records can ....
1/30/06
12 410 Error in Text
last paragraph, first line:
100KB

should be:
100MB
07/17/06
12 411 Error in Code
last 2 lines:

delete the leading space on next to last line and trailing space on last line inside the " " so it reads:
ShajarCom.CommandText = "SELECT ID, First_Name, Last_Name, " & _
" 'Shajar' as Source FROM MailingList_Temp"
07/17/06
12 413 Error in Code
lines 20, 21:

delete the leading space on next to last line and trailing space on last line inside the " " so it reads:
ShajarCom.CommandText = "SELECT ID, First_Name, Last_Name, " & _
" 'Shajar' as Source FROM MailingList_Temp";
07/17/06
12 417 Error in Code
line 21 of code:

delete top 500 so it reads:
SelectCommand.CommandText = "SELECT * FROM EMPLOYEES"
07/17/06
12 417 Error in Code
line 25 of code, delete leading space inside " and change + to & so:

" UPDATE EMPLOYEES SET Address=@Address, " + _
should be:
"UPDATE EMPLOYEES SET Address=@Address, " & _
07/17/06
12 418 Error in Code
11th code line from bottom of page:

code reads:
EmpAdapter.UpdateBatchSize = 100

should be:
EmpAdapter.UpdateBatchSize = 3
07/17/06
12 418 Error in Code
10th line from bottom of page:

delete the line:
Dim Watch As Diagnostics.Stopwatch = New Diagnostics.Stopwatch()
07/17/06
12 419 Error in Code/Text
9th and 10th lines:

9th line:
"+" near end of 9th line should be "&"

AND

10th line:
there should be 1 space inside leading " not 2 so they read:
lblCounter.Text += "Batch is processed for " + args.RowCount.ToString() & _
" rows<br>"
07/17/06
12 420 Error in Code
line 9 of code:

delete top 500 so it reads:
SelectCommand.CommandText = "SELECT * FROM EMPLOYEES";
07/17/06
12 420 Error in Code/Text
line 12 delete the leading space " so it reads:
UpdateCommand.CommandText = "UPDATE EMPLOYEES SET Address=@Address, " +
07/17/06
12 421 Error in Code/Text
line 12:

code reads:
EmpAdapter.UpdateBatchSize = 100;

should be:
EmpAdapter.UpdateBatchSize = 3;
07/17/06
12 424,425,426,427 Error in Text
page 424, lines 3, 4, 5, 6, 7, 8 delete the leading space inside the first " on each of the lines

AND

page 425, lines 2, 3, 4, 5 delete the leading space inside the first " on each of the lines

AND

page 425: line 5: "+" near end of line should be "&"

AND

page 426: lines 16, 17, 18, 19, 20, 21: delete the leading space inside the first " on each of the lines

AND

page 427: lines 23, 24, 25, 26: delete the leading space inside the first " on each of the lines
07/17/06
12 427 Error in Code
4th line from bottom of page at end of line:
<Br> should be <br />
07/17/06
433 Errors in Table
table:
3rd entry on page, 2nd column:
Wait Handle

should be:
WaitHandle
(in 2 places)

AND

next to last entry, 2nd column:
Time Span

should be:
TimeSpan
03/02/07
12 434 Error in Text
page 434, lines 2, 3, 4, 5 up from bottom of page: delete the leading space inside the first " on each of the lines
07/17/06
12 435 Errors in Code
line 26,code reads:
<div><br />

should be:
<div>

AND

5th line up from end of page, code reads:
</asp:GridView><br />

should be:
</asp:GridView>
07/17/06
12 436,437 Errors in Text (Spaces)
page 436: lines 17, 18, 19, 20, 21: delete the leading space inside the first " on each of the lines

AND

page 436: line 21: delete the trailing space inside the closing " on this line

AND

page 437: lines 2, 3, 4, 5 up from bottom of page: delete the leading space inside the first " on each of the lines

AND

page 437: lines 2 from bottom of page: delete the trailing space inside the closing " on this line
07/17/06
12 438 Error in Code
line 9 after end of grey shaded code section:
<div><br />
should be:
<div>

AND

5th line up from end of page:
</asp:GridView><br />
should be:
</asp:GridView>
07/17/06
12 439 Errors in Spacing
lines 18, 19, 20, 21, 22: delete the leading space inside the first " on each of the lines

AND

page 439: line 22: delete the trailing space inside the closing " on this line
07/17/06
12 440, 441 Errors in Text (Spaces)
page 440, listing 12-11: 9th line up from the bottom of the page: delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM Customers WHERE CompanyName = 'Alfreds Futterkiste'"

AND

page 440 and 441: llast 3 lines on page 440 and first 3 on top of 441: delete the leading space inside the first " on each of the lines

AND

page 441: line 3: delete the trailing space inside the closing " on this line
07/17/06
12 442, 443 Errors in Text
page 442: bottom of page, after last line, add this new line, indented to align with current last line on page:
OrdersCommand.CommandText =

AND

page 443: lines, 2, 3, 4, 5, 6, 7 : delete the leading space inside the first " on each of the lines

AND

page 443 line 7: delete the trailing space inside the closing " on this line
07/17/06
12 445 Errors in Text
page 445, line 14: delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM Customers WHERE CompanyName = 'Alfreds Futterkiste'"

AND

page 445: lines, 18, 19, 20, 21, 22, 23, 24 : delete the leading space inside the first " on each of the lines

AND

page 445 line 24: delete the trailing space inside the closing " on this line
07/17/06
12 447 Errors in Text
page 447, line 14 up from bottom of page: delete the leading space and trailing space inside the " " so it reads:
"SELECT * FROM Customers WHERE CompanyName = 'Alfreds Futterkiste'"

AND

page 447: lines, 4, 5, 6, 7, 8, 9, 10 up from bottom of page: delete the leading space inside the first " on each of the lines

AND

page 447 line 4 from bottom of page: delete the trailing space inside the closing " on this line
07/17/06
12 449 Errors in Text
page 449: code lines 17, 18, 19, 20, 21: delete the leading space inside the first " on each of the lines

AND

line 21 from bottom of page: delete the trailing space inside the closing " on this line
07/17/06
12 449 Error in Code
<%@ Page Language="C#" %>

should be:

<%@ Page Language="VB" %>
10/03/2007
12 451 Errors in Text
page 451: lines 2, 3, 4, 5, 6: delete the leading space inside the first " on each of the lines

AND

page 451 line 6 from bottom of page: delete the trailing space inside the closing " on this line
07/17/06
492 Error in Text
in the paragraph after the heading "Databases and XML."
3rd line:
ExectuteXmlReader

should be:
ExecuteXmlReader
11/20/07
13 493 Error in Code
select * from customers as customer FOR XML AUTO

should be:

select * from customers FOR XML AUTO
07/05/2007
13 494 Error in Text
By using an alias in the select statement, you can affect the name of each row’s element.

should be:

By using an alias like as Customer in the select statement, you can affect the name of each row’s element.
07/05/2007
519 Error in code
listing 14-11, 1st line, beginning of line:

<asp: TreeViewTreeView
should be:
<asp: TreeView
12/4/05
14 520 Error in Code
page 520, shaded code block, beginning of line 1:

code reads:
<asp:TreeViewTreeView

should read:
<asp:TreeView

AND

Last line of shaded code block:

code reads:
</asp:TreeViewTreeView>

should read:
</asp:TreeView>
07/18/2006
14 525 Error in Code
page 525, first paragraph:

line 3: replace \ with /

AND

next to last line:
backslash should be forward-slash

AND

last line:
delete: (two backslashes if you are working in C#)
07/18/2006
14 525 Error in Code
page 525, listing 14-13, first shaded code section:

add this new line between current 2nd and 3rd lines, aligns with current 3rd line:
TreeView1.CollapseAll()

AND

current lines 4 and 5, in 3 places:
replace \ with /

AND

second shaded code section:

add this new line between current 2nd and 3rd lines, aligns with current 3rd line:
TreeView1.CollapseAll();

AND

current lines 4 and 5, in 3 places:
replace \\ with /
07/18/2006
14 525 Error in Code
page 525: 2nd paragraph, line 2:

2 places replace \ with /
07/18/2006
14 525 Error in Code
page 525, listing 14-14, first shaded code section:

add this new line between current 2nd and 3rd lines, aligns with current 3rd line:
TreeView1.CollapseAll()

AND

second shaded code section:
add this new line between current 2nd and 3rd lines, aligns with current

AND

3rd line:
TreeView1.CollapseAll();
07/18/2006
554 Error in Text
line 5 (counting the blank line)
Page.User.Idenity
should be
Page.User.Identity
1/30/06
14 546 Error in Code
page 546, unshaded code in middle of page:

code reads:
<siteMapNode url"News.aspx" resourceKey="News">

should read:
<siteMapNode url="News.aspx" resourceKey="News">
07/18/2006
16 586 Error in Code
Page 586, listing 16-2:

grey shaded line 2:
loginUrl="login.aspx"

should be:
loginUrl="Login.aspx"

AND

next to last grey shaded line:
cookieless="useDeviceProfile" />

should be:
cookieless="UseDeviceProfile" />
07/21/06
16 586 Error in Code
Bottom of page bullet list, 2nd bullet last line:

code reads:
login.aspx

should be:
Login.aspx
07/21/06
16 587 Error in Text
The last bullet of the bullet list:
Each of the following items in this list should begin with a cap letter instead of lower case and each appears twice in the paragraph to be corrected:

useDeviceProfile
useCookies
autoDetect
useUri
07/21/06
16 593 Error in code
code listing 16-8, VB code, lines 5-7 of code:
Profile.FirstName = Firstname.Text
Profile.LastName = Lastname.Text
Profile.Age = Age.Text

should be:
Dim pc As ProfileCommon = New ProfileCommon()
pc.Initialize(CreateUserWizard1.UserName.ToString(), True)

pc.FirstName = Firstname.Text
pc.LastName = Lastname.Text
pc.Age = Age.Text

pc.Save()
10/23/06
16 594 Error in Text
First text paragraph, line 5:

text reads:
listing 16-7

should be:
listing 16-8
07/21/06
16 594 Error in Code
Code block at bottom of page, first line:

code reads:
Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, _

should be:
Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, _
07/21/06
16 594 Error in Code
C# code, lines 5-7 of code:
Profile.FirstName = Firstname.Text;
Profile.LastName = Lastname.Text;
Profile.Age = Age.Text;

should be:
ProfileCommon pc = new ProfileCommon();
pc.Initialize(CreateUserWizard1.UserName.ToString(), true);

pc.FirstName = Firstname.Text;
pc.LastName = Lastname.Text;
pc.Age = Age.Text;

pc.Save();
10/23/09
16 594 Error in text
page 594: first paragraph following the code, replace the first sentence with:
With this change to the standard registration process as is defined by a default instance of the CreateUserWizard control, your registration system now includes the request for properties stored and retrieved using the ProfileCommon object. Then, using the ProfileCommon.Initialize() method, you initialize the property values for the current user. Next, you set the property values using the strongly typed access to the profile properties available via the ProfileCommon object. After all the values have been set, you use the Save() method to finalize the process.
10/23/06
16 599 Errors in Table
Page 599, table at top of page, 1st row, 2nd column, add this to the end of the description:

When it is set to False, passwords cannot be retrieved although they can be changed with a new random password.

AND

Page 599, table at top of page, 2nd row, 2nd column, delete this from the end of the description:

When it is set to False, passwords cannot be retrieved although they can be changed with a new random password.
07/21/06
16 600 Error in Text
First text paragraph, first line:

text reads:
<authentication>

should be:
<authorization>
07/21/06
16 601 Error in Code
Top of page, code line:

text reads:
login.aspx

should be:
Login.aspx
07/21/06
16 602 Error in Text
Last text paragraph on page, following listing 16-13:

text reads:
and the subelements are used to modify those

should be:
sub-element is used to modify a
07/21/06
16 604 Error in Code
Listing 16-14, 2nd shaded code section, C# section first line:

code reads:
if (Membership.ValidateUser(TextBox1.Text.ToString(), TextBox2.Text.ToString()) {

should be:
if (Membership.ValidateUser(TextBox1.Text, TextBox2.Text) {
07/21/06
16 610 Error in Code
Listing 16-19, 3rd and 4th lines from bottom of page:

code reads:
<smtp>
<network host="localhost" port="25" from="[email protected]"

should be:
<smtp from="[email protected]"> <network host="localhost" port="25"
07/21/06
16 611 Error in Text
Bullet list, bullet #2:

text reads:
Cc

should be:
CC
07/21/06
16 618 Error in Table
Table top of page, last row, column 1:

table reads:
DefaultProvider

should be:
defaultProvider
07/21/06
16 619 Error in Code
Listing 16-25, add new lines before and after current 4th line so:

ListBoxDataBind()
becomes:
If Not Page.IsPostBack Then
ListBoxDataBind()
End If
07/21/06
16 620 Error in Code
Listing 16-25, C# shaded section at top of page:
Add new lines before and after current 5th line so:

ListBoxDataBind();
becomes:
if (!Page.IsPostBack)
{
ListBoxDataBind();
}
07/21/06
16 622 Error in Code
Lsting 16-27,line 4:
Add new lines before and after current 4th line so:

DropDownDataBind()
becomes:
If Not Page.IsPostBack Then
DropDownDataBind()
End If
07/21/06
16 623 Error in Code
2nd shaded section (C# section):
Add new lines before and after current 5th line so:

DropDownDataBind();
becomes:
if (!Page.IsPostBack)
{
DropDownDataBind();
}
07/21/06
16 626 Error in Code
Listing 16-29, 2nd shaded code section, C# section, first line:

code reads:
If

should be:
if
07/21/06
643 Error in code
5th shaded code line:

Webpartmanager1.SupportedDisplayModes(DropDownList1.SelectedValue.ToString())

should be:

Webpartmanager1.SupportedDisplayModes[DropDownList1.SelectedValue.ToString()]
12/4/05
643 Error in code
14th shaded code line:

ListItem dd_ListItem = New ListItem(modeName, modeName);

should be:

ListItem dd_ListItem = new ListItem(modeName, modeName);
12/4/05
645 Error in Text
Next to past paragraph, fist line:

Change "delete" to "close" so it reads:
To get some items to appear in the list (since none do at present), close
12/4/05
651 Error in code
2nd shaded code block, 1st line:

if Webpartmanager1.Personalization.Scope = PersonalizationScope.User
should be:
if Webpartmanager1.Personalization.Scope == PersonalizationScope.User
12/4/05
17 659 Error in Table
First table on page, 2nd row, 2nd column, last thing in last line of entry:

table reads:
NormalDisplayMode

should be:
BrowseDisplayMode
07/21/06
17 659 Error in Table
First table on page, delete rows 3, 4, 5, 6 completely, removing the following items and their descriptions:

EnableCatalogDisplayMode
EnableConnectDisplayMode
EnableDesignDisplayMode
EnableEditDisplayMode
07/21/06
17 660 Error in Table
Page 660, table, delete 8th row completely, removing the HeaderAlignment item and description.

AND

Page 660, table, 12th row, first colmnn: delete MenuImageUrl and MenuText.
07/21/06
17 660 Error in Table
Page 660, table, last row on page, first column:

Table reads:
Orientation

Should be:
LayoutOrientation
07/21/06
17 661 Error in Table
page 661, table at bottom of page: delete 3rd row from bottom completely, removing the AllowPaginate item and description
07/21/06
17 662 Error in Table
page 662, table first row completely, removing the Caption item and description
07/21/06
664 Error in code block
2nd shaded code block, 10th and 11th lines:

TextBox StateInput;
ListBox StateContents;

should be

TextBox StateInput = new TextBox();
ListBox StateContents = new ListBox();
12/4/05
665 Error in Code Block
3rd shaded code line

[Personalizable(), WebBrowsable]
should be:
[Personalizable, WebBrowsable]
12/4/05
17 668 Error in Text
page 668: 2nd text paragraph:
delete the 2nd sentence ("Because the LabelStartText uses the WebBrowsable attribute, the developer using this control can find this property in the Properties window of Visual Studio and change it if necessary. ")
07/21/06
18 692 Error in Text
page 692, listing 18-14: first line of VB section (first shaded section):

text reads:
If (User.Identity.IsAuthenticated()) Then

should be:
If (User.Identity.IsAuthenticated) Then
07/21/06
18 693 Error in Code
page 693, listing 18-14, first line of C# section (second shaded section):

code reads:
if (User.Identity.IsAuthenticated()) {

should be:
if (User.Identity.IsAuthenticated) {
07/21/06
18 693 Error in Text
page 693, listing 18-17, VB section (first shaded code section) 2nd line:

text reads:
AdminUser = User.IsInRole(WindowsBuiltInRole.Administrator)

should be:
AdminUser = User.IsInRole(WindowsBuiltInRole.Administrator.ToString())
07/21/06
18 693 Error in Code
page 693, first code line at top of page:

code reads:
\

should be:
\\
07/21/06
18 693 Error in Code
page 693, listing 18-17, C#section (second shaded code section) 2nd line:

code reads:
adminUser = User.IsInRole(WindowsBuiltInRole.Administrator)

should be:
adminUser = User.IsInRole(WindowsBuiltInRole.Administrator.ToString());
07/21/06
19 718 Error in Text
replace 3rd sentence:

If a page is requested requiring read-only access and two other requests are queued up, one requesting read-only access and one requesting read/write access, the read-only page is executed while the read/write access page waits

with:

The order that locks are requested is essential. As soon as a writer lock is requested, even before a thread is granted access, all subsequent reader lock requests are blocked, regardless of whether a reader lock is currently held or not. While ASP.NET can obviously handle multiple requests, only one request at a time gets write access to a Session.
07/05/2007
21 801 Code Addition
page 801, listing 21-6, VB section of code (first shaded grey block) line 4:

code reads:
AnError.GetBaseException()

should be:
bigError.GetBaseException()
07/21/06
22 808 Code Addition
page 808, listing 22-2, first shaded code section (VB):

after 2nd line, add the following new line indented even with the current 3rd line:
If (Not Page.IsPostBack) Then
07/24/06
22 808 Code Addition
page 808, listing 22-2, first shaded code section (VB):

between current 13th line (Next) and 14th (End Sub) add the following new line, indented even with Next:
End If
07/24/06
22 808 Code Addition
page 808, list 22-2, 2nd shaded code section (C#):

after current 3rd line, add the following 2 new lines indented, even with the current 4th line:
if (!Page.IsPostBack)
{
07/24/06
22 809 Code Addition
page 809, list 22-2, 2nd shaded code section at top of page (C#):

before the current next to last line, add the following new line indented, even with the line above it:
}
07/24/06
22 810 Code Addition
page 810, listing 22-3:

after 2nd line, add the following new line indented even with the current 3rd line:
If (Not Page.IsPostBack) Then
07/24/06
22 810 Code Addition
page 810, listing 22-3:

after current 14th line (Next) ) add the following new line, indented even with "Next":
End If
07/24/06
22 811 Code Addition
page 811, (C#):

after current 3rd code line (the single { ), add the following 2 new lines indented, even with the current 4th line:
if (!Page.IsPostBack)
{
07/24/06
22 811 Code Addition
page 811:

after current 17th line (a single } ) add the following new line indented, even with the line above it:
}
07/24/06
22 816 Code Addition
page 816, listing 22-6:

after 2nd line, add the following new line indented even with the current 3rd line:
If (Not Page.IsPostBack) Then
07/24/06
22 816 Code Addition
page 816, listing 22-6:

after current 14th line (Next) add the following new line, indented even with Next:
End If
07/24/06
22 818 Code Addition
page 818, 2nd code section (C#):

after current 3rd code line (the single { ), add the following 2 new lines indented, even with the current 4th line:
if (!Page.IsPostBack)
{
07/24/06
22 818 Code Addition
page 818, 2nd code section (C#):

after current 9th line (if (drive.IsReady)) add the following new line alinged even with 9th line:
{
07/24/06
22 818 Code Addition
page 818, 2nd code section (C#):

before current 12th line (else) add the following 2 lines (the first line indents even with node 2 lines above it, the 2nd line indents with else below it):
LoadDirectories(node, drive.Name)
}
07/24/06
22 818 Code Addition
page 818, 2nd code section (C#):

between current 15th and 16th lines (} and } ) add another line indented even with the } above it:
}
07/24/06
22 820 Code Addition
page 820, listing 22-7:

first shaded code section (VB) add a new line before the first line and change the first line as follows:
Dim dir as New System.IO.DirectoryInfo("C:\")
For Each file as System.IO.FileInfo In dir.GetFiles("*.*"))
07/24/06
22 825 Error in Code
page 825: listing 22-9

2nd shaded code section (C#), in all of the lines except the first:
all instances of "&" should be "+"
07/24/06
22 820 Code Addition
page 820, listing 22-7:

2nd shaded code section (C#) add a new line before the first line:
System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(@"C:\");
07/24/06
22 826 Errors in Code/Text
page 826, listing 22-10:

line 4:
delete new

AND

next line:
code reads:
File.GetAccessControl(Server.MapPath("TextFile.txt"))

should be:
sec = File.GetAccessControl(Server.MapPath("TextFile.txt"))

AND

line 7:
code reads:
typeof

should be:
GetType

AND

last line on page:
code reads:
Dim auth As New AuthorizationRuleCollection = _

should be:
Dim auth As System.Security.AccessControl.AuthorizationRuleCollection = _
07/24/06
22 827 Errors in Code/Text
line 2:

code reads:
typeof

should be:
GetType

AND

line 5:

code reads:
For Each r As FileSystemAccessRule In auth

should be:
For Each (r As System.Security.AccessControl.FileSystemAccessRule In auth)
07/24/016
22 830 Error in Code
unnumbered code section in middle of page:

3rd shaded line of code:
delete the extra c in access
07/24/06
22 830 Error in Text
page 830, first text paragraph:

last line, text reads:
And
should be:
Or
07/24/06
22 833 Error in Table
page 833, table:

first column, the classes in the first column in the last 6 rows should be replaced with the following 6 corrections:

System.Net.Sockets.NetworkStream
System.Security.Cryptography.CryptoStream
System.IO.Compression.GZipStream
System.IO.Compression.DeflateStream
System.Net.Security.NegotiateStream
System.Net.Security.SslStream
07/24/06
22 834 Error in Code
page 834, listing 22-13, 2bd shaded code section (C#), line 3:

code reads:
fs.Read(data, 0, fs.Length);

should be:
fs.Read(data, 0, (int)fs.Length);
07/24/06
22 834 Error in Text
page 834, 2nd to last paragraph before bullet last:

Change last sentence to:
The FileMode enumeration lets you specify how the stream should be opened, for reading, writing, or both reading and writing.
07/24/06
22 835 Error in Code
page 835, listing 22-14: first shaded code section (VB) line 2:

code reads:
FileAccess.Write, FileShare.Read, FileOptions.Asynchronous)

should be:
FileAccess.Write, FileShare.Read, 8, FileOptions.None)
07/24/06
22 838 Error in Text
page 838: next to last paragraph, last line:

Text reads:
OpenWrite

Should be:
Open
07/24/06
22 840 Error in Code
page 840, listing 22-18, last line of code:

code reads:
binary.Close();

should be:
binaryreader.Close();
07/24/06
22 841 Error in Code
page 841, unnumbered shaded code at top of page, line 2:

code reads:
new StreamReader(@"C:\Wrox\text.txt",System.Encoding.Text.Unicode);

should be:
new StreamReader(@"C:\Wrox\text.txt",System.Text.Encoding.Unicode);
07/24/06
22 841,842 Error in Code
page 841, 842, listing 22-19:

2nd line of code section on page 841 (VB) and 2nd line of code section on page 842 (C#), in both places, add the following before the closing ) at the end of the line:
, FileMode.Open
07/24/06
22 843 Error in Code
page 843, 2nd shaded code section , C# code listing at top of page:

5 lines from end:
add another ) after "zip")
07/24/06
22 843 Error in Text
page 843, first text paragraph, last line:

text reads:
on the c:\Wrox

should be:
in your website
07/24/06
22 844 Error in Code/Text
page 844, last line on page:

replace line with these 2 lines:
Namespace Wrox.Demo.Compression
Public Class CompressionModule
07/24/06
22 845 Error in Code
page 845, first shaded code section:

add new line after current last line:
End Namespace
07/24/06
22 845 Error in Code/Text
page 845 replace last 3 lines on page with these 3:

namespace Wrox.Demo.Compression
{
public class CompressionModule : IHttpModule
07/24/06
22 848 Error in Code
page 848, listing 22-24, 2nd shaded code section (c#) line 2:

code reads:
if (!this.SerialPort1.IsOpen())

should be:
if (!this.SerialPort1.IsOpen)
07/24/06
22 849 Errors in Code
page 849, listing 22-25, 2nd shaded code section (C#), 3rd line from end of page:

code reads:
HttpWebRequest request = HttpWebRequest.Create( uri );

should be:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create( uri );

AND

last line at end of page:

code reads:
HttpWebResponse response = request.GetResponse();

should be:
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
07/24/06
22 854 Error in Code
page 854, listing 22-28, 2nd shaded code section (C#) last 2 lines on page should be:

FileWebRequest request = (FileWebRequest)FileWebRequest.Create(uri);
FileWebResponse response = (HttpWebResponse)request.GetResponse();
07/24/06
22 856 Error in Text
page 856, first text paragraph on page lines 1 and 2:

2 instances of :
Message

in code font should be:
MailMessage
07/24/06
22 856 Error in Text
page 856, first paragraph on pages next to last line:

text reads:
MailRecipientCollection

should be:
MailAddressCollection
07/24/06
23 862 Error in Code
page 862, first shaded code section, line 3:

code reads:
Set

should be:
set
07/24/06
23 864 Code Replacement
page 864, first shaded code section (VB) replace first 2 lines with the following lines:

Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Text
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
07/24/06
23 864 Error in Code/Text
page 864, first shaded code section (VB):

add a space and underscore at end of the current 4th line
07/24/06
23 885 Error in Code
page 885, 3rd shaded code section, line 1:

code reads:
Public Function RaiseCallbackEvent(ByVal eventArgument As String) As String

should be:
Public Sub RaiseCallbackEvent(ByVal eventArgument As String) _
07/24/06
23 885 Code Replacement
page 885, 3rd shaded code section, replace last 2 code lines with:

End Sub

Public Function GetCallbackResult() As String _
Implements System.Web.UI.ICallBackEventHandler.GetCallbackResult

Return "Valid Data"
End Function
07/24/06
23 885 Error in Code
page 885, C# code section, first line:

code reads:
writer

should be:
output
07/24/06
23 886 Error in Code
page 886, 2nd shaded code section, 2nd line, first occurance of string should be void
07/24/06
23 886 Code Replacement
page 886, 2nd shaded code section, replace last 3 lines with:

}

public string GetCallbackResult()
{
return "Valid Data";
}

#endregion
07/24/06
23 898 Error in Code
page 898 listing 23-27, 2nd shaded code section line 5:
add space and underscore at end of line
07/24/06
23 900, 902 Errors in Text (Add Spaces)
page 900 listing 23-28, 3rd line: add space and underscore at end of line

page 902 listing 23-30 line 4: add space and underscore at end of line
07/24/06
23 908 Error in Code/Text
page 908 listing 23-33, line 17:

code reads:
ID=" TemplatedControl1"

should be:
ID="TemplatedControl1"
07/24/06
23 925 Code Addition
page 925, listing 23-40:

add the following new line before the first code line:
Imports System.Web.UI.Design
07/24/06
23 925 Code Addition
page 925: listing 23-40, 2nd shaded code section (C#):

add the following new line before the first code line:
using System.Web.UI.Design;
07/24/06
23 943 Error in Code
page 943, listing 23-49, 2nd shaded code block (C#):

add semicolons at end of lines 6 and 7
07/24/06
23 944 Error in Code
page 944, listing 23-50, line 10:

code reads:
<img src="ImageHandler.ashx" />

should be:
<img src="Handler.ashx" />
07/24/06
24 955 Error in Code
page 955 shaded code line in middle of page:

code reads:
tblimp

should be:
tlbimp
07/24/06
24 957 Error in Text
page 957, listing 24-2, change the name of the listing to:
Using the NameComponent.dll
07/24/06
24 958 Errors in Code
page 958, 2nd chased code listing (C#):

delete these 3 lines:
string FirstName;
string LastName;
string FullName;

AND

current 12th line:
code reads:
FirstName = FirstName.Text.ToString();

should be:
Name.FirstName = FirstName.Text.ToString();

AND

current 17th line:
code reads:
LastName = LastName.Text.ToString();

should be:
Name.LastName = LastName.Text.ToString();

AND

current 22nd line:
code reads:
FullName = FullName.Text.ToString();

should be:
Name.FullName = FullName.Text.ToString();
07/24/06
24 961 Code Addition
page 961, listing 24-4, before 7th line from bottom of page () insert the following 3 additional lines:

<head runat="server">
<title>Using COM Components</title>
</head>
07/24/06
24 962 Error in Code
page 962, listing 24-4 first grey shaded code section, line 4:

code reads:
txtDenominator

should be:
Denominator
07/24/06
24 962 Error in Code
page 962, listing 24-4 first grey shaded code section, line 7 from end:

code reads:
cmdCalculate_Click

should be:
Calculate_Click
07/24/06
24 962 Code Deletion
page 962, C# section:

delete these 2 lines:
double Numerator;
double Denominator;
07/24/06
24 962 Code Replacement
page 962, c# section, replace the following lines:

Numerator = System.Convert.ToDouble(Numerator.Text.ToString());

Denominator = System.Convert.ToDouble(Denominator.Text.ToString());

Answer.Text = myDivide.DivideNumber(
ref Numerator,
ref Denominator).ToString();


with this one new line:

Answer.Text = Divide.DivideNumber(Numerator.Text, Denominator.Text);
07/24/06
24 968 Error in Code
page 968, single shaded code line at top of page:

code reads:
tblimp

should be:
tlbimp
07/24/06
24 969 Code Addition
2nd shaded code section:
Add this new line after the first line:
using System.Runtime.InteropServices;

AND

add this line after the current 3rd line:
[ComVisible(true)]
07/24/06
24 972 Error in Text
page 972, listing 24-8, 6th line from end:

text reads:
+

should be:
&
07/24/06
25 992 Error in Code
page 992, first shaded code block, line 6:

code reads:
<mobile:Command ID="cmdAdd" Runat="server">Add

should be:
<mobile:Command ID="cmdAdd" Runat="server" OnClick="cmdAdd_Click">Add
07/24/06
25 1019 Error in Text
page 1019, listing 25-14:

delete ">" at end of last line on this page
07/24/06
25 1019 Code/Text Addition
page 1019, listing 25-14:

insert the following new line after the last line on this page:
OnClick="cmdAddHidden_Click">
07/24/06
25 1020 Error in Code
page 1020, listing 25-14, first shaded code block:

delete ">" at end of current 2nd line

AND

insert the following new line after the current 2nd line:

OnClick="cmdAddHidden_Click">
07/24/06
26 1028 Error in Text
page 1028 next to last paragraph before Exposing Custom Datasets as SOAP last line in URL:

text reads:
2000

should be:
2004
07/24/06
26 1042 Error in Code
page 1042, last line of code at bottom of page:

code reads:
<int xmlns="http://tempuri.org/">7</int>

should be:
<int xmlns="http://www.wrox.com/addition/">7</int>
07/24/06
26 1050 Error in Code
page 1050, listing 26-18, first shaded code section (VB) line 2):

code reads:
<WebServiceBinding(ConformanceClaims:=WsiClaims.BasicProfile1_1, _

should be:
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1, _
07/24/06
26 1050 Error in Code
page 1050 2nd shaded code section (C#) 5th line:

code reads:
public myHeader HelloHeader;

should be:
public HelloHeader myHeader;
07/24/06
26 1050 Error in Code
page 1050 2nd shaded code section (C#), before last 2 lines (both are } ):

insert a new line with another "}" and align it with else a few lines above it
07/24/06
26 1052 Error in Text
page 1052 first paragraph after the top code section, line 1:

text reads:
WebMethod, HelloWorld

should be:
web service, HelloSoapHeader
07/24/06
26 1054 Error in Code
page 1054, 2nd shaded code section, (C#), 3rd code line:
delete private
07/24/06
26 1054 Error in Code
page 1054, first paragraph after the code, line 1:

code reads:
remove

should be:
first provide an
07/24/06
26 1055 Error in Code
page 1055, listing 26-25, line 5:

code reads:
<WebServiceBinding(ConformanceClaims:=WsiClaims.BasicProfile1_1,

should be:
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1,
07/24/06
26 1056 Error in Code
page 1056, listing 26-25, 2nd shaded code section, (C#) line 7:

code reads:
public class Service : System.Web.Services.WebService

should be:
public class Async : System.Web.Services.WebService
07/24/06
26 1057 Error in Code
page 1057, 2nd shaded code section (C#):

9th line (x += 1) add a semicolon to the end
07/24/06
27 1064 Error in Code
page 1064 listing 27-5, first shaded code section (VB) line 4:

code reads:
ConfigurationSettings

should be:
ConfigurationManager
07/24/06
27 1064 Error in Code
page 1064 listing 27-5, 2nd shaded code section (C#) line 5:

code reads:
ConfigurationSettings

should be:
ConfigurationManager
07/24/06
27 1067 Errors in Code
page 1067, shaded code section at bottom of page:
line 5:

first character on line should be lower case c instead of upper

AND

line 9:

code reads:
CustomStateProviderNamespace.CustomStateProviderSateProvider"/>

should be:
CustomStateProviderNamespace.CustomStateProvider"/>

AND

line 11:

</sesisonState>

should be:
</sessionState>
07/24/06
27 1077 Error in Code
page 1077, 3rd shaded code section, lines 3 and 4, in both lines:

code reads:
verb

should be:
verbs
07/24/06
27 1078 Error in Code
page 1078, last line on page, beginning of line:

code reads:
master

should be:
masterPageFile
07/24/06
27 1079 Error in Code
page 1079, top of page shaded section, lines 5 and 7:

code reads:
<imports> and </imports>

should be:
<namespaces> and </namespaces>
07/24/06
27 1079 Error in Text
page 1079, bullet list, last bullet:

text reads:
master

should be:
masterPageFile
07/24/06
27 1079 Error in Code
page 1079, shaded code section at bottom of page:

code reads:
<pages master

should be:
<pages masterPageFile
07/24/06
27 1080 Error in Text
page 1080, bullet list, first bullet:

text reads:
Imports

should be:
namespaces
07/24/06
27 1080 Error in Text
page 1080, 2nd paragraph of text, lines 1 and 2 and listing 27-9, 3rd line and paragraph after listing 27-9, lines 2 and 3:

text reads:
configExternalSource

should be:
configSource
07/24/06
27 1081 Remove Code
page 1081, code listing in middle of page:

delete these lines:

idealTime=”10”
requestPriority="High"
appRequestQueueLimit="100"
07/24/06
27 1083 Error in Text
page 1083:

Under Request Priority heading, please add the following as a note:

Although this attribute appears in the httpRuntime documentation, VisualStudio 2005 throws a compilation error saying requestPriority is not a valid attribute.
07/24/06
27 1081 Error in Code
page 1081: 4th line from end of code:

code reads:
Kernal

should be:
Kernel
07/24/06
27 1082 Error in Text
page 1082:

delete the Application shutdown Time heading and the paragraph under it
07/24/06
27 1084 Error in Text
page 1084, under Output Caching, first line:

text reads:
Kernal

should be:
Kernel
07/24/06
27 1092 Error in Code
page 1092 and 1093, listings 27-16 and 26-17, first shaded code section in each (VB):

4th line in each:

code reads:
System.Web.Configuration.WebConfigurationManager.OpenMachineConfiguration()

should be:
System.Configuration.ConfigurationManager.OpenMachineConfiguration()
07/24/06
27 1093 Error in Code
page 1093, listings 27-16 and 26-17, top shaded code section on page (C#) and shaded code section in 26-17 (C#):

4th line in each:

code reads:
System.Web.Configuration.WebConfigurationManager.OpenMachineConfiguration();

should be:
System.Configuration.ConfigurationManager.OpenMachineConfiguration();
07/24/06
1195-1253 Updated Book Index
We have updated the index including additional pages of index entries. The new version of the index is included in the printed book starting with the 3rd printing and can be downloaded from http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764576100,descCd-download_code.html
12/20/05
Back to Top