Install errors on Win7 MCE 64bit

This forum is for issues when running the MCE LoveFilm program

Install errors on Win7 MCE 64bit

Postby incapete » Wed Oct 13, 2010 10:02 pm

I've successfully installed MCE LoveFim which launches fine but when I try to authenticate my LoveFilm account it comes up with an error message stating < INVALID APPLICATION Unable to launch "LoveFilm MCE" >

I'm running a fresh install of Win7 Ultimate 64bit.

Does anyone have any ideas on how to get this app working? Thank you!
incapete
 
Posts: 1
Joined: Wed Oct 13, 2010 9:57 pm

Re: Install errors on Win7 MCE 64bit

Postby asanderson » Sun Oct 31, 2010 10:14 pm

I have exactly the same issue when installing on Win7 64bit. I have tried this on two machines and both allow the initial authorisation with lovefilm butthen report the 'INVALID APPLICATION Unable to launch' error message once authorisation is granted. Any help with this would be greatly appriciated as this looks to be a great addition to MCE, if I can get it to work.
asanderson
 
Posts: 1
Joined: Sun Oct 31, 2010 10:09 pm

Re: Install errors on Win7 MCE 64bit

Postby Martin » Thu Dec 02, 2010 4:06 pm

Hi sorry for the delay. I don't seem to be getting notifications for this thread, and only just saw this issue.

If you get an error message like that, go to Control Panel -> Administrative Tools -> Event Viewer, and then open the folder Applications and Services Logs -> Media Center. All exceptions are logged in there. Cut and paste that and post it to the forum.

Thanks

Martin
User avatar
Martin
Site Admin
 
Posts: 1407
Joined: Wed Aug 26, 2009 9:10 pm

Re: Install errors on Win7 MCE 64bit

Postby dazp » Sun Feb 06, 2011 2:03 pm

I have the same issue, when clicking "Set Lovefilm username". Here's the event details.

