Jump to content
  • Advertisement
Sign in to follow this  
antareus

[.net] Admin access needed?

This topic is 4964 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

We got a report from a customer that claims that my component (DLL) written in C# will not load unless the user running the program has administrator access. The problem comes when the DLL is actually loaded into memory. As far as I can see, I'm not doing anything special here. I pretty much just do a lot of low level numeric manipulation, as well as using the Collections library and a few unchecked arithmetic code blocks. Anyone have any ideas about this?

Share this post


Link to post
Share on other sites
Advertisement
Do you do any registry access or access any system folders, ie program files, or Windows.

I have found that if you need to access an AccessDB or configuration files that are in the system directory (Not the app.config) you need to have access to the directories.

Share this post


Link to post
Share on other sites
I should have followed up at the time.

It was a dumb mistake on my part, I was making a log file in the root of C:\. This isn't allowed as a normal user.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!