Pirie
asked on
Service not starting
We have a program installed as a service on a Windows Server 2012. The installation went well and the service is shown in the list of services. If we start the service no error message appears on screen, but the service is not working. In the Windows Event we see the following message:
System.IO.FileNotFoundExce ption: Kan bestand of assembly LicenseServiceApp, Version=11.0.0.0, Culture=neutral, PublicKeyToken=4a3c0a4c668 b48b4 of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
Bestandsnaam: LicenseServiceApp, Version=11.0.0.0, Culture=neutral, PublicKeyToken=4a3c0a4c668 b48b4
bij System.Reflection.Assembly ._nLoad(As semblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
bij System.Reflection.Assembly .InternalL oad(Assemb lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
bij System.Reflection.Assembly .InternalL oad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
bij System.Reflection.Assembly .Load(Stri ng assemblyString)
bij System.UnitySerializationH older.GetR ealObject( StreamingC ontext context)
bij System.Web.Hosting.Hosting Environmen t.CreateIn stance(Typ e type)
bij System.Web.Hosting.Applica tionHost.C reateAppli cationHost (Type hostType, String virtualDir, String physicalDir)
bij A.c699fd9982bc616c7034b1cf 345df51a0. c72a06687b 11280cb7af 99771f5b18 c9e()
WRSCH: registratie van assembly-bindingen is uitgeschakeld.
Als u assembly-bindingsfouten wilt registreren, stelt u de registerwaarde [HKLM\Software\Microsoft\F usion!Enab leLog] (DWORD) in op 1.
Opmerking: er is een prestatiestraf gekoppeld aan de registratie van assembly-bindingsfouten.
Als u deze functie wilt uitschakelen, verwijdert u de registerwaarde [HKLM\Software\Microsoft\F usion!Enab leLog].
Unfortunately this message is in Dutch, so I will explain. The error says that ‘the file or assembly LicenseServiceApp…… Or one of its dependencies could not be loaded. The system cannot find the file’.
We have checked the user rights for logon of the service, these are all set to administrator rights. If we run the application as Windows Application it is running without any problem.
Any ideas to solve this problem?
System.IO.FileNotFoundExce
Bestandsnaam: LicenseServiceApp, Version=11.0.0.0, Culture=neutral, PublicKeyToken=4a3c0a4c668
bij System.Reflection.Assembly
bij System.Reflection.Assembly
bij System.Reflection.Assembly
bij System.Reflection.Assembly
bij System.UnitySerializationH
bij System.Web.Hosting.Hosting
bij System.Web.Hosting.Applica
bij A.c699fd9982bc616c7034b1cf
WRSCH: registratie van assembly-bindingen is uitgeschakeld.
Als u assembly-bindingsfouten wilt registreren, stelt u de registerwaarde [HKLM\Software\Microsoft\F
Opmerking: er is een prestatiestraf gekoppeld aan de registratie van assembly-bindingsfouten.
Als u deze functie wilt uitschakelen, verwijdert u de registerwaarde [HKLM\Software\Microsoft\F
Unfortunately this message is in Dutch, so I will explain. The error says that ‘the file or assembly LicenseServiceApp…… Or one of its dependencies could not be loaded. The system cannot find the file’.
We have checked the user rights for logon of the service, these are all set to administrator rights. If we run the application as Windows Application it is running without any problem.
Any ideas to solve this problem?
Hi,
I would also make sure that you have an up-to-date version of the .NET Framework, it looks like it's calling functions that the Framework actually deals with.
I may be wrong but it may be worth a check - does your system (such as software) meet the software system requirements ?
What is the application, have you contacted the support company of the application and queried the errors with them ?
Regards
Carl McGee
I would also make sure that you have an up-to-date version of the .NET Framework, it looks like it's calling functions that the Framework actually deals with.
I may be wrong but it may be worth a check - does your system (such as software) meet the software system requirements ?
What is the application, have you contacted the support company of the application and queried the errors with them ?
Regards
Carl McGee
Have you installed the same copy of windows on any other machine?
If yes and still it is having the same issue than it is obvious that there is a problem with the copy of the windows than I think you may contact Microsoft customer support.
If yes and still it is having the same issue than it is obvious that there is a problem with the copy of the windows than I think you may contact Microsoft customer support.
As mentioned by Carl, contact the company of the application. Also ask if there is a different way of starting it as a service vs as an application. Sometimes, there may be a switch to provide on command line.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No answer helped me
If still the same then might be you have to reinstall application.