I got a USB webmail notifier, and I get this .NET exception  

Page 1 of 2 12 LastLast

  1. Posts : 15
    California
       #1

    I got a USB webmail notifier, and I get this .NET exception


    I recently bought a small postbox webmail notifier, and immediately faced a problem. The driver came in a MiniDvD. I figured out how to install it (by putting it into the little indentation) and got the driver running. I set up my email, and marked a test email as unread. I waited a bit, and this error came up:
    An attempt was made to load a program with incorrect format.
    (Exception from HRESULT: 0x8007000B)
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
    at USBWebmailNotifer.USBWebmail.OpenUSBDevice(Int32 VID, Int32 PID)
    at USBWebmailNotifer.USBWebmail.WriteUSB()
    at USBWebmailNotifer.USBWebmail.ChkNewToolStripMenuItem_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(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.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Webmail Notifier
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Webmail%20Notifier/Webmail%20Notifier.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    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.5485 (Win7SP1GDR.050727-5400)
    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.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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:

    <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 computer
    rather than be handled by this dialog box.


    The built in software notifier works, but the postbox doesn't light up and do the things it should. I also (seemingly randomly) get the error from time to time, and it doesn't seem like anything will work. I tried to use compatibility mode, but to no avail.
      My Computer


  2. Posts : 15
    California
    Thread Starter
       #2

    Bump? I really need help with this one.
      My Computer


  3. Posts : 572
    Windows 7 Professional x64
       #3

    I would hazard that it is a poorly written driver or compatibility issue. What is the brand of the USB notifier? Also What version of Windows 7 are you running? Home, Pro, Ult? Sp1 installed? (this is why we ask for this stuff in the specs). Does the Manufacturer have updated programing or drivers on the web?

    It looks like it is trying to run dotnet 4 like it would 2.0 or 3.5. That alone will throw all kinds of errors. Is it in a 2.o or 3.o port? Is it stated to be compatible with either?

    I know it is a lot of questions but necessary to figure out where the issue lays.
      My Computer


  4. Posts : 4,161
    Windows 7 Pro-x64
       #4

    Yea, that's a programming error or you tried to install the wrong drivers--32-bit vs 64-bit. If the installer doesn't give you a choice, it should be automatic. If it was an automatic installer, get updated software from the manufacturer or return the device for a refund. Typically, these "budget" devices have software written by a third party out of a basement. :)
      My Computer


  5. Posts : 15
    California
    Thread Starter
       #5

    No specific brand. Running Home 64bit. Sp1 installed. No website; got it on dx.com.
    Post Box Design Hi-Speed USB 2.0 3-Port Hub Webmail Notifier - Red + Yellow - Free Shipping - DealExtreme
      My Computer


  6. Posts : 15
    California
    Thread Starter
       #6

    Also, here's a dll that was in the program folder, if that's of any help.
      My Computer


  7. Posts : 572
    Windows 7 Professional x64
       #7

    toxnn said:
    No specific brand. Running Home 64bit. Sp1 installed. No website; got it on dx.com.
    Post Box Design Hi-Speed USB 2.0 3-Port Hub Webmail Notifier - Red + Yellow - Free Shipping - DealExtreme
    Return it if possible if not call it a loss. I know you may not believe this however there is a real risk using unbranded unsupported peripherals on your computer. from hardware that is at risk of fire , hardware damage and believe it or nor Nasty Nasty malware and Viruses.

    There are many references to usb devices out of china harboring such malware.

    Check on newegg or amazon for like devices and check out the brands website before purchase. If this is a needed device you are going to pay a couple bucks more. I know this isn't what you probably want to hear but your better off safe than destroying your machine.
      My Computer


  8. Posts : 572
    Windows 7 Professional x64
       #8

    toxnn said:
    Also, here's a dll that was in the program folder, if that's of any help.
    that dll shows 32bit compatibility but it is tossing 64 bit commands.

    without re writing the driver its a risk at best
      My Computer


  9. Posts : 15
    California
    Thread Starter
       #9

    Darn. Is it possible to run it in some kind of 32bit compatibility mode? I think the problem is that it doesn't support 64bit, from my limited knowledge. If not, I'll just call it a loss and it'll probably collect dust on my shelf.
      My Computer


  10. Posts : 572
    Windows 7 Professional x64
       #10

    That is one hokey listing, no actual os support listed, poor grammar, surely not really a USA listing.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:20.
Find Us