Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 30th, 2006, 10:16 AM
Authorized User
 
Join Date: Apr 2006
Location: , , USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Blog application: Is this an Error in application

I have setup the application and it works fine BUT with errors.

 The application runs, but the module BlogEntries user control throws an error in design view:
"Error rending control pnlAddEditBlogEntry An unhandled exception has occured. Request is not available in this context"
However, the application runs builds and runs fine. Why and what is this error?
How do I fix it?

yosaid

  #2 (permalink)  
Old April 30th, 2006, 04:46 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Do you get this error in design view in Visual Web Developer? That's odd.....

Can you describe your setup? How did you install the site, and how did you open it in Visual Web Developer? Which version of VWD are you using, and when exactly do you see this error?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #3 (permalink)  
Old August 6th, 2006, 04:24 PM
Authorized User
 
Join Date: Aug 2006
Location: Anaheim, CA, USA.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

I get the same thing. I'd like to include a print screen, but don't see any way to upload an attachment. I can send it via email if you want to send me an email at aNbOeSlP7A1M4@sbcglobal.net and I will send the print scrreen as an attachment, which shows the error.

Just remove the capital letters from my prefix in the email. Sorry, I get too much spam as it is.



  #4 (permalink)  
Old August 6th, 2006, 04:27 PM
Authorized User
 
Join Date: Aug 2006
Location: Anaheim, CA, USA.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

Actually, this might help.

When I double-click on the error, VSE opens the .vb file in the code window, and the cursor is between the following lines of code (error message is in bold red font):

    Protected Sub BlogEntries1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles BlogEntries1.Load

    End Sub

Quote:
quote:Originally posted by Imar
 Hi there,

Do you get this error in design view in Visual Web Developer? That's odd.....

Can you describe your setup? How did you install the site, and how did you open it in Visual Web Developer? Which version of VWD are you using, and when exactly do you see this error?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #5 (permalink)  
Old August 7th, 2006, 12:43 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:Can you describe your setup? How did you install the site, and how did you open it in Visual Web Developer? Which version of VWD are you using, and when exactly do you see this error?
Can you please answer these questions? It's hard to diagnose a problem without knowing much about the environment and the way you got the error...

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #6 (permalink)  
Old August 7th, 2006, 10:35 AM
Authorized User
 
Join Date: Aug 2006
Location: Anaheim, CA, USA.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

Sure. I'll reply with my response, assuming you mean myself as well as the other poster.

Everything is setup verbatim as you have stated in the book.

Windows XP Pro SP2, VSE 2005, ASP.NET 2.0 is configured with the correct version. My IIS is setup on d:\inetpub\wwwroot; the virtual directory is blog, as well as all other starter apps and code that the book goes through.

I tried both manual version and the setup version of this program, all to no avail. I gave ASP.NET user read/write/modify rights, as well as INET user read/execute rights just to make sure.

There were no errors in setup. I tried running the program by itself within a browser window, as well as via VSE by the <ctr>+F5 key combo, and it comes up with over 101 errors. This error that I've posted in particular is from running (or attempting to run) the app from within IE, by itself, w/o VSE running. It would be much easier to post a print screen up here to show you. Is there an easy way to do that so as to improve communications with you?

Thank you in advance.

  #7 (permalink)  
Old August 7th, 2006, 01:55 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Yeah, I was talking to you. The OP hasn't responded since April.

Anyway, this sounds like an issue with Visual Studio...

First of all, when you say VSE 2005, do you mean Visual Web Developer Express Edition??

Next, see if you can run a default installation:

Unpack the file "Chapter 12 - Bug Base.zip" from the Source folder (you can ignore the Installer and Modifications folders for now) to your hard drive. You should end up with something like C:\BugBase. If you want, move the folder to D:\BugBase.

Next, open Visual Web Developer, choose File | Open Web Site. Then make sure that File System is located in the left pane. Find and select c:\BugBase and choose Open.

Finally, choose Rebuild Web site from the Build menu.

Does this work for you? Do you get any errors?

If you do get errors, what are the permissions for the C:\BugBase folder? With what kind of account are you logged on yo your machine?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #8 (permalink)  
Old August 7th, 2006, 04:02 PM
Authorized User
 
Join Date: Aug 2006
Location: Anaheim, CA, USA.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

Ok, I just wanted to make sure you were referring to me.

Sorry I did not specify. Yes, it is Visual Web Developer Express Edition 2005.

Ok, let me try your recommendations, and I will post back.

Thank you for the quick response.

  #9 (permalink)  
Old August 7th, 2006, 04:10 PM
Authorized User
 
Join Date: Aug 2006
Location: Anaheim, CA, USA.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

Ok, did that, and no errors in D:\BugBase

Permissions on that folder is Administrators /Full, and that's it.



  #10 (permalink)  
Old August 7th, 2006, 04:16 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

OK, now what happens when you press F5 or Ctrl+F5?

Do you get the BugBase site?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application.exit() fails to terminate application. saumya General .NET 1 January 4th, 2008 09:50 AM
Web Application OR Windows Application adesilva .NET Framework 2.0 2 May 4th, 2007 07:12 AM
Merging blog application into existing web Insel Haber BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 October 26th, 2006 02:11 PM
Console application and web application nsrujan ASP.NET 1.0 and 1.1 Basics 1 April 16th, 2005 10:35 PM
Web application Vs Windows Application Ned .NET Web Services 2 January 20th, 2004 01:27 PM



All times are GMT -4. The time now is 09:17 AM.


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