Buy Now!

Unhandled exception after new install

rated by 0 users
This post has 30 Replies | 1 Follower

gpatlanta Posted: Fri, Aug 29 2008 0:22

Just installed the new beta (1.2.08238).  Instead of upgrading, I started fresh since I just did a rebuild to start clean after a poor TV Pack experience.  I installed My Movies first which set up my sql express.

I then followed the steps, got a clean install, and am getting an error when entering the program through VMC.  No matter what entry point I use, I get an unhandled exception with an array out of bounds error at the heart.

Hopefully the below will help...  I'm suspecting it has something to do with the connection to the db since I can click continue, use the app to add shows, but they don't get committed (or added as far as I know) to the db.

Error Message:

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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Example.Form1.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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
RemoteListener
    Assembly Version: 0.2.3148.36890
    Win32 Version: 0.2
    CodeBase: file:///C:/Program%20Files/senseIT/myTV/remotelistener.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.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.

 

Are you running the x64 build perchance?

If you rename the remotelistener.exe file in Program Files\senseIT\myTV it should work fine. Shows not adding is likely a different issue though.

It's like communicating with god. You pray and pray and pray for that bike, but you never get a response or the bike.
Then you figure out how it works; you steal a bike and pray for forgiveness.

Yes, 64 bit.  Will try shortly...thanks. 

Ok, that seems to have resolved the error messages.  Now can someone tell me by chance how to check the db in Sql express?  Added shows just aren't adding for some reason.  I installed fine, so I assume the db is set up correctly.  I'm going to try uninstall and a fresh install and see what happens..

Open to other suggestions...thanks.

Did you run the netsh commands?

If you did, make sure you don't have a firewall blocking any of those ports (9321-9325).

It's like communicating with god. You pray and pray and pray for that bike, but you never get a response or the bike.
Then you figure out how it works; you steal a bike and pray for forgiveness.

My folder structure is the same as I used when running the trial previous version and they worked great.  MyTV is picking up all my shows without a problem and allowing me to select them..it just literally isn't adding them to the db when I tell it to.  By the way, I love the inline banners in the add shows screen....I can't wait to see the rest of the interface in action....just can't get to it yet since there is nothing in my db and I'm in a loop...required to add shows...add shows....no shows in your db...

As to firewall, this is a fresh install of Vista SP1 and I haven't configured anything yet...don't see anything blocking with windows.  To be sure, I just disabled Windows firewall and had the same problem.  Double checked and the service is running and My Movies hitting the same DB is working fine.

 

Forgot to mention...client and server are the same box.  One perhaps unusual thing I have...My shows are on a network drive ... \\tower\tv\tv\tv shows

I configured the xml to point to that directory.  Can't recall, but I'm sure that's how I had it in my last set up...assuming network naming works, right?  It does find the shows...but would that screw something up?  Do I need to put it in quotes or anything?

This is the only thing I changed from the default.

  <ShowFolders>
    <string>\\tower\tv\tv shows</string>
  </ShowFolders>

Interesting.  The only reason I changed it directly is when I first opened MyTV, it threw an error since it was defaulting to a directory that didn't exist in eHome or something.  I recalled the xml update from the last time (didn't realize it was deprecated)... 

from the event viewer...seems to be a TVDB xml error that keeps hanging it up.  These are listed as errors.

Exception thrown accessing getFavorites().
There is an error in XML document (3, 2).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at senseIT.TheTVDBDAL.TheTVDBDAL.getFavorites()
<Error xmlns=''> was not expected.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderUserFavorites.Read4_Favorites()

AND

Exception thrown accessing getSeries().
There is an error in XML document (3, 2).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at senseIT.TheTVDBDAL.TheTVDBDAL.getSeries(String _seriesName)
<Error xmlns=''> was not expected.

Is this by chance something in my control to resolve?  I suspect not...  Please let me know if there are any logs I can pull or diagnostics...

I appreciate the help...  Should I consider uninstalling and installing the old trial version and then upgrade?  With all the Beta testing, has anyone done a from scratch install?  Thought I read Arne discussing VMs so likely yes...

Greg

Page 1 of 3 (31 items) 1 2 3 Next > | RSS