
March 22nd, 2002, 06:47 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
Using COM objects in Global.asax
<i><b>Originally posted by : Dan (dan@smeadlink.com)</b></i><br /><br />If create an object as a COM object in Global.asax and reference it in Global, I receive the following error:<br /><br />The component 'SLDBEng.RMAGDBEngine_obj' cannot be created. Apartment threaded components can only be created on pages with an <%@ Page aspcompat="TRUE" %> page directive. <br /><br />I have added the aspcompat="TRUE" to my "<%@ Page" portion of all other ASPX pages, but there is no HTML portion in Global.asax. <br /><br />What am I doing wrong?
|