Wrox Programmer Forums
|
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 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
 
Old March 12th, 2006, 08:43 AM
Registered User
 
Join Date: Feb 2006
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
 
Old March 12th, 2006, 10:16 AM
Registered User
 
Join Date: Feb 2006
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

 
Old March 13th, 2006, 12:43 PM
Registered User
 
Join Date: Feb 2006
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


 
Old March 19th, 2006, 12:51 PM
Friend of Wrox
 
Join Date: Apr 2005
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








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





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