Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: aspSmartUpload error '800a000d'


Message #1 by "Nisha" <nishasb@y...> on Sat, 13 Apr 2002 02:41:32
Hi All,

I am trying to use this ASPSMART UpLOAD for the first time today and have 
installed as per the instructions except that my directory structure is a 
lil different, its

d:/Inetpub/wwwroot/Examples/
which contains the directories :
---aspSmartUpload (which contains the htm files)
---images
---scripts (which contains the asp files)

I was trying to run the first example for the first time and got this error

aspSmartUpload error '800a000d' 

Type mismatch 

/Intertex/scripts/Sample1.asp, line 23 

-----------------------------------------
My ASP CODE is
<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartUpload : Sample 1</H1>
<HR>

<%
'  Variables
'  *********
   Dim mySmartUpload
   Dim intCount
        
'  Object creation
'  ***************
   Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

'  Upload
'  ******
   mySmartUpload.Upload

'  Save the files with their original names in a virtual path of the web 
server
'  
***************************************************************************
*
   intCount = mySmartUpload.Save("/Examples/images")
   ' sample with a physical path 
   ' intCount = mySmartUpload.Save("d:\temp\")

'  Display the number of files uploaded
'  ************************************
   Response.Write(intCount & " file(s) uploaded.")
%>
</BODY>
</HTML>

I have no clue, Please help.

Thanks
Nisha
Message #2 by "Nisha" <nishasb@y...> on Sat, 13 Apr 2002 02:43:31
> Hi All,

> I am trying to use this ASPSMART UpLOAD for the first time today and 
have 
i> nstalled as per the instructions except that my directory structure is 
a 
l> il different, its

> d:/Inetpub/wwwroot/Examples/
w> hich contains the directories :
-> --aspSmartUpload (which contains the htm files)
-> --images
-> --scripts (which contains the asp files)

> I was trying to run the first example for the first time and got this 
error

> aspSmartUpload error '800a000d' 

> Type mismatch 

> /Examples/scripts/Sample1.asp, line 23 

> -----------------------------------------
M> y ASP CODE is
<> HTML>
<> BODY BGCOLOR="white">

> <H1>aspSmartUpload : Sample 1</H1>
<> HR>

> <%
'>   Variables
'>   *********
 >   Dim mySmartUpload
 >   Dim intCount
 >        
'>   Object creation
'>   ***************
 >   Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

> '  Upload
'>   ******
 >   mySmartUpload.Upload

> '  Save the files with their original names in a virtual path of the web 
s> erver
'>   
*> 
**************************************************************************
*> 
 >   intCount = mySmartUpload.Save("/Examples/images")
 >   ' sample with a physical path 
 >   ' intCount = mySmartUpload.Save("d:\temp\")

> '  Display the number of files uploaded
'>   ************************************
 >   Response.Write(intCount & " file(s) uploaded.")
%> >
<> /BODY>
<> /HTML>

> I have no clue, Please help.

> Thanks
N> isha
Message #3 by lingasamyk@h... on Tue, 16 Apr 2002 07:41:48
Hi try the following code and give the feedback of the result

<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartUpload : Sample 1</H1>
<HR>

<%
   Dim mySmartUpload
   Dim intCount
        
   Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

   mySmartUpload.Upload

   intCount = mySmartUpload.Save("/Examples/images")
   Response.Write(intCount & " file(s) uploaded.")
%>
</BODY>
</HTML>

regards,
LingasamyK
Message #4 by "Nisha" <nishasb@y...> on Tue, 16 Apr 2002 18:27:04
I tried the code you send .... and I still get the same error

aspSmartUpload error '800a000d' 

Type mismatch 

/Examples/scripts/Sample1.asp, line 15 

any ideas?
Message #5 by lingasamyk@h... on Thu, 18 Apr 2002 07:38:32
Check for the following

[1] This may be due to the mismatch in the type of the value returned by 
the function. Implement the following code to see the output
	
	Response.Write mySmartUpload.Save("/Examples/images")
	Response.write 

	Before the line 

	intCount = mySmartUpload.Save("/Examples/images")

	see the output

[2] Check for the existence of the folder /Examples/images and files in 
it. See to that the above folder resides in the folder where the 
sample1.asp file resides.


Do the above and get back with the results

Regards,
Lingasamy K




> I tried the code you send .... and I still get the same error

> aspSmartUpload error '800a000d' 

> Type mismatch 

> /Examples/scripts/Sample1.asp, line 15 

> any ideas?

  Return to Index