Re: Problems:: ASP.NET & COM+

From: Tommy (Websoftwares_at_Hotmail.com)
Date: 02/06/04


Date: 6 Feb 2004 09:05:34 -0800

By default, an ASP.NET web application runs under the "ASPNET" user.
This is a local user on the web server, and will not be able to access
network resources.

Try changing your web application to run under a network user by
adding the following section to the Web.Config file.

<identity impersonate="true"
    userName="domain\user"
    password="master"
/>

Tommy,

l-touched <anonymous@discussions.microsoft.com> wrote in message news:<0E7650F3-905C-482F-BE9C-05C6FCA2B9A5@microsoft.com>...
> Hi!,
>
> I am developing with ASP.NET (VB.NET), I have my web server hosting my aspx pages, in another server I have my COM+ components, I have exported my
Application Proxy from that component, I have installed that
Application Proxy in the web server, both of them servers are in the
same domain. I have probed that my Application Proxy without problems
in Windows Forms, creating my instances using "CreateObject" statement
[p.e. Dim oAnything As Object = CreateObject("Some.Object") ], without
make any previus reference to nothing.
>
> BUT!... but when I want to reproduce the same case using Web Forms.... appear an error when I want to instance the Object [remember: Dim oAnything As Object = CreateObject("Some.Object")], The error is: "Access is Denied".
>
> NOTE: I hope to be clear explani you my case, if you have any question plese write it.
>
> Could someone help me with some code, steps, online article, etc?.
>
> Thanks in advance,
>
> l-touched



Relevant Pages