Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Server OLE error
Message
From
23/07/1999 08:38:08
 
 
To
23/07/1999 00:15:05
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00239562
Message ID:
00245245
Views:
13
>>I immediately get the OLE error message "OLE error code ... Access is denied". I also tried building the EXE into a plainjane directory I created on the server and got the same results. Since I am building and trying to create the object interactively from the same account, I don't see how security would be an issue here. Nevertheless, I'm sure there's some security problem here but I don't know what it is, and unfortunately my knowledge of web servers and configurations is still in it's infancy. Any more thoughts you all have would be appreciated.
>>
>>Thanks,
>>Bill
>
>Bill,
>
>I don't know what to tell ya... I just did this an it works fine (NT WorkStation). Also, as you say when you are on the same machine, you are using COM not DCOM so the COM object just runs since you don't need permission to run something locally. At least, I don't think you do.
>
>Are you logging on as that machines Administrator? Or as a user on that machine that is equv to Admin, or a Domain account that is supposed to be an Admin?
>
>BOb

Thanks fo sticking with me Bob ( and EriK ). Yeah, I had it working locally on my NT Workstation no problem. Was logged on to NT Server box as an administrator to build and interactively test the COM server. Turns out I needed to add the account I was logged as into the "Allow Access" list in Default Security in DCOMCNFG. Once I did this I got access. may be something else that could be done security wise like adding another local group of administrators or something like that. haven't looked at that aspect any more. Had some other problems after that but got them worked out. I'm learning that NT Server and NT Workstation are quite different animals in the security context ... or at least it seems that way to me, particularly when you're dealing with domains, etc. This is an area I need some training in, cause I'm still pretty ignorant in it. I don't really want to be a LAN/Network/Domain/Web Server admin type, :-) but it seems if you're gonna be developing these things you gotta learn some of it.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform