L
Lothar Behrens
Hi,
I have written a Windows Service (for the test - a dummy to divide and
conquer) and the service cannot be intalled on the Windows 7
Enterprise (64Bit version) box.
On that box there was installed the .NET 4.0 Client profile and as I
have seen, all earlier versions are installed in the C:\Windows
\Microsoft.Net directory. For a try I have removed that version but no
success.
The service is a .NET 3.5 version service and I have tried building
Any CPU, x86 and x64. All has failed with the following error, that
the application is not a valid Win32 Application.
As other sources state that Windows 7 installs .Net, I did not see any
reason why such a simple test service fails to load whereas a GUI
application will run (compiled in 64Bit).
I am using Visual Studio 2008 9.0.21022.8 RTM with .NET 3.5 SP1.
The installer does start the service after it has installed it and
then it fails. If I do not have any custom installer
steps, the service will fail to start from services.msc either.
Any help please !!!!
Thanks,
Lothar
I have written a Windows Service (for the test - a dummy to divide and
conquer) and the service cannot be intalled on the Windows 7
Enterprise (64Bit version) box.
On that box there was installed the .NET 4.0 Client profile and as I
have seen, all earlier versions are installed in the C:\Windows
\Microsoft.Net directory. For a try I have removed that version but no
success.
The service is a .NET 3.5 version service and I have tried building
Any CPU, x86 and x64. All has failed with the following error, that
the application is not a valid Win32 Application.
As other sources state that Windows 7 installs .Net, I did not see any
reason why such a simple test service fails to load whereas a GUI
application will run (compiled in 64Bit).
I am using Visual Studio 2008 9.0.21022.8 RTM with .NET 3.5 SP1.
The installer does start the service after it has installed it and
then it fails. If I do not have any custom installer
steps, the service will fail to start from services.msc either.
Any help please !!!!
Thanks,
Lothar