Ask a Question related to ASP.NET Security, Design and Development.
-
Oleg Skopincevs #1
Problems accessing DCOM component
Hi folks,
I am stuck on a problem of creating an object via DCOM from a webservice
component. Code:
Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon", LogonServer)
Is there some kind of security involved in accessing DCOM components? If
yes, what kind? Is it configurable?
Will appritiate any help.
Cheers,
Oleg
Oleg Skopincevs Guest
-
Accessing an object in one component from anothercomponent
So I have an application that contians a component that contians a VBox which it self contains a Text component. Here's the code "The... -
Accessing a ComboBox from the parent component
I have a component that contains several other components and a combobox with date values. I want to be able to access the value of the combobox... -
Problem with accessing component
Hi, In my application to my components I am passing the typed reference to the application . E.g I have one component as <comp:reports... -
Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registred Component
Heres is a workaround, 1. go to Administrative Tools> Component Services 2. expand COM Services and right click on My computer. 3. click... -
Accessing VJ++ COM Component From ASP Page
Hi Friends, I had written a VJ++ COM DLL which uses some jar files.I tried to access the DLL from a VB Standard Exe and it worked fine.But,when i... -
Jan Tielens #2
Re: Problems accessing DCOM component
If you didn't do anything special, you'll probably use the ASPNET account to
run your web services. So you must check if this account has enough rights
to access the DCOM object.
To make sure it involves security (or related) problems, I usually try to
run the service with an admin account. BUT DO NOT FORGET TO RESTORE THE
ORIGINAL SETTINGS! :-)
--
Greetz
Jan Tielens
________________________________
Read my weblog: [url]http://weblogs.asp.net/jan[/url]
"Oleg Skopincevs" <skopoleg@hotmail.com> wrote in message
news:OXNqpzV8DHA.3348@TK2MSFTNGP09.phx.gbl...webservice> Hi folks,
>
> I am stuck on a problem of creating an object via DCOM from aLogonServer)> component. Code:
>
> Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon",If>
> Is there some kind of security involved in accessing DCOM components?> yes, what kind? Is it configurable?
>
> Will appritiate any help.
>
> Cheers,
> Oleg
>
>
>
Jan Tielens Guest
-
Oleg Skopincevs #3
Re: Problems accessing DCOM component
Hi Jan,
Thanks for reply. What service is it you are referring to? There is one
called 'ASP.NET State Service' which was not running at all. And it's the
only service set to run under ASPNET account.
Oleg
"Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
news:uuUlQ5V8DHA.2480@TK2MSFTNGP10.phx.gbl...to> If you didn't do anything special, you'll probably use the ASPNET account> run your web services. So you must check if this account has enough rights
> to access the DCOM object.
>
> To make sure it involves security (or related) problems, I usually try to
> run the service with an admin account. BUT DO NOT FORGET TO RESTORE THE
> ORIGINAL SETTINGS! :-)
Oleg Skopincevs Guest
-
George Ter-Saakov #4
Re: Problems accessing DCOM component
Yes. If you want to access DCOM object.
You must take security into consideration.
As i understand your DCOM object is a standalone exe.
You need to run dcomcnfg.exe and give ASP.NET account permissions to start
and access permissions.
You can do it 2 ways.
1. Per APPID just find it in the list of Applications and Click "Properties"
then tab Security
2. Global. Just go and change it in tab "Default Security"
Also in Identity tab you can specify the account this DCOM object will run
under.
You can use "Launching user" if you do not need anything special. Then your
EXE will run under ASP.NEt account.
Georger.
"Oleg Skopincevs" <skopoleg@hotmail.com> wrote in message
news:OXNqpzV8DHA.3348@TK2MSFTNGP09.phx.gbl...webservice> Hi folks,
>
> I am stuck on a problem of creating an object via DCOM from aLogonServer)> component. Code:
>
> Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon",If>
> Is there some kind of security involved in accessing DCOM components?> yes, what kind? Is it configurable?
>
> Will appritiate any help.
>
> Cheers,
> Oleg
>
>
>
George Ter-Saakov Guest



Reply With Quote

