zeevgetner
Programmer
I have created a very simple window service using visual studio 2010 and .Net 4.0.
This service has no functionality added from the default windows service project, other than an installer has been added.
If I put the files on my local mach and run installutils, it works.
If I put the files on a network folder it fails.
Gives
Exception occurred while initializing the installation: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\TestService\WindowsService1.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).
I need to put the files a the network, because I install the same service on a few machines, and I to handle versions simply.
I tried to put in the config file
configuration>
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration>
with no help
I clicked proerties on the install file, as suggested by other posts, and cannot find "unblock"
I have Win XP SP3
This service has no functionality added from the default windows service project, other than an installer has been added.
If I put the files on my local mach and run installutils, it works.
If I put the files on a network folder it fails.
Gives
Exception occurred while initializing the installation: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\TestService\WindowsService1.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).
I need to put the files a the network, because I install the same service on a few machines, and I to handle versions simply.
I tried to put in the config file
configuration>
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration>
with no help
I clicked proerties on the install file, as suggested by other posts, and cannot find "unblock"
I have Win XP SP3