Solved

Permissions required to READ Windows registry by an isapi dll ?

Posted on 2011-03-09
3
1,062 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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