CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 upload error

Print topic Send  topic

Author Message
will
Posted: 07/02/2003, 12:32 PM

i created an upload page, but when i preview it, it shows this error:

Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'StateArray'
/Courses/Classes.asp, line 1180


i´m usin IIS, Win200 Pro, ASP

it´s should let me upload files in pdf...

will
Posted: 07/02/2003, 12:36 PM

this is the code on Classes.asp from line 1170 to 1182

Private Sub Class_Initialize()
Set CCSEvents = CreateObject("Scripting.Dictionary")
Set fso = CreateObject("Scripting.FileSystemObject")

Set Errors = New clsErrors

ExternalName = Empty
Visible = True
IsUploaded = False
FileSize = 0
StateArray(0) = Empty *line 1180*
StateArray(1) = Empty
End Sub

"will" <pcboss1976@hotmail.com> escribió en el mensaje
news:bdvc0m$sku$1@news.codecharge.com...
> i created an upload page, but when i preview it, it shows this error:
>
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'StateArray'
> /Courses/Classes.asp, line 1180
>
>
> i´m usin IIS, Win200 Pro, ASP
>
> it´s should let me upload files in pdf...
>
>

Robert Rodgers
Posted: 07/02/2003, 12:59 PM

Mine looks like this.

Private Sub Class_Initialize()
Set CCSEvents = CreateObject("Scripting.Dictionary")
Set fso = CreateObject("Scripting.FileSystemObject")

Set Errors = New clsErrors

ExternalName = Empty
Visible = True
IsUploaded = False
FileSize = 0
ReDim StateArray(1)
StateArray(0) = Empty
StateArray(1) = Empty
End Sub


There is a redim statement that is missing from yours. Is the background of
this class white or grey? To make ccs recreate the class properly you could
try renaming the classes.asp and then try and regenerate see what is
created.

I have also had luck with just deleting the code inside the
'clsFileUpload Class @0-DCDAA860
'End clsFileUpload Class
Including these tags.

But I would try rename the file first.


rob



--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++

"will" <pcboss1976@hotmail.com> wrote in message
news:bdvc77$t14$1@news.codecharge.com...
this is the code on Classes.asp from line 1170 to 1182

Private Sub Class_Initialize()
Set CCSEvents = CreateObject("Scripting.Dictionary")
Set fso = CreateObject("Scripting.FileSystemObject")

Set Errors = New clsErrors

ExternalName = Empty
Visible = True
IsUploaded = False
FileSize = 0
StateArray(0) = Empty *line 1180*
StateArray(1) = Empty
End Sub

"will" <pcboss1976@hotmail.com> escribió en el mensaje
news:bdvc0m$sku$1@news.codecharge.com...
> i created an upload page, but when i preview it, it shows this error:
>
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'StateArray'
> /Courses/Classes.asp, line 1180
>
>
> i´m usin IIS, Win200 Pro, ASP
>
> it´s should let me upload files in pdf...
>
>


will
Posted: 07/02/2003, 1:45 PM

Thanks,....but now it shows:
Persits uploading component "Persits" is not found. Please select another or
install the component.

and i installed persist aspupload 2.1...! and defined it in the project
properties....

"Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
news:bdvdir$uha$1@news.codecharge.com...
> Mine looks like this.
>
> Private Sub Class_Initialize()
> Set CCSEvents = CreateObject("Scripting.Dictionary")
> Set fso = CreateObject("Scripting.FileSystemObject")
>
> Set Errors = New clsErrors
>
> ExternalName = Empty
> Visible = True
> IsUploaded = False
> FileSize = 0
> ReDim StateArray(1)
> StateArray(0) = Empty
> StateArray(1) = Empty
> End Sub
>
>
> There is a redim statement that is missing from yours. Is the background
of
> this class white or grey? To make ccs recreate the class properly you
could
> try renaming the classes.asp and then try and regenerate see what is
> created.
>
> I have also had luck with just deleting the code inside the
> 'clsFileUpload Class @0-DCDAA860
> 'End clsFileUpload Class
> Including these tags.
>
> But I would try rename the file first.
>
>
> rob
>
>
>
> --
> "Every absurdity has a champion to defend it"
> Oliver Goldsmith
> ++++++++++++++++++++++++++++++
>
> "will" <pcboss1976@hotmail.com> wrote in message
>news:bdvc77$t14$1@news.codecharge.com...
> this is the code on Classes.asp from line 1170 to 1182
>
> Private Sub Class_Initialize()
> Set CCSEvents = CreateObject("Scripting.Dictionary")
> Set fso = CreateObject("Scripting.FileSystemObject")
>
> Set Errors = New clsErrors
>
> ExternalName = Empty
> Visible = True
> IsUploaded = False
> FileSize = 0
> StateArray(0) = Empty *line 1180*
> StateArray(1) = Empty
> End Sub
>
> "will" <pcboss1976@hotmail.com> escribió en el mensaje
>news:bdvc0m$sku$1@news.codecharge.com...
> > i created an upload page, but when i preview it, it shows this error:
> >
> > Microsoft VBScript runtime (0x800A000D)
> > Type mismatch: 'StateArray'
> > /Courses/Classes.asp, line 1180
> >
> >
> > i´m usin IIS, Win200 Pro, ASP
> >
> > it´s should let me upload files in pdf...
> >
> >
>
>
>

