Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NETActiveX
hi all..
i m getting one string as a output from my ActiveX to website after processing..
i m calling ActiveX like this:
 
var obNewAXComponent = new ActiveXObject("AXComponent.AXComp");
 
                       var obj = obNewAXComponent.GetScanImage();
                       if (obj != "") {
                           document.getElementById('<%= txtimgstring.ClientID %>').value = obj;
                           document.getElementById('<%= btnStrToImg.ClientID %>').click();
                           
                       }
 
after getting object when i am calling click event my website is crashing
my obj contains very long string in MB
so this is the reason my website is crashing
Did anyone have any solution by which i can avoid crashing??
please help me
thank you..
God bless you all..Smile | :)
Posted 15-Aug-12 20:20pm
MAU7871.5K
Edited 15-Aug-12 20:52pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What kind of error you are getting?
 
It seems, you might be getting validation request error.
If yes, you need to set validationRequest=false
 
If you are getting session timeout error, then the picture is different.
 
If you are getting different error, please specify the error details.
 
Hope this helps.
cheers
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 529
1 OriginalGriff 307
2 Damith Weerasinghe 295
3 ravikhoda 260
4 Tadit Dash 180
0 Sergey Alexandrovich Kryukov 10,974
1 OriginalGriff 6,667
2 Peter Leow 4,760
3 Abhinav S 3,813
4 Maciej Los 3,565


Advertise | Privacy | Mobile
Web02 | 2.8.140421.2 | Last Updated 22 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid