Use of <%@ page aspcompat=true %> attribute, DOT NET Programming

What is the use of <%@ page aspcompat=true %> attribute ?

This attribute works as a compatibility option. We know that ASP worked in STA model and ASP.NET works in MTA model, but what if your ASP.NET application is using a VB COM component. In order that VB COM runs properly in ASP.NET threading model we have to fix attribute. After defining the ASPCOMPAT directive attribute ASP.NET pages runs in STA model & hence building the compatibility between the ASP.NET and old COM components that does not support the MTA model.

Posted Date: 9/22/2012 6:42:44 AM | Location : United States

Related Discussions:- Use of <%@ page aspcompat=true %> attribute, Assignment Help, Ask Question on Use of <%@ page aspcompat=true %> attribute, Get Answer, Expert's Help, Use of <%@ page aspcompat=true %> attribute Discussions

Write discussion on Use of <%@ page aspcompat=true %> attribute
Your posts are moderated
Related Questions
Hello, I want to develop one crystal report. I have one database which has 5 field.One is string and others are Boolean. String field name is State and Four remaining fields are Th

The Problem with finalize is that the garbage collection has to make 2  rounds in order to remove the  objects which have finalize methods. The figure below will make things cle

What is the difference between proc. sent BY VAL and By Ref? By val: changes will not be reflected back to the variable. By ref: changes will be reflected back to that varia

What are Daemon threads? Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector"

Avoid deadlock in threading The best  and careful planning may avoid deadlocks.There are so many ways Microsoft has provided by which you can decrease deadlocks for example Int

What is project management? Applying the knowledge, skills, techniques, tools in project and deliver project deliverable is a short definition of the project management. It's b

How to use a checkbox in a datagrid? The steps to be done are as follows:- 1)    In the ASPX page you have to add Itemtemplate tag in datagrid. 2) I

I want help to make Clone a Website I want all features of above mentioned site 1)Effects 2)Mobile optimization for mobile browsers of all smart phones. Etc.

What is DMAIC and DMADV? The Six Sigma has two key methodologies viz. DMAIC and DMADV. The DMAIC is used to improve an existing business process. While DMADV is used to create