Hi you could use FUSLOGVW.exe to see what assembly is not found, but probably it is a security issue. setting everyone Full Control on CCnet folder could solve it too.
if this works, you can search what user is really required, if you do not like everyone full control. or maybe UAC is getting in the way. with kind regards Ruben Willems On 25 July 2011 23:33, jberganz <[email protected]> wrote: > Hi, > > I think there may have been an MS Patch over the weekend on the server > I have setup for continued integration. When I attempted to restart > the service, it gave me the error stating it started and stopped so > there possibly was no work for it to do. Normally, I run ccnet.exe > manually to see what might be wrong with the configuration file but I > received the error below on running it. The file is clearly there and > so is it's associated configuration file. > > I tried: > -Re-installing ccnet.exe (left virtual directory in place in IIS) > -Setting full control permissions to the root parent folder (cc) > > Any help would be greatly appreciated. > > Thanks, > > jbergan > > C:\cc\server>ccnet.exe > Unhandled Exception: System.IO.FileLoadException: Could not load file > or assembly 'ccnet, Version=1.5.6804.1, Culture=neutral, > PublicKeyToken=null' or one of its dependencies. Access is denied. > File name: 'ccnet, Version=1.5.6804.1, Culture=neutral, > PublicKeyToken=null' ---> System.IO.FileLoadException: Could not load > file or assembly 'file:///C:\cc\server\ccnet.exe' or one of its > dependencies. Access is denied. File name: 'file:///C:\cc\server > \ccnet.exe' > WRN: Assembly binding logging is turned OFF. > To enable assembly bind failure logging, set the registry value [HKLM > \Software\M > icrosoft\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]. at > System.Reflection.Assembly._nLoad(AssemblyName fileName, String > codeBase,Evidence assemblySecurity, Assembly locationHint, > StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean > forIntrospection) 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.InternalLoadFrom(String assemblyFile, > EvidencesecurityEvidence, Byte[] hashValue, AssemblyHashAlgorithm > hashAlgorithm, Boolean > forIntrospection, StackCrawlMark& stackMark) at > System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence > security > Evidence) at System.Activator.CreateInstanceFrom(String > assemblyFile, String typeName, > Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] > args, CultureInfo culture, Object[] activationAttributes, Evidence > securityInfo) > at System.Activator.CreateInstanceFrom(String assemblyFile, String > typeName,Object[] activationAttributes) > at System.AppDomain.CreateInstanceFrom(String assemblyFile, String > typeName) at System.AppDomain.CreateInstanceFromAndUnwrap(String > assemblyName, String typeName) at > System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyName, > String typeName) at > ThoughtWorks.CruiseControl.Console.ConsoleMain.Main(String[] args) >
