Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: JScript code problem
Jalen
Junior Member

Posts: 2
Registered: 3/28/2005
Member Is Offline
posted on 3/28/2005 at 04:53 PM
JScript code problem


Hi there,
I'm using ASP Upload component to upload a single file. I copied the demo code in VBscript to my ASP page and apparently it worked. However, I need to write the function in Jscript. So I basically re-iterated the same code into Jscript and the code doesn't work.
The problem is that the object PostStream("file") is not accessible in Jscript.
The error message is
"Internal error. ReadPostStream threw an exception"
and the error number is
"-2147418113"
I tried all the ways in the document to access the FileItemObject but none of them worked.
If anyone had this experience before or got any ideas, please give me a hint. Thanks.


Jalen
View User's Profile View All Posts By User U2U Member
Jalen
Junior Member

Posts: 2
Registered: 3/28/2005
Member Is Offline
posted on 3/28/2005 at 09:35 PM
Never mind


I deleted a piece of VBscript code in that ASP page and the code worked. However, I still don't know what caused the issue earlier. That VBscript was not executed at all but did imbedded in the Jscript code with proper tag marks. Maybe the ActiveX component has some problems if it's running in a Jscript-VBscript mixed ASP page. Anyway, the issue is solved. Thanks for your time.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Free Download Free Download
Product Documentation Documentation
Documenation Page
Code Samples
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004