NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) nDroid v
« Previous 1 2 3 4 5 … 7 Next »
BadImageFormatException when opening nDroid Service Settings in Win Server 2012

 
  • 0 Vote(s) - 0 Average
BadImageFormatException when opening nDroid Service Settings in Win Server 2012
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2013-05-10, 11:21 AM
hi,

I get this error when opening the nDroid Service Settings in Win Server 2012.

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

************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'nDroidLib, Version=1.8.4863.1098, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'nDroidLib, Version=1.8.4863.1098, Culture=neutral, PublicKeyToken=null'
   at uk.co.beetec.csharp.nDroid.nDroidConfig.XmlSettings..ctor()
   at uk.co.beetec.csharp.nDroid.nDroidConfig.SettingsForm.SettingForm_Load(Object sender, EventArgs e) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\nDroidService\nDroidConfig\SettingsForm.cs:line 24
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   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.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#2
2013-05-10, 11:56 AM
You might be able to get around that problem by manually editing nDroidSettings.xml using notepad. I don't know exactly where it is in Server 2012, but is XP it's C:\Documents and Settings\All Users\Application Data\Beetec Services\nDroid Service

Alex
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,180
Threads: 958
Joined: May 2006
#3
2013-05-10, 10:14 PM
I think this link has one user's solution to the same error http://forums.nextpvr.com/showthread.php...of-service

Martin
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#4
2013-05-10, 10:18 PM
reven Wrote:I get this error when opening the nDroid Service Settings in Win Server 2012.
There's an issue with the settings app on 64-bit versions of Windows that I haven't had a chance to track down yet.

It's basically just a simple UI for changing the username, password and port. As Alex says, edit the nDroidSettings.xml file using Notepad and you'll be good to go.

Cheers,
Brian
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2013-05-11, 06:11 AM
cheers found the settings file.


the issue with 64 bit will be you have it compiled as "Any CPU" but referencing a DLL that only supports 32 bit, so just change "Any CPU" to "x86" and the problem will go away.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#6
2013-05-11, 06:30 AM
reven Wrote:cheers found the settings file.


the issue with 64 bit will be you have it compiled as "Any CPU" but referencing a DLL that only supports 32 bit, so just change "Any CPU" to "x86" and the problem will go away.
That's what I originally thought. I'd changed something in the project and somehow the build setting got changed at the same time to "Any CPU" (there are search results on Google of other people having the same issue - they didn't explicitly change the option).

I've since rebuilt for x86 and posted updated binaries in another thread but it didn't fix the problem. The only 64-bit machine I have to test on is my wife's laptop and every time I think of taking another look at the issue, she's normally using it.

I'll take some time out to look at it over the weekend.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  nDroid Download Location whozeawhat 4 7,357 2017-02-24, 08:08 PM
Last Post: jamissr
  Anyone using nDroid TE on devices running Android less than v4? bgowland 4 6,976 2016-11-03, 02:09 AM
Last Post: mrred128
  NDROID TE Amazon Marketplace thomasaherzog 0 4,373 2016-01-30, 07:12 PM
Last Post: thomasaherzog
  nDroid Setup on Windows 10 firewall issue fixed max0r4axor 0 4,644 2015-05-19, 04:56 AM
Last Post: max0r4axor
  nDroid (TE) for Amazon Marketplace? kode54 1 4,865 2015-04-04, 04:43 PM
Last Post: bgowland
  ndroid TE recording event crashes recording service fuzzweed 0 4,492 2015-02-04, 07:00 AM
Last Post: fuzzweed
  nDroid TE Beta Testers - anyone out there? bgowland 19 15,371 2014-09-29, 05:43 AM
Last Post: Steve Barnes
  ndroid service will not start wodger 12 12,450 2014-08-15, 07:56 AM
Last Post: drlava
  ndroid te search fuzzweed 6 6,834 2014-06-15, 05:52 AM
Last Post: bgowland
  nDroid n Samsung Galaxy S5 subi75 5 7,688 2014-04-22, 03:13 AM
Last Post: subi75

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode