Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 54
Search took 0.03 seconds.
Search: Posts Made By: tomche
Forum: BOOK: Professional ASP.NET 4 : in C# and VB October 11th, 2011, 05:19 AM
Replies: 1
Views: 1,220
Posted By tomche
Listing 1-10 NullReferenceException was unhandled by

Hello All,

I am getting the error NullReferenceException was unhandled by user code on the Listing I.10.

The exception occurs on the TextBox1 object.

My code is as follows.

<%@ Page...
Forum: BOOK: Professional C# 4.0 and .NET 4 September 26th, 2011, 06:33 AM
Replies: 1
Views: 2,167
Posted By tomche
Null Reference Exception Listing 1-10

Hello All,

I just tried to use the following code from the book and received the error

Null Reference Exception was unhandled by user code.

My code is as follows.

<%@ Page Language="C#"...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 August 11th, 2011, 09:06 AM
Replies: 0
Views: 2,544
Posted By tomche
Chapter 13 Can't see PlanetWroxDataContext

Hello All,

From the following code the all.aspx file can't locate the code in the PlanetWrox designer.cs file in the app_code folder.

The all.aspx file is located in the reviews folder.

the...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 5th, 2011, 07:27 AM
Replies: 1
Views: 1,130
Posted By tomche
Chapter 12 Management.reviews is not allowed bc it does not extend system.web.ui.page

Hi all,

Using the code out of the book seems to throw an error in firefow

tomeemil.management.reviews is not allowed because it does not extend the class system.web.ui.page

using System;...
Forum: BOOK: Professional ASP.NET 3.5 AJAX ISBN: 9780470392171 October 23rd, 2009, 06:21 AM
Replies: 0
Views: 1,634
Posted By tomche
Chapter 1 pg 14 Error on page at runtime

Hello all,

I have completed the example on page 14 and 15 and when trying to run once I press the button all I get is an error in internet explorer saying "error on page"

My asmx.cs file...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 October 10th, 2009, 09:26 AM
Replies: 1
Views: 2,148
Posted By tomche
Chap 3 pg 133: The connection name 'AppConnectionString1' was not found in the ap

Hello All,

I just got the following error whilst doing the example on pg 133

The connection name 'AppConnectionString1' was not found in the applications configuration or the connection...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 September 22nd, 2009, 09:42 AM
Replies: 3
Views: 1,367
Posted By tomche
Thanks Imar, but am I wrong in saying that the...

Thanks Imar, but am I wrong in saying that the build providers are located in the web.config file?

This Chapter asks to start a class library so I don't have a web config file unless I create...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 September 20th, 2009, 03:06 AM
Replies: 3
Views: 1,367
Posted By tomche
Chap 1 pg 48 OpenStream not referencing

Hello,
I have just done the example on page 48 and the OpenStream is underlined in red.

I can't see that it is supposed to be delcared in the program and I can't see any values in the web.config...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 September 9th, 2009, 09:04 AM
Replies: 4
Views: 1,611
Posted By tomche
Imar, I reckon the problem here is that I...

Imar,

I reckon the problem here is that I am trying to open Page2.aspx.

This code is only meant to reference the previous page so if you open it directly in Internet Explorer it doesn't have...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 September 6th, 2009, 04:43 AM
Replies: 4
Views: 1,611
Posted By tomche
Cap 1 pg 33 Oject reference not set to an instance of an object

Hello All,

I am getting an error "Object reference not set to an instance of an object"

As far as I can see everything is declared as a variable but there seems to be something not right...
Forum: BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 September 5th, 2009, 07:20 AM
Replies: 1
Views: 729
Posted By tomche
Chap 1pg 28: Getting started Why no html in c# examples?

Hello,

I have copied the code fromt he book in c# and it can't detect that the TextBox1 variable has been declared.

Possibly because it hasn't been declared.

I notice that the c# examples...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 17th, 2009, 08:33 AM
Replies: 3
Views: 1,098
Posted By tomche
Thanks Imar you are a legend. I changed the...

