Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's not very clear what exactly your problem is, as you say it won't install on the machine. what do you mean? the install fails? or are you just copying it over and trying to run it? do you get any error messages?</p> <p>did you install the service? or is this done as part of the build? this might explain why copying it to the machine doesn't work but building it does... Does the exe compiled on the dev machine work once you have installed VS on the new machine? </p> <p>I would check that your target machine has the correct version of .net on it first, as installing VS would put that on there if it wasn't.</p> <p>I would use a tool like procmon to see what happens when the service is started, to check that it is not some dll that is missing.</p> <p>Some more info might help get to an answer a bit quicker...</p> <p>EDIT:</p> <p>After your edit with the exception I did a bit of googling and came across <a href="http://social.msdn.microsoft.com/forums/en-US/windowsgeneraldevelopmentissues/thread/b5321bf3-cbc2-4361-adf2-8f3a50002217" rel="nofollow noreferrer">this thread</a> which suggests a few options, but the main one which seemed to cure it for some (assuming that you do not have dependencies which cannot be resolved) is that you are not running the install util as an administrator:</p> <p>to quote from the thread:</p> <p>You're running into 'standard user'. I'm guessing that you may be running under an account that is a member of the local admin group, but with Vista UAC enabled even admins run as standard user until they run an application that makes a explicit admin request - at which point you typically get a admin elevation prompt. InstallUtil.exe isn't marked as explicitly requiring admin so this is failing.</p> <p>Either create a cmd script that runs InstallUtil youService.exe and set the script to require admin or do a 'runas /user:Administrator cmd.exe' and run InstallUtil from there.</p> <p>and if that is not the issue then another guy suggests:</p> <p>I found out that the install works when I use the InstallUtil.exe in the 32-bit framework, but generates the System.Reflection.ReflectionTypeLoadException when running the InstallUtil.exe in the 64-bit framework. Is this a setting I need to put in my project or a structure I'm including that is not supported by 64-bit? (although I thought it was backwards compatible).</p> <p>Not sure if either of these will help, but you never know... </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload