Wcf service hosting on Windows installation error

when i install wcf service hosting on windows service using InstallUtil i get the following error.

An exception occurred during the rollback phase of the System.ServiceProcess.Ser installer viceProcessInstaller. System.NullReferenceException: Object reference not set to object instance obj ect. An exception occurred during the rollback phase of the installation. This except ion will be ignored and the rollback will continue. However, the machine can n ot completely revert to its original state after the rollback is complete.

Rollback phase completed successfully.

The transactional installation is complete. The installation failed and was rolled back.

Could you please tell me how to overcome this problem?

+3


source to share


3 answers


Do this as an administrator. What I mean is, run command prompt as administrator and try it. I had the same error and solved this technique.



+6


source


There should be more information in the assemblyname.InstallLog file. Check for errors first.



0


source


Check the application event log, run this:

eventvwr.msc

      

Here you can see the details of the real exception you are getting.

If you are in a config file System.ServiceModel

, the error you are getting could be caused by incorrect config settings.

You can follow this Windows Managed Service Installation guide if you are having a hard time installing.

0


source







All Articles