Thanks Imar you are a legend.

I changed the code to the following

message += "<strong>Query String</strong><br />" + Request.QueryString.ToString() + "<br />";

SmtpClient mySmtpClient =...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 15th, 2009, 09:12 AM
Replies: 3
Views: 1,098
Posted By tomche
Chap 17: Email not working

Hello,
I have completed the example in Chapter 17 and it works fine except no email is being received in my inbox

My web config file looks like this


<?xml version="1.0"?>
<!--
Note: As...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 15th, 2009, 09:09 AM
Replies: 0
Views: 953
Posted By tomche
Chap 17: Email not working

Hello,
I have completed the example in Chapter 17 and it works fine except no email is being received in my inbox

My web config file looks like this


<?xmlversion="1.0"?>
<!--
Note: As...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 8th, 2009, 06:37 AM
Replies: 5
Views: 2,073
Posted By tomche
It wooorrks!!! That Wrox!

It wooorrks!!!


That Wrox!
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 8th, 2009, 01:31 AM
Replies: 5
Views: 2,073
Posted By tomche
Imar, Sorry it slipped my mind and I didn't...

Imar,
Sorry it slipped my mind and I didn't realiese until i had already posted.

My Detail.aspx.cs from the photoalbums folder looks like this


using System;
using System.Collections;...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 7th, 2009, 08:40 AM
Replies: 5
Views: 2,073
Posted By tomche
Chap 16 pg 578. Hyperlink plus album not working

Hello,

Have jsut completed the code in the Try It Out on page 578 and and the hyperlink doesn't work at all.

When I place the mouse over the link the mouse changes to a vertical cursor...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 6th, 2009, 02:29 PM
Replies: 1
Views: 4,130
Posted By tomche
Chap 16 pg 574: Elements not supported Elements not known

Hello All,

I have done the code on pg 574 and I get a series of errors under HTML elements
The first Repeater is underlined and when I mouseover it says
"Element Repeater is not a known...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 6th, 2009, 09:29 AM
Replies: 7
Views: 1,693
Posted By tomche
Thank you Imar. I shouldn't really come to...

Thank you Imar.

I shouldn't really come to you with questions that have answers as simple as that.

That wrox!

Thome
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 6th, 2009, 08:10 AM
Replies: 7
Views: 1,693
Posted By tomche
Hello Imar, I am glad you said that and not...

Hello Imar,

I am glad you said that and not me because I couldn't see it in the code I posted above.

Do you know what that error message generally refers to?

Cheers

Thomas
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 6th, 2009, 07:42 AM
Replies: 7
Views: 1,693
Posted By tomche
Hi Imar, I am programming in c# and the code is...

Hi Imar,
I am programming in c# and the code is actually on pg 572 but begins on page 570.

Regards

Thomas
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 August 5th, 2009, 08:19 AM
Replies: 7
Views: 1,693
Posted By tomche
Chap 16 pg 570 System.Collections.Generic has some invalid arguments

Hello,

I get the following error message after typing in the code for the Try It Out on pg 570.

List<int> ProfileCommon.FavouriteGenres


Error:
The best overloaded method match for...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 July 28th, 2009, 10:33 AM
Replies: 7
Views: 1,983
Posted By tomche
Okay I will try again My web.config file...

Okay I will try again

My web.config file looks like this
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 July 28th, 2009, 09:23 AM
Replies: 7
Views: 1,983
Posted By tomche
Hi Imar. Each web form only has one code...

Hi Imar.

Each web form only has one code behind. There is no .designer file

I went back into the code that I posted and removed text formatting.

Is that better?

Regards
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 July 27th, 2009, 08:39 AM
Replies: 7
Views: 1,983
Posted By tomche
Hello Imar, Yes positive I used the web site...

Hello Imar,

Yes positive I used the web site and not web project.

If I choose file-> open projet the web site doesn't open

Regards

Tomche
Showing results 1 to 25 of 54

 


All times are GMT -4. The time now is 10:46 AM.


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