Errata

MCTS Self-Paced Training Kit (Exam 70-562): Microsoft® .NET Framework 3.5—ASP.NET Application Development

Errata for MCTS Self-Paced Training Kit (Exam 70-562): Microsoft® .NET Framework 3.5—ASP.NET Application Development

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 17
Number 4

Number 4 should use the word prompted instead of promoted.

Anonymous  Mar 04, 2011 
Printed Page 87
figure 2-19

figure 2-19 should have This is an example...
it leaves out the word "an".

Anonymous  Mar 04, 2011 
Printed Page 106
the 7th and 10th line in the code example

On Page 106, the 7th and 10th line in the code example has incorrect syntax


Line 7 Change:

Dim lit = New Literal()


Line 7 To:

Dim lit AS New Literal()



Line 10 Change:


Dim lit = New Label()


Line 10 To:

Dim lit AS New Label()

Anonymous  Jun 23, 2011 
Printed Page 131
131 & 132

Page 131 and 132: the event ImageMap1_Click should be named
ImageMapOffice_Click.

Anonymous  Mar 04, 2011 
Printed Page 281:
DropDownList id

DropDownList id should be DropDownListModes instead of DropDownListMode

Anonymous  Mar 04, 2011 
Printed, PDF Page 291
Question 1

Page 219, Question 1, Choice C, "A type derived from WebPart" should read "A control derived from WebPart".

Tim Mackey  Dec 29, 2012 
PDF, Page 305
3rd Paragraph under the subheading "PARTIAL-PAGE UPDATES AND ERROR HANDLING"

On Page 305 in the 3rd Paragraph under the subheading "PARTIAL-PAGE UPDATES AND ERROR HANDLING" on 3rd line, the word AsyncPostBackErrorMessage is spelled "AsyncPostBackErrrorMessage" with 3 consecutive r's in the word "Error".

Matt Campbell  Oct 05, 2010 
Printed, PDF Page 330
3rd dot point (Sys.Net)

The Sys.Net.WebRequest class in the Microsoft AJAX Library is never covered anywhere else in the book.

The following text should be deleted:

"; this class is covered in Chapter 9 when discussing Web services."

Anonymous  Sep 28, 2010 
Printed Page 336
top of page

The UpdateProgress control can also be associated directly with an UpdateProgress control...

Should be:

The UpdateProgress control can also be associated directly with an UpdatePanel control...

Anonymous  Jul 21, 2010 
Printed, PDF Page 367
Question 2

Pge 367, Question 2, Choice D, "beingRequest" should be "beginRequest".

Tim Mackey  Dec 29, 2012 
Printed Page 400
Paragraph after bulleted list

ForeignKeyConstraint has an UpdateRule property, not a ChangeRule property.

Change:

You can set the ChangeRule to a member of the Rule enumeration to get the appropriate behavior.

To:

You can set the UpdateRule to a member of the Rule enumeration to get the appropriate behavior.

Anonymous  Aug 31, 2010 
Printed Page 442
the fourth sentence of the first paragraph

the fourth sentence of the first paragraph contains an incorrect enumeration value name.

Change:
"One option is to load the DataTable object again, using the default PreserveCurrentValues enumeration value, which loads the original DataRowVersion with the data from the database, leaving the current DataRowVersion untouched."

To:
"One option is to load the DataTable object again, using the default PreserveChanges enumeration value, which loads the original DataRowVersion with the data from the database, leaving the current DataRowVersion untouched."

Anonymous  Aug 13, 2010 
Printed Page 451
First paragraph

First paragraph should say: this code sample is opening
a connection to a Microsoft Access database called MyDatabase.mdb (not
Northwind.mdb).

Anonymous  Mar 04, 2011 
Printed Page 486
on #6, #9

