The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Non-Admin Problems with The Regulator

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter G Provost

Posts: 849
Nickname: pprovost
Registered: Aug, 2003

Peter G Provost is a Solution Architect for Interlink Group in Denver, CO.
Non-Admin Problems with The Regulator Posted: Mar 2, 2005 3:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter G Provost.
Original Post: Non-Admin Problems with The Regulator
Feed Title: Peter Provost's Geek Noise
Feed URL: /error.aspx?aspxerrorpath=/Rss.aspx
Feed Description: Technology news, development articles, Microsoft .NET, and other stuff...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter G Provost
Latest Posts From Peter Provost's Geek Noise

Advertisement

Today I needed to quickly check out a nasty regular expression for a project I’m working on. I’ve used Roy Osherove’s Regulator before and always been impressed by it, so I went and grabbed the most recent version.

Installed as Administrator of course, but then I launched it as a non-admin (of course). I got this error dialog:

Regulator_Error1

Oops. I pressed OK and the app came up just fine. (Actually the error dialog was obscured by the “Always on top” splash screen, which made it kinda hard to click, but as a keyboard guy I figured it out.)

So I closed it. And got this error…

Regulator_Error2

Now both of those errors are obvious LUA problems. Writing to a settings file in C:\Program Files is a no-no. Settings belong in your user profile (C:\Documents and Settings\Username) or in HKLM, not in the app install folder.

Interestingly there is another error in the app. When I run it LUA and try to maximize it, I get an “Object Reference Not Set” exception thrown by an overridden WinProc. I’m not sure what is going on in there, but it ain’t good. For the record, when I run the app an as Administrator it works just fine.

Let this be a reminder to all of you to at least test your app as non-admin. Even better, unless you absolutely can’t, do all of your development as non-admin.

UPDATE: Apparently Roy knows about this already and is working on a fix. Hurry up man!

Now playing: A Perfect Circle - Blue (Remix)

Read: Non-Admin Problems with The Regulator

Topic: CERapi update Previous Topic   Next Topic Topic: Test post from Sauce reader...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use