Jump to content

Invalid Application after update


SteveS

Recommended Posts

SteveS

My system is:

 

Media Browser Server 3.0.5597.1

Media Browser Classic 3.0.58.0

 

Yesterday Media Browser Classic requested to update from 258 to 266 and I let it.  After the update MBC gave me the "invalid application" error.

 

Here are two logs from yesterday.  Please note that I have tried to uninstall and reinstall several times, so that may be in the logs.

 

FIRST LOG:

015-05-08 22:15:37.0601,Debug,,Attempting to wake server at address 08-62-66-30-FE-E1,1,Application
2015-05-08 22:15:37.0701,Debug,,Wake command sent,1,Application
2015-05-08 22:15:37.1101,Debug,,=========System looking for assembly: System.Data.SQLite,, Version=1.0.61.0,, Culture=neutral,, PublicKeyToken=db937bc2d44ff139,1,Application
2015-05-08 22:15:37.1101,Info,,System.Data.SQLite,, Version=1.0.61.0,, Culture=neutral,, PublicKeyToken=db937bc2d44ff139 is being resolved to System.Data.SQLite,, Version=1.0.88.0,, Culture=neutral,, PublicKeyToken=db937bc2d44ff139,1,Application
2015-05-08 22:15:37.1401,Info,,==========Using new SQL Repo========,1,Application
2015-05-08 22:15:37.3601,Info,,Playstate initialization took 0.01 seconds.,1,Application
2015-05-08 22:15:37.4001,Info,,Successfully loaded fastload data for : C:\ProgramData\MediaBrowser-Classic\Cache\playstate MediaBrowser.Library.Entities.PlaybackStatus,13,Worker thread for Fast Load Loader
2015-05-08 22:15:37.4101,Info,,Using String Data from C:\ProgramData\MediaBrowser-Classic\Localization\strings-en.xml,1,Application
2015-05-08 22:15:37.4201,Info,,Total Kernel Init took 0.37 seconds.,1,Application
2015-05-08 22:15:37.4601,Info,,Finished validating : C:\ProgramData\MediaBrowser-Classic\Cache\playstate MediaBrowser.Library.Entities.PlaybackStatus,13,Worker thread for Fast Load Loader
2015-05-08 22:15:37.4601,Info,,Dictionary loading and validation took 0.11 seconds.,13,Worker thread for Fast Load Loader
2015-05-08 22:15:37.5601,Info,,Information DisplayText: Welcome to Media Browser,1,Application
2015-05-08 22:15:37.5901,Info,,Media Browser (version 3.0.262.0 ) Starting up.,1,Application
2015-05-08 22:15:37.5901,Info,,Startup parameters: ,1,Application
2015-05-08 22:15:38.1001,Info,,Connected to server MEDIA-PC at http://192.168.1.69:8096,1,Application
2015-05-08 22:15:38.1001,Info,,Server version: 3.0.5597.1,1,Application
2015-05-08 22:15:38.6501,Info,,Application Init took 1.23 seconds.,1,Application
2015-05-08 22:15:41.5601,Info,,Information DisplayText: Welcome to Media Browser,1,Application
2015-05-08 22:15:42.6001,Debug,,Sending Http Post to http://192.168.1.69:8096/mediabrowser/Users/fe8e98c1df54d9b502474bab46ee8982/Authenticate?format=Json,20,Worker thread for Load user
2015-05-08 22:15:42.6501,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/System/Configuration?format=Json,20,Worker thread for Load user
2015-05-08 22:15:42.7101,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/System/Info?format=Json,20,Worker thread for Load user
2015-05-08 22:15:42.9401,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/Channels?userid=fe8e98c1df54d9b502474bab46ee8982&format=Json,20,Worker thread for Load user
2015-05-08 22:15:42.9601,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/Plugins?format=Json,20,Worker thread for Load user
2015-05-08 22:15:42.9701,Info,,*** Theme in use is: Chocolate,20,Worker thread for Load user
2015-05-08 22:15:43.0101,Debug,,=========System looking for assembly: MediaBrowser,, Version=3.0.260.0,, Culture=neutral,, PublicKeyToken=59fc04479785fd64,1,Application
2015-05-08 22:15:43.0101,Info,,Plug-in reference to MediaBrowser,, Version=3.0.260.0,, Culture=neutral,, PublicKeyToken=59fc04479785fd64 is being linked to version 3.0.262.0,1,Application
2015-05-08 22:15:43.0101,Debug,,Added Plugin assembly: Chocolate,, Version=3.0.8.2,, Culture=neutral,, PublicKeyToken=cbacf2b624ff6ad4,1,Application
2015-05-08 22:15:43.0401,Info,,Using String Data from C:\ProgramData\MediaBrowser-Classic\Localization\Chocolate-strings-en.xml,1,Application
2015-05-08 22:15:43.0601,Info,,Chocolate Theme (version 3.0.8.2) Loaded.,1,Application
2015-05-08 22:15:43.0601,Info,,Plugin Loading and Init took 0.09 seconds.,1,Application
2015-05-08 22:15:43.0801,Debug,,=========System looking for assembly: WebSocket4Net,, Version=0.12.0.0,, Culture=neutral,, PublicKeyToken=eb4e154b696bf72a,1,Application
2015-05-08 22:15:43.0801,Info,,Resolving WebSocket4Net,, Version=0.12.0.0,, Culture=neutral,, PublicKeyToken=eb4e154b696bf72a to C:\ProgramData\MediaBrowser-Classic\websocket4net.dll,1,Application
2015-05-08 22:15:43.1101,Info,,Connected to ws://192.168.1.69:8096/mediabrowser,1,Application
2015-05-08 22:15:43.1301,Debug,,Loading display prefs for C:\Users\Media\AppData\Roaming\MediaBrowser-Server\root\default,1,Application
2015-05-08 22:15:43.7501,Debug,,=========System looking for assembly: Chocolate,1,Application
2015-05-08 22:15:43.7501,Info,,Resolving plug-in reference to: Chocolate,1,Application
2015-05-08 22:15:43.9601,Debug,,Loading display prefs for C:\Users\Media\AppData\Roaming\MediaBrowser-Server\root\default,1,Application
2015-05-08 22:15:44.0301,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/Images/General?format=Json,1,Application
2015-05-08 22:15:44.1201,Debug,,Could not find resource 'rated_none' in theme Chocolate,1,Application
2015-05-08 22:15:44.1201,Debug,,===CustomImage resx://MediaBrowser/MediaBrowser.Resources/rated_none being cached on first access.  Should only have to do this once per session...,1,Application
2015-05-08 22:15:44.3401,Info,,RAL child retrieval for Favorites option unwatched took 0.08 seconds.,30,Worker thread for Newest Item Loader
2015-05-08 22:15:44.3401,Debug,,unwatched list for Favorites loaded with 0 items.,30,Worker thread for Newest Item Loader
2015-05-08 22:15:50.1901,Info,,RAL child retrieval for TV option unwatched took 0.12 seconds.,30,Worker thread for Newest Item Loader
2015-05-08 22:15:50.1901,Debug,,unwatched list for TV loaded with 4 items.,30,Worker thread for Newest Item Loader
2015-05-08 22:15:53.0001,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/Plugins/RegistrationRecords/mbsupporter?Mb2Equivalent=mbsupporter&format=Json,37,Worker thread for mbsupporter registration check
2015-05-08 22:15:53.1701,Info,,Sending Http Get to http://192.168.1.69:8096/mediabrowser/Packages/MBClassic?format=Json,38,Worker thread for UPDATE CHECK
2015-05-08 22:15:53.8301,Debug,,New version 3.0.266 found.,38,Worker thread for UPDATE CHECK
2015-05-08 22:16:05.6081,Debug,,Updating to version 3.0.266.,38,Worker thread for UPDATE CHECK
 
SECOND LOG:
=== Logging started: 5/8/2015  23:12:54 ===
Action start 23:12:54: INSTALL.
Action start 23:12:54: FindRelatedProducts.
Action ended 23:12:54: FindRelatedProducts. Return value 1.
Action start 23:12:54: AppSearch.
Action ended 23:12:54: AppSearch. Return value 1.
Action start 23:12:54: LaunchConditions.
Action ended 23:12:54: LaunchConditions. Return value 1.
Action start 23:12:54: WixQueryOsWellKnownSID.
Action ended 23:12:54: WixQueryOsWellKnownSID. Return value 1.
Action start 23:12:54: ValidateProductID.
Action ended 23:12:54: ValidateProductID. Return value 1.
Action start 23:12:54: CostInitialize.
Action ended 23:12:54: CostInitialize. Return value 1.
Action start 23:12:54: FileCost.
Action ended 23:12:54: FileCost. Return value 1.
Action start 23:12:54: CostFinalize.
Action ended 23:12:54: CostFinalize. Return value 1.
Action start 23:12:54: CA_RegisterMceApp_Unregister_Install_Cmd7.
Action ended 23:12:54: CA_RegisterMceApp_Unregister_Install_Cmd7. Return value 1.
Action start 23:12:54: CA_RegisterMceApp_Register_Cmd7.
Action ended 23:12:54: CA_RegisterMceApp_Register_Cmd7. Return value 1.
Action start 23:12:54: CA_RegisterMceApp_Rollback_Cmd7.
Action ended 23:12:54: CA_RegisterMceApp_Rollback_Cmd7. Return value 1.
Action start 23:12:54: InstallValidate.
Action ended 23:12:54: InstallValidate. Return value 1.
Action start 23:12:54: RemoveExistingProducts.
CustomAction  returned actual error code 1612 (note this may not be 100% accurate if translation happened inside sandbox)
Error 1714. The older version of Media Browser Classic cannot be removed.  Contact your technical support group.  System Error 1612.
MSI (s) (80:94) [23:12:54:543]: Product: Media Browser Classic -- Error 1714. The older version of Media Browser Classic cannot be removed.  Contact your technical support group.  System Error 1612.
 
