Hi folks,
I am stuck on a problem of creating an object via DCOM from a webservice
component. Code:
Dim sl As LogonSrv.SysLog on = CreateObject("L ogonSrv.SysLogo n", 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 3 1505
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: http://weblogs.asp.net/jan
"Oleg Skopincevs" <sk******@hotma il.com> wrote in message
news:OX******** ******@TK2MSFTN GP09.phx.gbl... Hi folks,
I am stuck on a problem of creating an object via DCOM from a
webservice component. Code:
Dim sl As LogonSrv.SysLog on = CreateObject("L ogonSrv.SysLogo n",
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
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" <ja*@no.spam.pl ease.leadit.be> wrote in message
news:uu******** ******@TK2MSFTN GP10.phx.gbl... 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! :-)
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" <sk******@hotma il.com> wrote in message
news:OX******** ******@TK2MSFTN GP09.phx.gbl... Hi folks,
I am stuck on a problem of creating an object via DCOM from a
webservice component. Code:
Dim sl As LogonSrv.SysLog on = CreateObject("L ogonSrv.SysLogo n",
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike Carter |
last post by:
DCOM people,
I used to use TIBCO Rendezvous software to do the following, but I
can't anymore, so I have implemented my solution using DCOM.
I have a DCOM server component that receives events from an external
data provider, writes this data to a SQL Server database and raises a
new data event.
This event is then received by several "listening" client components.
|
by: IMRAN SAROIA |
last post by:
Dear friends,
I have implemented COM componet from .Net Assembly
to be used by my old apps by creating a class and compiling it as an
assembly and also regestring it.
How can we implement the same component as
DCOM?
I have tried "DCOMCNFG.EXE" to setup DCOM.
|
by: Gabby Shainer |
last post by:
Hello,
I've written an ATL web server that implements a HelloDCOM method which then
calls a DCOM EXE server only to return the bstrInput prefixed by a "Hello "
string.
When calling the DCOM interface, I get an E_ACCESSDENIED (0x80070005) error
code in return. What am I doing wrong?
my WebService method code:
|
by: Stuart Dee |
last post by:
Hi,
How do i create a dcom or com+ component with visual basic
dot net. Ive actually created it but the article tells me
to register tlb and insert into gac
How do I put it into MTS as a dcom component
Any good articles
Tia
|
by: Andreas Hecker |
last post by:
Hello,
does anybody know a little DCOM example or tutorial in VB.Net which runs on
two seperate machines to simulate the network communication. I couldnt find
any useful samples in the web but we have to develop a dcom component and i
dont know the steps necessary to connect over the wire.
thank you
Andreas
| |
by: Kyle Adams |
last post by:
I don't know where is the right place to ask this so I will start here.
Can someone explain to me what these represent? I think they all have to do
with the middleware level, but I really don't understand what a DCOM Server
is or a Microsoft Transaction Server, etc. I have no idea....
Kyle
|
by: kozen |
last post by:
hi,
I'm developing a WebService that uses a DCOM server at the same machine.
When I call a method of the DCOM, I get an "UnauthorizedAccessException:
Access denied" exception at some machine but others are ok. And invoking the
same DCOM-Component from a WinForms .NET Application is always ok.
My IIS WebService Site is an Anonymous Site.My DCOM-component's
configuration is that
Authentication level is "None";
User identity is "The...
|
by: nikhil.bharathesh |
last post by:
Hi all,
I have a DCOM being referenced in my Web APP(VB.NET). in one of the
classes i try to instantiate a Cl(VB.Net)ass present in my DCOM
component. While doing the same i get this error :
"Exception Details: System.UnauthorizedAccessException: Access is
denied.
ASP.NET is not authorized to access the requested resource. Consider
|
by: Skylark |
last post by:
Hi Everyone!
The problem seems followig way: there is a client application, which connects to server by
1. DCOM, if such dcom component have been found on the remote computer (either computer's name or ip-address is refer in ini-file). We know only com-component name, but don't know GUID, so I think, it is to list all of the registered dcom components and choose one with the proper name from them.
2. COM, if dcom-component haven't been...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |