Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an application which can run as admin prevailed user without error but while administrator runs it it produces error. The input string was not in correct format-application error. I tried to figure it out but not possible, since most of the people are looking for admin privilege to run it, me looking why can't a admin run the program without errors? The program is related to mssql-2008 r2. The SQL log-in settings are same for both the users.

share|improve this question
    
I would assume the program has to be run as administrator. Can you test by right clicking the application, properties and under compatibility check the Run as Administrator. I know this isn't answering you but I'm curious if it fixes it. –  Dave Nov 7 '12 at 10:35
    
@DaveRook Thanks for the response. Sorry I did not mention that I am logged in as administrator and running it as administrator, it is a windows server 2003. –  tough Nov 7 '12 at 10:42

1 Answer 1

up vote 3 down vote accepted

Most likely, administrator and regular user have different regional settings. For example, user has numbers formatted as "1,234.56" and admin as "1 234,56".

You may check this by running powershell as admin and user and checking for differences in output of:

(123456).ToString("N")

[DateTime]::Now

share|improve this answer
    
Thanks a lot, It seems you are right, yet to test, I will get as soon as I test it. –  tough Nov 7 '12 at 11:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.