Action ended 23:12:54: RemoveExistingProducts. Return value 3.
Action ended 23:12:54: INSTALL. Return value 3.
=== Logging stopped: 5/8/2015  23:12:54 ===
MSI (s) (80:94) [23:12:54:543]: Windows Installer installed the product. Product Name: Media Browser Classic. Product Version: 3.0.266.0. Product Language: 1033. Manufacturer: Media Browser Team. Installation success or error status: 1603.
 
========================
 
Here is the Windows event log General for Media Center when MBC failed:
Log Name:      Media Center
Source:        ehExtHost
Date:          5/9/2015 2:49:37 PM
Event ID:      0
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      Media-PC
Description:
Exception Microsoft.MediaCenter.Hosting.Infrastructure.InvalidAddInException: Unable to load invalid add-in MediaBrowser.MyAddIn, MediaBrowser,Culture=Neutral,Version=3.0.262.0,PublicKeyToken=59fc04479785fd64
 
at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.ExtensibilityPlugInLaunchInfo.LoadAddIn()
   at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.Launch(Object& objState)
   at MediaCenter.Extensibility.ExtensibilityEntryPoint.Launch(PageBasedUCPService ucp, Object objMediaContext, Object[] entryPointParameters, String altPageUrl, ExtensibilityAutomation& exautoUsed)
 
