Wrox Programmer Forums
| 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 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
Showing results 1 to 25 of 56
Search took 0.01 seconds.
Search: Posts Made By: ken evans
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 4th, 2012, 01:23 PM
Replies: 18
Views: 2,495
Posted By ken evans
Hi Dave, Sorry but I can't remember what I did...

Hi Dave,
Sorry but I can't remember what I did last year to "solve" the problem.

However, I recently had a related problem and had quite a debate on the SQL Server forum. Here is the link to the...
Forum: BOOK: Professional C# 4.0 and .NET 4 December 15th, 2010, 02:28 PM
Replies: 1
Views: 1,357
Posted By ken evans
Found the problem

OK, so I was trying to compile an already compiled program!
10 cents in the dummies box![:I]

Ken
Forum: BOOK: Professional C# 4.0 and .NET 4 December 15th, 2010, 02:22 PM
Replies: 1
Views: 1,357
Posted By ken evans
Page 24: Failed at the first Hurdle!

After following the instructions on page 24, I created First.exe.

However, when I try to run First.exe from the command prompt I get errors.

Here is the code:
Any clues?

Thanks
Ken
Forum: BOOK: Professional Visual Studio 2010 December 12th, 2010, 09:34 AM
Replies: 3
Views: 1,530
Posted By ken evans
Hi Dave, That helps a lot. So is it the case...

Hi Dave,
That helps a lot.
So is it the case that:
If I have set ScaffoldAllTables="true" in Global asax
Then I don't need to add the C# snippet on page 499?

Thanks
Ken
Forum: BOOK: Professional Visual Studio 2010 December 12th, 2010, 09:01 AM
Replies: 3
Views: 1,530
Posted By ken evans
Ch23 Page 499 - Clarification please

Half way down this page it says:
"Before creating the template, you will need to enable scaffolding for this table"

I'm a bit confused by this.

If I already have a model.edmx file of my whole...
Forum: BOOK: Professional Visual Studio 2010 December 7th, 2010, 01:50 PM
Replies: 5
Views: 3,467
Posted By ken evans
Hi Dave, That's great - it's all working now -...

Hi Dave,
That's great - it's all working now - amazing!

Thank you very much for taking the trouble to figure this out for me.
Much appreciated.

To completely close the loop on this, and so...
Forum: BOOK: Professional Visual Studio 2010 December 6th, 2010, 01:31 PM
Replies: 5
Views: 3,467
Posted By ken evans
OK, I made a little more progress. - er I think...

