2010-01-12, 06:04 AM
I have not upgraded to either Vista or Win7 yet. A few users have run into problems in these OS's related to security, and I'm hoping someone can shed some light on it for me.
It seems that if a user runs a utility program (i.e. MovieWizManager), that updates a database, it fails when launched from the normal logged on user when trying to perform update on database. But, if run as an administrator, it runs fine.
Do I need to somehow elevate priviledges or something under Vista/Win7 in order to get the normal user to work?
For example:
It seems that if a user runs a utility program (i.e. MovieWizManager), that updates a database, it fails when launched from the normal logged on user when trying to perform update on database. But, if run as an administrator, it runs fine.
Do I need to somehow elevate priviledges or something under Vista/Win7 in order to get the normal user to work?
For example:
Quote:I have only tried this as standalone.
This one starts, both normal and as a administrator.
And the last message is Form1_Load() - Step 3.
But when run as admin, I also get the END when I close the app.
It is possible to edit the db as a administrator with this version. But as a "Normal user", I get the exception below. Looks like I have no right to edit the db.
************** Exception Text **************
System.Data.SQLite.SQLiteException: Attempt to write a read-only database
attempt to write a readonly database
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteTransaction..ctor(SQLiteC onnection connection, Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransacti on(Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransacti on()
at WizPlugin.MovieWizCore.SaveMovieByCategoriesArray( ArrayList list)
at WizPlugin.MovieWizConfigForm.cmdSaveSort_Click(Obj ect sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)