Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 March 12th, 2006, 08:43 AM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default a problem with wroxunited

Hello,

I wanted to test the wrox united website on my host but I'm getting an error when I can to add or edit product.
It's a error concerning the uploading of images:

Code:
 Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'ImageHandling' is not declared.

Source Error:

Line 74:             If _uploadImageType = ImageType.Product Then
Line 75:                 Dim newPath As String = Path.Combine(savePath, "thumb_" & FileUpload1.FileName)
Line 76:                 ImageHandling.GenerateThumbnail(saveFile, newPath)
Line 77:             End If
Line 78:
It seems it cannot find the file IMAGEHANDLING.VB

in Visual studio if I do "find definition" I'm getting redirected correctly to the file.
also debugging the site locally works perfectly.
I just doesn't work online...


any ideas :(


thank you
  #2 (permalink)  
Old March 12th, 2006, 10:16 AM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok fixed it

changed the code a bit
and added everything in the code file of the page.


but now everytime I want to upload a picture I'm getting redirected to the login page even though I'm already logged in

  #3 (permalink)  
Old March 13th, 2006, 12:43 PM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

does anybody know why I could have some problems uploading picture using the upload component ?
I always have to insert a username and password but I don't know which one.

very odd...

thanks


  #4 (permalink)  
Old March 19th, 2006, 12:51 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Psykik:

You don't mention which of the many WroxUnited projects you are talking about. Every chapter has slightly different versions of the project customized for which ever chapter
you are studying. Nevertheless, my first suspicion about why you are being redirected to the logon page when you want to upload a file, and you are already logged on, is because uploading the file may require a different role than your current one.

My suggestion is to try the project as it is found in the "End" folder and see if things
work OK there. If so, and you may then have to try in your own project, several logonid/passwords that the authors set up, to find a combination that works for you in all regards.

VictorVictor



 


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
Problem getting WroxUnited to run on my server. DouglasLynn BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 August 15th, 2007 01:41 PM
WroxUnited bobbaird BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 February 8th, 2007 09:28 AM
WroxUnited lasseman BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 May 3rd, 2006 08:00 AM
WroxUnited henryjl BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 April 24th, 2006 10:34 AM
WroxUnited Shop datae33 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 4th, 2006 06:37 AM



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


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