OK, I made a little more progress. - er I think :(
As you suggested, I added the Linq-to-SQL Classes and named the file myDB_00DM.dbml

Then I found that the data context: "myDB_00DMDataContext"...
Forum: BOOK: Professional Visual Studio 2010 December 6th, 2010, 12:59 PM
Replies: 5
Views: 3,467
Posted By ken evans
Hi Dave, Thanks for your response. I hope that...

Hi Dave,
Thanks for your response. I hope that you can help me to get somewhere with this.
Since elsewhere, I have read that Microsoft has stopped investing in LINQ-toSQL in favour of the Entity...
Forum: BOOK: Professional Visual Studio 2010 December 5th, 2010, 07:58 PM
Replies: 5
Views: 3,467
Posted By ken evans
Ch 23 Page 488 Data Context in Global.asax?

I have been floundering around trying to figure out what use for a "data context."

Let's say my database is called "myDB_00" (in the server explorer it shows as ~\sql2008a.myDB_00.dbo).

The...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 3rd, 2010, 06:13 AM
Replies: 9
Views: 7,845
Posted By ken evans
I did this and : 1: The error appeared after...

I did this and :
1: The error appeared after the build.
2: After about 1 second, the error disappeared and the site launched and appears to be behaving normally.

Thanks Imar.

Ken
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2010, 08:28 PM
Replies: 9
Views: 7,845
Posted By ken evans
"You posted the markup of the Master Page, but a...

"You posted the markup of the Master Page, but a Code Behind of the Genres page"

Hmmm, maybe I misunderstand something here but that's not the way it looks to me. As far as I can see, I posted the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2010, 05:38 PM
Replies: 9
Views: 7,845
Posted By ken evans
Sorry, I don't know what you mean by "in the page...

Sorry, I don't know what you mean by "in the page directly".
Line 5 of Management/Genres has an <asp:Label ID="ErrorMessage"...
Is that "directly" ?
Ken


<%@ Page Title="Planet Wrox -...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2010, 05:23 PM
Replies: 9
Views: 7,845
Posted By ken evans
Well I tried that and found lots of instances of...

Well I tried that and found lots of instances of "ErrorMessage" but I couln't see anything wrong with them.
The only clue that I have is that the Error List points to line 40 in Genres.aspx.cs which...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2010, 11:07 AM
Replies: 0
Views: 1,293
Posted By ken evans
The name 'ErrorMessage' does not exist in the current context

Three times in the last two weeks, I have encountered the error message:
The name 'ErrorMessage' does not exist in the current context

The error sometimes appears and sometimes it doesn't.
I...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2010, 11:04 AM
Replies: 9
Views: 7,845
Posted By ken evans
The name 'ErrorMessage' does not exist in the current context

Three times in the last two weeks, I have encounbtered the error message:
The name 'ErrorMessage' does not exist in the current context

The error sometimes appears and sometimes it doesn't.
I...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 26th, 2010, 09:26 AM
Replies: 1
Views: 860
Posted By ken evans
Ch14 Page 500 Step 10

The code for NewPhotoAlbums.aspx dows not contain any "BoundField's.

Might I have done something wrong or is this another "bug" that I should report?

My generated code for NewPhotoAlbums.aspx...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 25th, 2010, 06:26 AM
Replies: 1
Views: 1,260
Posted By ken evans
Ch13 Page 457 Step 12

I can open Reviews.aspx in the browser.
However, When I choose a Genre in the DropDownList, the postback happens but I don't see the list of reviews.

I compared my code with the downloaded source...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 25th, 2010, 04:09 AM
Replies: 11
Views: 2,058
Posted By ken evans
Steps 1-3 give the same result. Entering the...

Steps 1-3 give the same result.
Entering the code manually works.

I tried to report the bug using Help>Report a Bug, but I could not log onto the Microsoft site. It just repeats the call every...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 03:36 PM
Replies: 11
Views: 2,058
Posted By ken evans
Well er - yes - I can see that. But my point is...

Well er - yes - I can see that.
But my point is that I followed the procedure in the book which I interpreted as meaning that the "missing code" would be written for me!

Did I misinterpret the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 03:26 PM
Replies: 11
Views: 2,058
Posted By ken evans
Ch13 Page 443 - Step 5 problem

I followed steps 1-4 on page 443 and then set the default mode to "Insert".

However:
1: My Details view code does not look the same as shown in step 5. (see below)
2: The page renders and works...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 06:25 AM
Replies: 18
Views: 2,495
Posted By ken evans
"were you able to remove the log file from the...

"were you able to remove the log file from the list?"
Yes -just clicked on the "Remove" button


"Also, what permissions did you assign to C:\Databases?"[:I]

And that was the problem!!
Such a...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 06:08 AM
Replies: 18
Views: 2,495
Posted By ken evans
OK, I tried that. Unfortunately, I get exactly...

OK, I tried that.
Unfortunately, I get exactly the same error messages.
And the link at: For help, click: http://go.microsoft.com/fwlink?ProdN...r&LinkId=20476
just says:

"We're sorry
There...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 05:45 AM
Replies: 18
Views: 2,495
Posted By ken evans
Ch 12 - Attach PlanetWrox.mdf

Ref: http://p2p.wrox.com/book-beginning-asp-net-4-c-vb/81312-ch12-p406-423-cant-see-sql-server.html

After my problems with accessing the PlanetWrox.mdf from the App_Data folder, I thought that I...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 20th, 2010, 03:54 AM
Replies: 18
Views: 2,495
Posted By ken evans
Hi Imar, Thanks - that is really very very...

Hi Imar,
Thanks - that is really very very helfpul.
It has cleared up my confusion about:
"To use App_Data or Not to use App_Data? - That is the Question."

Cheers
Ken
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 19th, 2010, 04:52 PM
Replies: 18
Views: 2,495
Posted By ken evans
"Looks like you already saw this post:...

"Looks like you already saw this post: [URL]http://p2p.wrox.com/book-beginning-asp-net-4-c-vb/80620-ch12-pg-406-407-try-out-access-db-within-vwd.html

Yes , I spent a lot of time rummaging around....
Showing results 1 to 25 of 56

 




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