Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET ActiveX
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 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 231
3 Sergey Alexandrovich Kryukov 211
4 kbrandwijk 204
0 OriginalGriff 737
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 505
3 Sergey Alexandrovich Kryukov 405
4 thatraja 370


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100