Robert Rodgers
Posted: 07/02/2003, 2:01 PM

Will,

I use the source code only file upload. So I have not seen that error.

rob
--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++

"will" <pcboss1976@hotmail.com> wrote in message
news:bdvg91$23d$1@news.codecharge.com...
Thanks,....but now it shows:
Persits uploading component "Persits" is not found. Please select another or
install the component.

and i installed persist aspupload 2.1...! and defined it in the project
properties....

"Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
news:bdvdir$uha$1@news.codecharge.com...
> Mine looks like this.
>
> Private Sub Class_Initialize()
> Set CCSEvents = CreateObject("Scripting.Dictionary")
> Set fso = CreateObject("Scripting.FileSystemObject")
>
> Set Errors = New clsErrors
>
> ExternalName = Empty
> Visible = True
> IsUploaded = False
> FileSize = 0
> ReDim StateArray(1)
> StateArray(0) = Empty
> StateArray(1) = Empty
> End Sub
>
>
> There is a redim statement that is missing from yours. Is the background
of
> this class white or grey? To make ccs recreate the class properly you
could
> try renaming the classes.asp and then try and regenerate see what is
> created.
>
> I have also had luck with just deleting the code inside the
> 'clsFileUpload Class @0-DCDAA860
> 'End clsFileUpload Class
> Including these tags.
>
> But I would try rename the file first.
>
>
> rob
>
>
>
> --
> "Every absurdity has a champion to defend it"
> Oliver Goldsmith
> ++++++++++++++++++++++++++++++
>
> "will" <pcboss1976@hotmail.com> wrote in message
>news:bdvc77$t14$1@news.codecharge.com...
> this is the code on Classes.asp from line 1170 to 1182
>
> Private Sub Class_Initialize()
> Set CCSEvents = CreateObject("Scripting.Dictionary")
> Set fso = CreateObject("Scripting.FileSystemObject")
>
> Set Errors = New clsErrors
>
> ExternalName = Empty
> Visible = True
> IsUploaded = False
> FileSize = 0
> StateArray(0) = Empty *line 1180*
> StateArray(1) = Empty
> End Sub
>
> "will" <pcboss1976@hotmail.com> escribió en el mensaje
>news:bdvc0m$sku$1@news.codecharge.com...
> > i created an upload page, but when i preview it, it shows this error:
> >
> > Microsoft VBScript runtime (0x800A000D)
> > Type mismatch: 'StateArray'
> > /Courses/Classes.asp, line 1180
> >
> >
> > i´m usin IIS, Win200 Pro, ASP
> >
> > it´s should let me upload files in pdf...
> >
> >
>
>
>


will
Posted: 07/02/2003, 2:12 PM

i´d tried the vb/asp only )came with ccs, it does send any error, it seems
to work, but it doesn upload anything....


"Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
news:bdvh74$36a$1@news.codecharge.com...
> Will,
>
> I use the source code only file upload. So I have not seen that error.
>
> rob
> --
> "Every absurdity has a champion to defend it"
> Oliver Goldsmith
> ++++++++++++++++++++++++++++++
>
> "will" <pcboss1976@hotmail.com> wrote in message
>news:bdvg91$23d$1@news.codecharge.com...
> Thanks,....but now it shows:
> Persits uploading component "Persits" is not found. Please select another
or
> install the component.
>
> and i installed persist aspupload 2.1...! and defined it in the project
> properties....
>
> "Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
>news:bdvdir$uha$1@news.codecharge.com...
> > Mine looks like this.
> >
> > Private Sub Class_Initialize()
> > Set CCSEvents = CreateObject("Scripting.Dictionary")
> > Set fso = CreateObject("Scripting.FileSystemObject")
> >
> > Set Errors = New clsErrors
> >
> > ExternalName = Empty
> > Visible = True
> > IsUploaded = False
> > FileSize = 0
> > ReDim StateArray(1)
> > StateArray(0) = Empty
> > StateArray(1) = Empty
> > End Sub
> >
> >
> > There is a redim statement that is missing from yours. Is the
background
> of
> > this class white or grey? To make ccs recreate the class properly you
> could
> > try renaming the classes.asp and then try and regenerate see what is
> > created.
> >
> > I have also had luck with just deleting the code inside the
> > 'clsFileUpload Class @0-DCDAA860
> > 'End clsFileUpload Class
> > Including these tags.
> >
> > But I would try rename the file first.
> >
> >
> > rob
> >
> >
> >
> > --
> > "Every absurdity has a champion to defend it"
> > Oliver Goldsmith
> > ++++++++++++++++++++++++++++++
> >
> > "will" <pcboss1976@hotmail.com> wrote in message
> >news:bdvc77$t14$1@news.codecharge.com...
> > this is the code on Classes.asp from line 1170 to 1182
> >
> > Private Sub Class_Initialize()
> > Set CCSEvents = CreateObject("Scripting.Dictionary")
> > Set fso = CreateObject("Scripting.FileSystemObject")
> >
> > Set Errors = New clsErrors
> >
> > ExternalName = Empty
> > Visible = True
> > IsUploaded = False
> > FileSize = 0
> > StateArray(0) = Empty *line 1180*
> > StateArray(1) = Empty
> > End Sub
> >
> > "will" <pcboss1976@hotmail.com> escribió en el mensaje
> >news:bdvc0m$sku$1@news.codecharge.com...
> > > i created an upload page, but when i preview it, it shows this error:
> > >
> > > Microsoft VBScript runtime (0x800A000D)
> > > Type mismatch: 'StateArray'
> > > /Courses/Classes.asp, line 1180
> > >
> > >
> > > i´m usin IIS, Win200 Pro, ASP
> > >
> > > it´s should let me upload files in pdf...
> > >
> > >
> >
> >
> >
>
>
>

Robert Rodgers
Posted: 07/02/2003, 3:05 PM

when mine acted like that it was because the web user account did not have
permission to write to the folder.

rob

--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++

"will" <pcboss1976@hotmail.com> wrote in message
news:bdvhsq$424$1@news.codecharge.com...
i´d tried the vb/asp only )came with ccs, it does send any error, it seems
to work, but it doesn upload anything....


"Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
news:bdvh74$36a$1@news.codecharge.com...
> Will,
>
> I use the source code only file upload. So I have not seen that error.
>
> rob
> --
> "Every absurdity has a champion to defend it"
> Oliver Goldsmith
> ++++++++++++++++++++++++++++++
>
> "will" <pcboss1976@hotmail.com> wrote in message
>news:bdvg91$23d$1@news.codecharge.com...
> Thanks,....but now it shows:
> Persits uploading component "Persits" is not found. Please select another
or
> install the component.
>
> and i installed persist aspupload 2.1...! and defined it in the project
> properties....
>
> "Robert Rodgers" <rrodgers@sylvancomputing.com> escribió en el mensaje
>news:bdvdir$uha$1@news.codecharge.com...
> > Mine looks like this.
> >
> > Private Sub Class_Initialize()
> > Set CCSEvents = CreateObject("Scripting.Dictionary")
> > Set fso = CreateObject("Scripting.FileSystemObject")
> >
> > Set Errors = New clsErrors
> >
> > ExternalName = Empty
> > Visible = True
> > IsUploaded = False
> > FileSize = 0
> > ReDim StateArray(1)
> > StateArray(0) = Empty
> > StateArray(1) = Empty
> > End Sub
> >
> >
> > There is a redim statement that is missing from yours. Is the
background
> of
> > this class white or grey? To make ccs recreate the class properly you
> could
> > try renaming the classes.asp and then try and regenerate see what is
> > created.
> >
> > I have also had luck with just deleting the code inside the
> > 'clsFileUpload Class @0-DCDAA860
> > 'End clsFileUpload Class
> > Including these tags.
> >
> > But I would try rename the file first.
> >
> >
> > rob
> >
> >
> >
> > --
> > "Every absurdity has a champion to defend it"
> > Oliver Goldsmith
> > ++++++++++++++++++++++++++++++
> >
> > "will" <pcboss1976@hotmail.com> wrote in message
> >news:bdvc77$t14$1@news.codecharge.com...
> > this is the code on Classes.asp from line 1170 to 1182
> >
> > Private Sub Class_Initialize()
> > Set CCSEvents = CreateObject("Scripting.Dictionary")
> > Set fso = CreateObject("Scripting.FileSystemObject")
> >
> > Set Errors = New clsErrors
> >
> > ExternalName = Empty
> > Visible = True
> > IsUploaded = False
> > FileSize = 0
> > StateArray(0) = Empty *line 1180*
> > StateArray(1) = Empty
> > End Sub
> >
> > "will" <pcboss1976@hotmail.com> escribió en el mensaje
> >news:bdvc0m$sku$1@news.codecharge.com...
> > > i created an upload page, but when i preview it, it shows this error:
> > >
> > > Microsoft VBScript runtime (0x800A000D)
> > > Type mismatch: 'StateArray'
> > > /Courses/Classes.asp, line 1180
> > >
> > >
> > > i´m usin IIS, Win200 Pro, ASP
> > >
> > > it´s should let me upload files in pdf...
> > >
> > >
> >
> >
> >
>
>
>



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.