Logon Studio Vista throws unhandled exception error

And a fix for it

I just started getting this error when trying to apply any logon with Logon Vista. The error is an unhandled exception within the .NET framework when trying to replace the file imageres.dll. This error did not occur a week ago, the last time I applied a logon. I have removed and reinstalled the application. If I try to load the default logon the screen goes back to logon but the last Logon Studio image I loaded comes up, not the Vista default.

I Fianlly went into the System32 folder and renamed the IMAGERES.DLL file and then the new one I wanted applied just fine. Just wanted to post this uees in case someone else runs across it.


The details from the .NET framework error dialog are:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The file 'C:\Windows\system32\imageres.dll' already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at i.a(String A_0, Boolean A_1)
at b.c()
at b.n(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
LogonStudioVista
Assembly Version: 1.0.0.5
Win32 Version: 1.0.0.5
CodeBase: file:///C:/Program%20Files/Stardock/Object%20Desktop/LogonStudio/LogonStudioVista.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
AxInterop.WBOCXLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Stardock/Object%20Desktop/LogonStudio/AxInterop.WBOCXLib.DLL
----------------------------------------
Interop.WBOCXLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Stardock/Object%20Desktop/LogonStudio/Interop.WBOCXLib.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:



When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


30,627 views 4 replies
Reply #1 Top
Oh, I forgot to include version info for Logon Studio. I was already running 1.00.002. Before I did the remove and reinstall.
Reply #2 Top
There is something causing this problem to re-occur on my system. I just went to apply a new logon and it happened again. However i have changed the logon a couple of times since the last occurance so it is intermittant, or the tigger is something other than just switching.
Reply #3 Top

dude i have same problem that's why logonstudio is not right choice modifying files can be dangerous

Reply #4 Top

My problem was causes by some sort of Active Directory issue. I saw another post that mentioned leaving the domain and retrying. I can't say that this was the solution because before leaving the domain I went through my Group Policy Objects and changed the security filtering for some of the groups. I had not had a problem with using Logon Studio in  a domain until just recently. I left the domain and tried it under a local account, and it worked. Then I rejoined the domain and tried it under my usual account and it worked. I wish I could provide the policy setting that was the culprit, but I just don't know what caused it. If you are a part of a domain and it is possible for you to leave it, do so, and see how it goes. It's worth a try.