Log Name: Media Center
Source: ehExtHost
Date: 06/02/2011 13:10:33
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: TVPC.mydomain.local
Description:
Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.MediaCenter.UI.Template.FastMethodInfo.Invoke(Object obj, Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.MethodOperations.Invoke(Object instance, String stPath, Object[] arArgs)
at Microsoft.MediaCenter.UI.Template.InvokeMethodService.MethodInvoke(IVirtualPropertyObject vpoHost, ObjectPath ipMethod, ObjectPath ipResult, Object objTransformer, Object objOwner, IList exHandlers)
at Microsoft.MediaCenter.UI.InvokeCommand.OnInvoked()
at Microsoft.MediaCenter.UI.Command.InvokeWorker()
at Microsoft.MediaCenter.Queues.Dispatcher.MainLoop(Queue queue)
at Microsoft.MediaCenter.UI.UIDispatcher.MainLoop(Queue queue, LoopCondition condition)
at MediaCenter.Extensibility.Host.Main(String[] args)

InnerException System.InvalidOperationException: Cannot start process because a file name has not been provided.

at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at LoveFilmMCE.PreferencesUI.launchLoveFilmURL()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ehExtHost" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-02-06T13:10:33.000000000Z" />
<EventRecordID>300</EventRecordID>
<Channel>Media Center</Channel>
<Computer>TVPC.dazp.local</Computer>
<Security />
</System>
<EventData>
<Data>Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.MediaCenter.UI.Template.FastMethodInfo.Invoke(Object obj, Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.MethodOperations.Invoke(Object instance, String stPath, Object[] arArgs)
at Microsoft.MediaCenter.UI.Template.InvokeMethodService.MethodInvoke(IVirtualPropertyObject vpoHost, ObjectPath ipMethod, ObjectPath ipResult, Object objTransformer, Object objOwner, IList exHandlers)
at Microsoft.MediaCenter.UI.InvokeCommand.OnInvoked()
at Microsoft.MediaCenter.UI.Command.InvokeWorker()
at Microsoft.MediaCenter.Queues.Dispatcher.MainLoop(Queue queue)
at Microsoft.MediaCenter.UI.UIDispatcher.MainLoop(Queue queue, LoopCondition condition)
at MediaCenter.Extensibility.Host.Main(String[] args)

InnerException System.InvalidOperationException: Cannot start process because a file name has not been provided.

at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at LoveFilmMCE.PreferencesUI.launchLoveFilmURL()

</Data>
</EventData>
</Event>

Thanks in anticipation !
dazp
 
Posts: 1
Joined: Sun Feb 06, 2011 2:00 pm

Re: Install errors on Win7 MCE 64bit

Postby Martin » Sun Feb 06, 2011 3:10 pm

The error message implies that it can't even get the URL to authenticate you, which is very odd. I have added a new version, 1.0.8, which will provide more diagnostics. Try installing that and turning on logging by going in to regedit, and navigating to HKEY_CURRENT_USER\Software\MillieSoft\LoveFilmMCE. Add a new String value called logFile and type the name of a file to log to, e.g. C:\Users\Martin\LoveLog.txt. The file must be in a directory that the local user can write to without elevated privileges (e.g. not C:/Windows). Then re-open LoveFilmMCE and it will write what it is doing to that log file. Send me the file so that I can see more about what is going on.

Thanks

Martin
User avatar
Martin
Site Admin
 
Posts: 1407
Joined: Wed Aug 26, 2009 9:10 pm

Re: Install errors on Win7 MCE 64bit

Postby pob » Sat Mar 19, 2011 10:04 am

I get the same problem, too with version 1.09:

Log Name: Media Center
Source: ehExtHost
Date: 20/03/2011 08:58:38
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: PC
Description:
Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.MediaCenter.UI.Template.FastMethodInfo.Invoke(Object obj, Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.MethodOperations.Invoke(Object instance, String stPath, Object[] arArgs)
at Microsoft.MediaCenter.UI.Template.InvokeMethodService.MethodInvoke(IVirtualPropertyObject vpoHost, ObjectPath ipMethod, ObjectPath ipResult, Object objTransformer, Object objOwner, IList exHandlers)
at Microsoft.MediaCenter.UI.InvokeCommand.OnInvoked()
at Microsoft.MediaCenter.UI.Command.InvokeWorker()
at Microsoft.MediaCenter.Queues.Dispatcher.MainLoop(Queue queue)
at Microsoft.MediaCenter.UI.UIDispatcher.MainLoop(Queue queue, LoopCondition condition)
at MediaCenter.Extensibility.Host.Main(String[] args)

InnerException System.Net.WebException: The remote server returned an error: (401) Unauthorized.

at LoveFilmMCE.OAuthLF.oAuthWebRequest(Method method, String url, String postData)
at LoveFilmMCE.OAuthLF.AuthorizationLinkGet()
at LoveFilmMCE.PreferencesUI.launchLoveFilmURL()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ehExtHost" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-03-20T08:58:38.000000000Z" />
<EventRecordID>17</EventRecordID>
<Channel>Media Center</Channel>
<Computer>PC</Computer>
<Security />
</System>
<EventData>
<Data>Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.MediaCenter.UI.Template.FastMethodInfo.Invoke(Object obj, Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.MethodOperations.Invoke(Object instance, String stPath, Object[] arArgs)
at Microsoft.MediaCenter.UI.Template.InvokeMethodService.MethodInvoke(IVirtualPropertyObject vpoHost, ObjectPath ipMethod, ObjectPath ipResult, Object objTransformer, Object objOwner, IList exHandlers)
at Microsoft.MediaCenter.UI.InvokeCommand.OnInvoked()
at Microsoft.MediaCenter.UI.Command.InvokeWorker()
at Microsoft.MediaCenter.Queues.Dispatcher.MainLoop(Queue queue)
at Microsoft.MediaCenter.UI.UIDispatcher.MainLoop(Queue queue, LoopCondition condition)
at MediaCenter.Extensibility.Host.Main(String[] args)

InnerException System.Net.WebException: The remote server returned an error: (401) Unauthorized.

at LoveFilmMCE.OAuthLF.oAuthWebRequest(Method method, String url, String postData)
at LoveFilmMCE.OAuthLF.AuthorizationLinkGet()
at LoveFilmMCE.PreferencesUI.launchLoveFilmURL()

</Data>
</EventData>
</Event>
pob
 
Posts: 2
Joined: Sat Mar 19, 2011 10:02 am

Re: Install errors on Win7 MCE 64bit

Postby pob » Sat Mar 19, 2011 10:07 am

Logfile just contains this:

20/03/11 09:05:35 09:05 :Preferences Loaded Part 1
20/03/11 09:05:35 09:05 :Preferences Loaded Part 2
20/03/11 09:05:35 09:05 :Checking Version Number
20/03/11 09:05:35 09:05 :Latest Version=1.0.9
20/03/11 09:05:35 09:05 :Checking License
20/03/11 09:05:35 09:05 :Not Licensed
20/03/11 09:05:36 09:05 :Init Started
pob
 
Posts: 2
Joined: Sat Mar 19, 2011 10:02 am

Re: Install errors on Win7 MCE 64bit

Postby Martin » Mon Mar 21, 2011 9:51 am

Pob,

what's happening in the code is that it tries to post some data to http://openapi.lovefilm.com/oauth/request_token, and it comes back with an error saying that it is not authorized to do so. That's obviously not what should happen - you are not authorized to GET data from that URL, but you are authorized to post it.

So, what software do you have on your machine or your network which might interfere with this? For example, a proxy server, or an internet gateway, or some odd browser settings?

Martin
User avatar
Martin
Site Admin
 
Posts: 1407
Joined: Wed Aug 26, 2009 9:10 pm

Re: Install errors on Win7 MCE 64bit

Postby hudstaa » Sat Apr 09, 2011 7:45 am

hi, having exactly same problems my end, except running win7 x86.
do we have any progress on a solution yet?
hudstaa
 
Posts: 2
Joined: Sat Apr 09, 2011 7:43 am

Re: Install errors on Win7 MCE 64bit

Postby Martin » Sat Apr 09, 2011 9:10 am

hudstaa wrote:hi, having exactly same problems my end, except running win7 x86.
do we have any progress on a solution yet?


Can you describe your problem? Sometimes problems look the same on the surface but have small but important differences, so best if we take it from the top when looking at your problem.

Thanks

Martin
User avatar
Martin
Site Admin
 
Posts: 1407
Joined: Wed Aug 26, 2009 9:10 pm

Next

Return to Program Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron