Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 December 26th, 2006, 04:04 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default invalid class (aspsmartupload)

Dear All,

i have an upload page which uses AspSmartUpload componant, and i get the following error: invalid class at AspSmartUpload object creation.
myupload=server.createobject("Aspsmartupload.smart upload")

thank you

 
Old December 26th, 2006, 04:30 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear All,

i want to add some notes to help me solving my problem:
I use Win XP and i don't know if it inclueds the AspsmartUpload.dll componant.
and if i could get the componant where shall i put it in order to upload my website with no problems.

another thing: when i saveas the file to a path in a folder, if i want to rename the uploaded image can i change the name at saveas statment: ( myUpload.files.saveas "Images/NewName.jpg")

 
Old December 26th, 2006, 12:11 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by arabuafef
 Dear All,

i want to add some notes to help me solving my problem:
I use Win XP and i don't know if it inclueds the AspsmartUpload.dll componant.
and if i could get the componant where shall i put it in order to upload my website with no problems.

another thing: when i saveas the file to a path in a folder, if i want to rename the uploaded image can i change the name at saveas statment: ( myUpload.files.saveas "Images/NewName.jpg")
I can answer your first question:
This is a third party dll, not supplied by mircosoft. You have to get the install or files required by AspsmartUpload.dll and then properly install them on any server where you want this component to be available.
I did a quick search on the web and found numerous sites that give information about this. Here is one:
http://foradvice.net/smartuploadsetup.htm
I have no idea if this is up to date information, but it is a good starting place, and describes the typical steps for installing a third party dll and making it available to your IIS and ASP application.

Have fun.

Woody Z
http://www.learntoprogramnow.com
 
Old January 4th, 2007, 09:42 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear woodyz,
thank you very much for the information.

 
Old January 9th, 2007, 03:28 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by arabuafef
 Dear woodyz,
thank you very much for the information.

I hope I was helpful. Did you get everything working?

Woody Z
http://www.learntoprogramnow.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Invalid Class Exception in tomcat rnilay81 J2EE 1 February 21st, 2007 06:30 AM
Invalid class string CH 6 itpro2 BOOK: Beginning ASP 3.0 0 May 22nd, 2006 05:15 PM
Invalid class string - : 0x800401F3 not24 C# 2005 1 March 16th, 2006 04:53 PM
ASPUPLOAD issue: ="Invalid Class String"= Calverstine Classic ASP Basics 1 August 10th, 2005 05:34 AM





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