Jade M
Jade M

Reputation: 3101

Service cannot be started. System.IO.FileNotFoundException: Could not load file or assembly

When trying to install my 32bit service on a Windows 64bit machine my installer places the files in SysWOW64 directory and when I attempt to start the service an event is written to the event log, the log shows:

"Service cannot be started. System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. File name: 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"

I have copied the files manually to the System32 directory but this makes no difference.

Any suggestions as to why my service won't start?

Thanks

Upvotes: 2

Views: 6038

Answers (1)

Fredrik Mörk
Fredrik Mörk

Reputation: 158299

It looks like the service fails to load the assembly System.ServiceModel on startup. Is either .NET Framework 3.0 or 3.5 installed on the machine?

Upvotes: 2

Related Questions