Unhandled Exception

Discussion in 'Software' started by linuxpowers, Feb 2, 2010.

  1. linuxpowers

    linuxpowers Specialist

    Hi folks!

    I recently went through the process of malware removal in the malware forum and everything is running great.

    But, I seem to be running into an issue with some software that was installed prior to the cleaning process. This program is called "Switched-On" which is a program we use for our daughters schooling.

    The problem I'm running into is that when my daughter logs into her windows user account, she can't get the program "Switched-On" to load. Instead, she gets the following error message:

    An Unhandled Exception has occurred in a component in your application. Click continue and application will ignore this error and attempt to continue.

    When I click for details, I get:

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

    ************** Exception Text **************
    System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
    at System.Data.SqlClient.SqlConnection.Open()
    at AOP.ArcInsignia.Data.SQLServerDataAccess.GetStudents(Boolean blnActiveOnly)
    at AOP.SOS.UI.Home.StudentLoginFrm.LoadCombo()
    at AOP.SOS.UI.Home.StudentLoginFrm.LoginFrm_Load(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6060
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
    ----------------------------------------
    SOSHStudentApp
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/SOSHStudentApp.exe
    ----------------------------------------
    System.Drawing
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    System
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
    ----------------------------------------
    SOSCore
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/bin/SOSCore.DLL
    ----------------------------------------
    SOSInterface
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/bin/SOSInterface.DLL
    ----------------------------------------
    ArcCore
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/bin/ArcCore.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
    ----------------------------------------
    SOSHUI
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/bin/SOSHUI.DLL
    ----------------------------------------
    SOSUI
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/SOSUI.DLL
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.00.9951
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.3300.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
    ----------------------------------------
    ArcData
    Assembly Version: 2.0.0.34
    Win32 Version: 2.0.0.34
    CodeBase: file:///C:/Program%20Files/AOP/Switched-On%20Schoolhouse/bin/ArcData.DLL
    ----------------------------------------
    System.Data
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll
    ----------------------------------------
    System.EnterpriseServices
    Assembly Version: 1.0.3300.0
    Win32 Version: 1.0.3705.6018
    CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.3300.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (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:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

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


    I've gone back to my administrator account and checked any services I might have changed, due to the SQL server information. I see the MYSQLserver is running so I assume she is being denied access. For experimental purposes, I changed her account (for now) to an administrative type account and now she can get access to the server. So, apparently she is being denied access to the MYSQLserver. Is there any way to allow her access without giving her administrative capabilities?

    I'm not sure I'm even explaining this the correct way or even asking the right questions because I'm not that familiar with MYSQL or database type programs.
     
  2. brandypeppy

    brandypeppy MajorGeek

    The process of removing malware frequently results in other system or program problems. I liken it to chemo-therapy for cancer patients, collateral damage can occur.
    Unless somebody here is real familiar with your program and can give an interpretation of your logs, I would suggest the best fix may be to reinstall this program, finding a way to save all of your data first of course.
    I typically run dialafix, http://majorgeeks.com/downloadget.php?id=4899&file=15&evp=7d21ae5c611baf9a52b1750805534dda, after removing malware but I wouldn't count on it to solve your problem.:wave
     
  3. linuxpowers

    linuxpowers Specialist

    Thanks brandypeppy, re-installing the program was my last resort...which now might be my first! :)

    That's a great analogy comparing the malware cleaning process to chemo! I have noticed many little "glitches" here and there but, as in most versions of windows I've had installed, these little "glitches" are fairly common and take time to work out. I find I'm doing just that all over again!

    Thanks brandypeppy, I'll respond to this thread once I do a re-install!

    Linuxpowers
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds