Solved

Permissions required to READ Windows registry by an isapi dll ?

Posted on 2011-03-09
3
1,055 Views
Last Modified: 2012-08-13
Hi
Given an isapi dll created with Delphi / IntraWeb 10.0.23 running on IIS6 (Win2003), I'm having a problem getting to read values from the server's registry.
I have no obvious problem with the code, which runs just fine inside the same application compiled as a standalone server, running on my development machine (WinXP).
This appears to be a permissions issue and I have progressively/selectively allowed upto 'Full Control' on the group/user accounts for the isapi.dll in NTFS with particular attention to the IUSR_xxxxxx account (which for typical usage would need to be Read & Execute). The registry values just don't get read whatever permissions I set. The read requests are explicitly coded as so ... and I think that I should be able to do this. There are no errors generated.

Can you help with advice regarding permissions ?
Is there possibly a setting within IIS6 which applies to an/the isapi dll ? ...
I've looked at the dll's properties within IIS6 but as yet found nothing to help.

thanks and best regards

RR
0
Comment
Question by:RetroRocker
  • 2
3 Comments
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 35088599
I'm not a web server admin so take my lack of knowledge ansers in the helpful manner they are intended.

just a hunch, but it probably inherits the permission of the web server (IIS service?)
if it's worth a check, use the services.msc and change the service to log in as a specific account that has the rights you need (e.g. try "administrator" for a quick test)
make a note of what user the service is currently using though, so you can change it back.

If this works then at least we know we're on teh right track, and can use an appropriate user and settings for the web server
0
 

Accepted Solution

by:
RetroRocker earned 0 total points
ID: 35129399
Thanks for the help anyhow. I was already working as a 'Administrator' on this server in any case. I have now found the solution and it turned out to be nothing so complex as permissions ... and we know how complex they can be :)
I had missed the fact that the registry keys I needed to read should reside below the 'Wow6432Node' registry node because this was a 32 bit process running on a 64 bit server ... oh well ;)

RR
0
 

Author Closing Comment

by:RetroRocker
ID: 35170845
Own solution found as posted above.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now