Click here to Skip to main content
16,008,942 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Using Out OfProc Component Pin
Jonathan Craig23-May-02 10:14
Jonathan Craig23-May-02 10:14 
GeneralRe: Using Out OfProc Component Pin
Jonathan Craig24-May-02 3:11
Jonathan Craig24-May-02 3:11 
GeneralRe: Using Out OfProc Component Pin
patty26-May-02 18:39
patty26-May-02 18:39 
GeneralASP.NET and the bigger picture Pin
Paul Watson22-May-02 3:43
sitebuilderPaul Watson22-May-02 3:43 
GeneralInvoking IE SaveAs dialog using Javascript Pin
22-May-02 3:39
suss22-May-02 3:39 
GeneralASP Socket Connection Pin
Sameer Maggon21-May-02 21:05
Sameer Maggon21-May-02 21:05 
GeneralRe: ASP Socket Connection Pin
zakimurtaza21-May-02 21:36
zakimurtaza21-May-02 21:36 
GeneralError using COM+ app with ASP.Net Pin
Marshall21-May-02 9:39
Marshall21-May-02 9:39 
I have a COM+ application that I can successfully use from a C# Windows Forms application. I am able to access the COM+ components via both early and late binding. No problem.

However, when I try to use the same COM+ app from an ASP.Net (C# code behind) application, I get a run-time error. If I use early binding I get an InvalidCastException for QueryInterface indicating the interface query failed.

If I use late binding I get a TargetInvocationException indicating the target does not implement IDispatch.

In the case of the early binding test, I've created an interop assembly via VS.Net, set a reference to it, etc. just as in the Windows Forms application. In both cases, I've set aspcompat=true in the aspx page. I've read the (very good) CP article on COM Interop by Aravind Corera as well as Tom Archer's C# (2ndEd) book, Adam Nathan's book on interop and others but I'm clearly missing something here.

What am I missing? Confused | :confused:

GeneralRe: (solved) Error using COM+ app with ASP.Net Pin
Marshall21-May-02 10:15
Marshall21-May-02 10:15 
QuestionWhere do the controls go? Pin
SHaroz21-May-02 9:05
SHaroz21-May-02 9:05 
AnswerRe: Where do the controls go? Pin
MS le Roux22-May-02 0:49
MS le Roux22-May-02 0:49 
GeneralCustom webcontrols and postback data Pin
Ludwig Stuyck20-May-02 21:33
Ludwig Stuyck20-May-02 21:33 
GeneralRe: Custom webcontrols and postback data Pin
MS le Roux22-May-02 0:51
MS le Roux22-May-02 0:51 
Generalvisiting other sites wothout logging out Pin
Ann20-May-02 20:20
Ann20-May-02 20:20 
GeneralValidator controls - Netscape browser Pin
20-May-02 5:33
suss20-May-02 5:33 
GeneralRe: Validator controls - Netscape browser Pin
Todd Smith21-May-02 5:58
Todd Smith21-May-02 5:58 
QuestionWHY??? Pin
Vlad Beu20-May-02 0:55
Vlad Beu20-May-02 0:55 
AnswerRe: WHY??? Pin
Philip Patrick20-May-02 9:32
professionalPhilip Patrick20-May-02 9:32 
GeneralPost a form to an asp.net page from a WinForm Pin
phalc18-May-02 5:52
phalc18-May-02 5:52 
GeneralRe: Found the problem Pin
phalc18-May-02 6:12
phalc18-May-02 6:12 
GeneralP/Invoke dll from ASP.NET codes Pin
17-May-02 9:27
suss17-May-02 9:27 
GeneralWell, found it out at last... Pin
18-May-02 6:29
suss18-May-02 6:29 
GeneralSmart Navigation Pin
apeek17-May-02 2:05
apeek17-May-02 2:05 
GeneralRe: Smart Navigation Pin
Todd Smith17-May-02 14:36
Todd Smith17-May-02 14:36 
GeneralUsing ActiveX in ASP.NET Pin
yjchiam16-May-02 19:00
yjchiam16-May-02 19:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.