Wrox Programmer Forums
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 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 July 25th, 2006, 09:51 AM
Registered User
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Imar -

Thanks again for digging deeper with me! :)

When I created the db I mirrored the tables/columns/datatypes outlined in the book in my SQL2000 db.
quote:Maybe when you scripted the 2005 database to its 2000 equivalent, you forgot to script the defaults for columns?
I am not sure I follow you?

But I think this could be an issue, because if I go in and try and send an email/attachment it will also throw an error @ Line 56 of App_Code/Utilities.vb stating:
"The parameter 'from' cannot be an empty string.
Parameter name: from'
But I thought from was the "EmailFrom" value in the web.config?

It does however, move the specified file to the FileStorage and populate the Resource table - with FromContactID as well - usually using the id with the '' value for email.
But it never populates the datesent column?

I think I am getting closer now to getting this thing! :)



Old July 25th, 2006, 03:34 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

I didn't write the File Share app, so I don't know exactly what calls what from what page.

However, line 56 in the Utilities.vb is in a method called SendEmail.

The only place where I can see this method is called is in the btnSend_Click event handler in the Default.aspx file in the ContentFiles folder.

From what I can see, both the from address and the to address come from a text box. So, didn't you just forget to type in an address in the text boxes?? ;)


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Who's That Girl? by Eurythmics (Track 3 from the album: Greatest Hits) What's This?

Similar Threads
Thread Thread Starter Forum Replies Last Post
web.config problem in FileShare trieuanhl BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 November 2nd, 2008 09:48 AM
FileShare chapter problems asptwodev BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 November 5th, 2007 11:06 AM
Error While logging to FileShare Application DeadZone BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 April 5th, 2007 02:28 PM
Problem with FileShare login ermutigen BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 July 15th, 2006 04:18 AM
FileShare Project Not Working shawn BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 April 26th, 2006 01:18 PM

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