Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get SvcConfigEditor.exe onto a server?

Tags:

wcf

Over a year ago I wrote a WCF service, which runs on a Windows 2003 Server, under the auspices of a Windows Service (which I also wrote). (I wrote it using VS 2008.) I've not had a chance to continue working with it for a long time, but would now like to pick up where I left off back then. However, now I'm trying to use VS 2010, and see if I can interact with it.

The first thing I did was run SvcUtil from the command line, to get the information I would need to put into my App.Config file. However, it gave me an error (#415) saying that the server had rejected the network request. I've been asking around as to how I can fix this problem, and was told that I should run SvcConfigEditor.exe on the server in order to get better logging information. So I RDP onto the server and tried running it. Only, it isn't installed on the server. The .NET Framework 2 and 3.5 are installed, but I wouldn't think it would matter if .NET 4 was installed on the server, if I'm trying to run SvcConfigEditor.exe from .NET 3.5.

Bottom line: how do I get SvcConfigEditor.exe onto the server?

like image 695
Rod Avatar asked Apr 26 '11 16:04

Rod


1 Answers

It installs it with WindowsSDK for Windows Server.

If you don't see it available in Start > All Programs > Windows SDK > Tool > Service Configuation Editor OR can't find the file "SvcConfigEditor.exe" you haven't to added the feature.

To add...

  1. Control Panel > Programs and Feature > (Right-click) Microsoft Windows SDK for Server > Change
  2. Check on Developer Tools> Windows Development Tools > .NET Development Tools

After the install of the feature, you should see it now.

like image 161
Yang Avatar answered Nov 15 '22 13:11

Yang