InnerException System.ArgumentException: Unable to load assembly: MediaBrowser,Culture=Neutral,Version=3.0.262.0,PublicKeyToken=59fc04479785fd64
Parameter name: fullName
 
 
Server stack trace: 
   at MediaCenter.Extensibility.RemoteTypeLoader.CreateInstance(String fullName, Assembly& asm)
   at MediaCenter.Extensibility.AddInLoader.CreateInstance(String fullName)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at MediaCenter.Extensibility.AddInLoader.CreateInstance(String fullName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
 
Exception rethrown at [1]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.MediaCenter.Hosting.Infrastructure.IRemoteTypeLoader.CreateInstance(String fullName)
   at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.ExtensibilityPlugInLaunchInfo.LoadAddIn()
 
InnerException System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser, Version=3.0.262.0, Culture=neutral, PublicKeyToken=59fc04479785fd64' or one of its dependencies. The system cannot find the file specified.
 
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at MediaCenter.Extensibility.RemoteTypeLoader.LoadAssembly(String assemblyName, Exception& loadException)
 
 
Event Xml:
  <System>
    <Provider Name="ehExtHost" />
    <EventID Qualifiers="0">0</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-05-09T20:49:37.000000000Z" />
    <EventRecordID>264</EventRecordID>
    <Channel>Media Center</Channel>
    <Computer>Media-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Exception Microsoft.MediaCenter.Hosting.Infrastructure.InvalidAddInException: Unable to load invalid add-in MediaBrowser.MyAddIn, MediaBrowser,Culture=Neutral,Version=3.0.262.0,PublicKeyToken=59fc04479785fd64
 
at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.ExtensibilityPlugInLaunchInfo.LoadAddIn()
   at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.Launch(Object& objState)
   at MediaCenter.Extensibility.ExtensibilityEntryPoint.Launch(PageBasedUCPService ucp, Object objMediaContext, Object[] entryPointParameters, String altPageUrl, ExtensibilityAutomation& exautoUsed)
 
InnerException System.ArgumentException: Unable to load assembly: MediaBrowser,Culture=Neutral,Version=3.0.262.0,PublicKeyToken=59fc04479785fd64
Parameter name: fullName
 
 
Server stack trace: 
   at MediaCenter.Extensibility.RemoteTypeLoader.CreateInstance(String fullName, Assembly& asm)
   at MediaCenter.Extensibility.AddInLoader.CreateInstance(String fullName)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at MediaCenter.Extensibility.AddInLoader.CreateInstance(String fullName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
 
Exception rethrown at [1]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.MediaCenter.Hosting.Infrastructure.IRemoteTypeLoader.CreateInstance(String fullName)
   at MediaCenter.Extensibility.ExtensibilityPlugInEntryPointInfo.ExtensibilityPlugInLaunchInfo.LoadAddIn()
 
InnerException System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser, Version=3.0.262.0, Culture=neutral, PublicKeyToken=59fc04479785fd64' or one of its dependencies. The system cannot find the file specified.
 
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at MediaCenter.Extensibility.RemoteTypeLoader.LoadAssembly(String assemblyName, Exception& loadException)
 
</Data>
  </EventData>
</Event>
 
 
================================
 
I have also attached some screen shots when I tried to unintall MBC.
554e7a4f2342c_mbuninstallfail.png554e7a62b8b04_lookingmbcmsi.png

 

I would really like to get this working again.

 

Thanks,

Link to comment
Share on other sites

Something has gone really wrong. WMC thinks version 262 is installed.  You didn't copy the mediabrowser.dll anywhere at any time did you?

 

I would attempt a re-install from the web site.

Link to comment
Share on other sites

SteveS

I haven't removed any files, but I will double check if you would tell me where it is located.

 

I did try to remove MB but that failed.  I have downloaded and tried to re-install 266.  It seems to do okay until it starts WMC and tries to automatically open MB.  I then get the same "invalid application" error as stated above.

 

I think I need to completely clean MB off the computer and start new, but I can not because the uninstall doesn't work.

Link to comment
Share on other sites

Search your entire computer for "mediabrowser.dll".  I think what may have happened here is the special processing that Windows will do if you try to install something without proper permissions.  In that case, sometimes it will install the item into a special folder within your user area and then, later, when you install again it goes into the proper place and now you have two of them.

 

I've seen this happen on rare occasions. Its just a guess but it sounds kind of like what is going on here.

Link to comment
Share on other sites

SteveS

Sorry it has take so long to get back with you, I've been out of town.

 

I can not find the file mediabrowser.dll, Although I have found several dll files associated with MediaBrowser Server.

 

I think my best bet is to completely remove MediaBrowser and re-install it.  to do this I will need to know how to manually remove all directories and references MB, including in the registry and anywhere else the Windows will get information that would make it think that MB is installed.  If you could provide that info I will give it a try.

Link to comment
Share on other sites

Both the server and MBC create Uninstallers in Add/Remove Programs.

Link to comment
Share on other sites

SteveS

The uninstaller doesn't work, so I can re-install. Please see the two screen shots at the end of my original post.

Link to comment
Share on other sites

  • 5 months later...
dejavux2

Same boat.....

 

But I do not get the 'Invalid Application'....  Emby Classic just will not start at all....  when trying to open Emby Classic, it does nothing and WMC just sits there unresponsive.  I have to Ctrl-Alt-Del and kill WMC....

 

I am on Server Dev Version 3.0.5785.41217

 

Emby Classic 3.0.286

Edited by dejavux2
Link to comment
Share on other sites

dejavux2

Ok, I guess I'm not in the same boat....

 

When trying to open Emby Classic within WMC, I have to wait 2 minutes and 13 seconds for the Login screen to appear.

Link to comment
Share on other sites

Ok, I guess I'm not in the same boat....

 

When trying to open Emby Classic within WMC, I have to wait 2 minutes and 13 seconds for the Login screen to appear.

 

Sounds like this, which is an issue with the current server.

Link to comment
Share on other sites

dejavux2

Sounds like this, which is an issue with the current server.

 

Your link to "this" just takes us back to the community board.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...