Re: COM INterop Security Problem

From: Pierre Bisaillon (pierrebizz@hotmail.com)
Date: 11/26/02


From: "Pierre Bisaillon" <pierrebizz@hotmail.com>
Date: Mon, 25 Nov 2002 23:16:35 -0500


Try setting your AspCompat=true on your webform

Pierre Bisaillon

"Ricardo Martins" <ricarddo@terra.com.br> wrote in message
news:151d401c2947a$98c03710$89f82ecf@TK2MSFTNGXA01...
All,

    In my company we are using a main application running
over MTS (Windows NT 4) enviroment. This main application
has some COM components (DLLīs) that you can use to access
the main application features.
    The MTS used in main application for a security issue,
request user must be in a DOMAIN to use the system and
itīs true using our COM components too.
    I deploy a little .NET (VB.NET) component using a COM
Interop Version of these DLLīs.
    When I run my dot.net application using Windows Forms
the application works fine, but when I try to use the
component in ASP.NET page I allways receive an exception
from COM component.
    The exception details said that a security error
occurred.
     I think that the problem happen 'cause when I use the
component over ASP.NET enviroment the ASPNET is sent to
MTS enviroment but this user doesnīt exists.
     What I need to do to send a valid user from a
specific domain over ASP.NET page to MTS COM component
enviroment?

Regards
Ricardo Martins
ricarddo@terra.com.br



Relevant Pages

  • COM INterop Security Problem
    ... over MTS enviroment. ... The MTS used in main application for a security issue, ... When I run my dot.net application using Windows Forms ... The exception details said that a security error ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Spreadsheet::ParseExcel on Windows with out Win32::OLE
    ... enviroment without using the Win32::OLE? ... on a cron job that works fine and I wrote it in the Windows enviroment ... UNIX enviroment. ... Now I am trying to add more code that will parse the ...
    (comp.lang.perl.misc)
  • Re: DVI resolution
    ... I am at 800x600 and then get a dialog box in the window environement i cant ... > Are you trying to use the Windows Desktop enviroment or the MCE2005 ... >> My current TV is a Sony CRT based model. ...
    (microsoft.public.windows.mediacenter)
  • Spreadsheet::ParseExcel on Windows with out Win32::OLE
    ... enviroment without using the Win32::OLE? ... on a cron job that works fine and I wrote it in the Windows enviroment ... UNIX enviroment. ... Now I am trying to add more code that will parse the ...
    (comp.lang.perl.misc)
  • Re: Migrating NT 4 PDC to Exisitng Win 2000 AD
    ... give you option for "Addtional domain controller for an exisitng domain" ... Is it your first domain contoller (Windows 2000 enviroment)? ...
    (microsoft.public.win2000.active_directory)