LingToSql should be LinqToSql (on #6, #9)

Anonymous  Mar 04, 2011 
Printed, PDF Page 504
1st paragraph

Same correction of page 362 from Exam 70-528 training kit

SelectSingleNode should be GetElementByID on page 504, in the first sentence after the code sample, the second reference to SelectSingleNode should be GetElementByID.

Change:

"The SelectSingleNode method does not require a DTD to be provided and can perform an XPath lookup on any element or attribute where the SelectSingleNode requires an ID data type and a DTD."

To:

"The SelectSingleNode method does not require a DTD to be provided and can perform an XPath lookup on any element or attribute where the GetElementByID requires an ID data type and a DTD."

Anonymous  Aug 03, 2011 
Printed Page 529:
#4

car information on #4 should be product information

Anonymous  Mar 04, 2011 
PDF Page 541
Figures

The images shown in figures 8.3, 8.4 and 8.5 do not correspond to the figure captions, they are misplaced. In fact, I believe that the correct order should be the following:
- Image shown in figure 8.3 should go into figure 8.4
- Image shown in figure 8.4 should go into figure 8.5
- Image shown in figure 8.5 should go into figure 8.3

Jordi Ceballos  May 30, 2011 
Printed Page 580
First paragraph, second line

In the list of styles for the GridView, the text mentions "an overall GridViewStyle". However, a "GridViewStyle" doesn't exist so this should be omitted.

Anonymous  Aug 24, 2010 
Printed Page 612
first bullet point

Change enableSessionState to enableSession

Anonymous  Sep 01, 2010 
Printed Page 626
question 1

the last sentence should read "How should" instead of "How shoul d" (with the extra space between the l and d on should).

Anonymous  Mar 04, 2011 
Printed Page 639
z

proudctName should be spelled productName in the
JSON-formatted message

Anonymous  Mar 04, 2011 
Printed Page 644
Steps 4 and 5

Step 5 must be completed before step 4 otherwise there is an error

John Dowman  Jan 26, 2010 
Printed Page 646
C# code

The return type for the SaveShipper method should be void not Shipper type.

John Dowman  Jan 26, 2010 
Printed Page 661
the second sentence

On Page 661, the second sentence should include a Label control

Change:

In this example, a Web page was created and a Calendar control was added to the page.

To:

In this example, a Web page was created and a Calendar control and a Label control was added to the page.

Anonymous  Jun 23, 2011 
Printed, PDF Page 672
in the code example

The code will fail with NullReferenceException "Object reference not set to an instance of an object" on page 675 at code line "AddressUcTemplated1.Address.AddressLine1 = "1234 Some St.";" because a line of code is missing on page 672.

Solution: In the code example on page 672 add "this.Address = new Address();" above code line "AddressUcContainer container = new AddressUcContainer(this.Address);"

Tim Mackey  Jan 13, 2013 
Printed, PDF Page 675
in the example code

The code will fail with NullReferenceException "Object reference not set to an instance of an object" on page 675 at code line "AddressUcTemplated1.Address.AddressLine1 = "1234 Some St.";" because a line of code is missing on page 672.

Solution: In the code example on page 672 add "this.Address = new Address();" above code line "AddressUcContainer container = new AddressUcContainer(this.Address);"

Tim Mackey  Jan 13, 2013 
Printed Page 690
2nd paragraph

The bitmap's file name only needs to be the same as the class name if it's not explicitly defined as a parameter of the ToolboxBitmap attribute.

The sentence:

"When doing so, you need to define your .bmp file as having the same name as the class (classname.bmp)."

Should be something like:

"When doing so, you need to define your .bmp file as having the same name as the class (classname.bmp) unless you specify it explicitly."

Anonymous  Aug 25, 2010 
Printed Page 693
2nd paragraph, last sentence

You don't pass an instance of the ControlDesigner to the Designer attribute, you just pass its type or string(s) representing its type.

Change:

"To this, you pass an instance of your ControlDesigner class."

To:

"To this, you pass your ControlDesigner class."

Anonymous  Aug 25, 2010 
Printed Page 698
very first line of code at top of page

The C# version of the code is missing the implementation of INamingContainer

Change:

public class UserPasswordControl : CompositeControl

To:

public class UserPasswordControl : CompositeControl, INamingContainer

Anonymous  Aug 25, 2010 
Printed, PDF Page 768
First paragraph

Text states that the System.Diagnostics.Trace class is exposed as the Trace property of the Page object. In fact, the Trace property is of type System.Web.TraceContext.

Likewise, the second bullet of the Lesson Summary on p.776 refers to using the trace() method to output custom trace messages when it probably means the Write() method of the Trace property.

Anonymous  Dec 20, 2011 
Printed Page 777
Final question (question 4)

The question states that you want to "log information every time a user fails to log in to the server." Option D ("WebAuthenticationSuccessAuditEvent"), the one marked as correct in the answer key, is actually the exact opposite - it fires only when the user successfully logs in. Instead, the correct answer, which is not listed, should be WebAuthenticationFailureAuditEvent.

Kurtis Miller  Aug 20, 2010 
Printed Page 819

aspnet_regsql.exe -E -S localhost -Ap
option -A with space -A p

Anonymous  Nov 08, 2010 
Printed Page 826
The PostalCode property

The PostalCode property in the Web.config file needs to
be something greater than an Int16 (like Int32)...otherwise the program
fails when entering a value > 32767.

Anonymous  Mar 04, 2011 
Printed Page 879
2nd last paragraph

The ActiveForm property is on the MobilePage, not MobileForm.

Change:

"You can switch from one <mobile:Form> to another by setting the ActiveForm property of the mobile Web form in code."

To:

"You can switch from one <mobile:Form> to another by setting the ActiveForm property of the mobile Web page in code."

Anonymous  Sep 28, 2010 
Printed Page 958
Lesson Review - Question 4

4. Which tool can be used to create performance counters?

It should be something like

4. Which items can be used to invalidate the cache?

Anonymous  Apr 15, 2010 
Printed Page 965
question/answer block 4.

the question/answer block 4. is too much.
It`s the same as on the page before (page 964).

Anonymous  Oct 27, 2010 
Printed Page 965
Answer 4 on page

Answer 4 on page 965 should be removed (this is a duplicate of
lesson 2, chapter 2, and there are only 3 questions for lesson 1-3).

Anonymous  Mar 04, 2011 
Printed Page 998
Answer 4 on page

Answer 4 should be marked as answer 3.
Answer 5 should be marked as answer 4.

Anonymous  Mar 04, 2011