Installutil System.argumentexception Invalid Directory On Url

  
Find Url On Facebook

I have a WCF Service library that I have hosted in a Windows Service. Both projects are using.NET Framework 4.5. I have copied WCF Service configuration into Windows Service “app.config”. For reference the config in windows service project looks: I am installing the service on development machine using following command: • “InstallUtil.exe” “C: Test MyServiceHost.exe” The service is getting installed successfully. Also I am able to consume the WCF service on development machine. So everything working as expected on development machine. Now I am trying to install this windows service on Windows Server 2008 R2 machine.

Url On Computer

Gets whether a character is invalid in a file system. Using IRIs allows a URL. IdnElement setting enables or disables IDN processing in the Uri class. Installutil.exe (Installer Tool). Into the assembly's directory: InstallUtil. And to find all Installer types that have the System.ComponentModel.

I am following these steps: • Copied “Dubug” folder content of Windows Service project from development machine onto server. Mp3tag Pro 7.0. • Opened a command prompt in administrator mode. • Run the command: “InstallUtil.exe” “C: Test MyServiceHost.exe” On execution above command returns following error: Exception occured while initializing the installation: System.ArgumentException: Invalid directory on URL.

I have so far made following attempts: • Removed element from config file as suggested in inline comment. • Change the startup object to ServiceName.Program. • Instead of using localhost, I tried using machine public IP Address. • Checked my WCF Service is not using any file from local drive i.e.

No use of “C: ” or “D: ”. Can someone suggest any step I should try to solve this issue. UPDATE: The issue is solved. I restarted the PC, performed the steps a fresh and it got solved. I suspect I was not giving correct path while executing the command (silly me).

Description: Getting an error running the LDAP Import Service command for patch: Microsoft (R).NET Framework Installation utility Version 2.0. Copyright (c) Microsoft Corporation. All rights reserved. Exception occurred while initializing the installation: System.ArgumentException: Invalid directory on URL.

Sheridan Data Widgets 2.0. Solution: Do not cut and paste the command from the instruction file. Type the command in manually. Please help us improve! Will this information enable you to resolve your issue?

University Learning Disability Program. Yes No Please tell us what we can do better.