Click here to Skip to main content
15,891,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ActiveX control '89d9aaaf-dc4f-4f72-acf3-d2edb8644a44' cannot be instantiated because the current thread is not in a single-threaded apartment."

I have gating this error in asp.net i am using Activex Control in asp.net

I have add .CS in asp.net Application
Posted

Add AspCompat="true" attribute to your page directive, maybe that could solve it.
http://msdn.microsoft.com/en-us/library/zwk9h2kb.aspx[^]

Good luck!
 
Share this answer
 
 
Share this answer
 
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900