![]() |
|
|
|||||||
![]() |
ASP Net - aspx page, C#, trying to instantiate a C++ ATL COM control |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
and when I call
MyUtilityLib.MyControl l_oControl = new MyUtilityLib.MyControlClass(); I get an exception thrown with the message "Access Denied." Now, I wrote the control myself (as a test case when this happened with a different control) and it is a terribly simply control created via the VS ..Net 2003 "ATL Object" project wizard which creates the library and I add a single "Simple ATL Control" as a new class to that project. It exposes a single method on the interface (ITest) which is "Test" and takes no arguments. The constructor for the control class does nothing. Now, the only thing unusual is that I instructed the ATL Object project wizard to support MFC. Anybody run into this before? Hopefully this is an obvious "how did you not know this" issue and I can feel like an ass and move on. WTH WTH |
|
|
|
|
#2 |
|
Posts: n/a
|
Ewww, it was stupid. IIS didn't have access, apparently, to the directory
in which the COM object's DLL was located. I was looking through configuration settings in the IIS manager and didn't locate a setting for adding directory pathing info. Do I need to create a virtual folder for this COM object? WTH WTH |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sessions in Aspx getting mixed up | jet vedi | Software | 0 | 07-23-2009 07:25 PM |
| export aspx page to word format or pdf format as it is display in aspx page | getmeaditi | Software | 0 | 03-10-2009 07:15 AM |
| how to access iframe from an aspx page | eyal1234 | Software | 1 | 07-22-2008 10:57 AM |
| How to load Two iframe in one aspx page? | pratima | Software | 2 | 02-02-2008 03:17 AM |
| Enbedding aspx page into another aspx page and post back | Naga_01 | Software | 0 | 06-06-2006 06:51 AM |