Last post Aug 20, 2015 03:47 PM by JDF1
Oct 31, 2011 09:38 PM|Kensino|LINK
It doens't matter what I do. It is impossible to run SvcUtil.exe on my computer. I'm using Windows 7, 32bit.
I've tried running the file by clicking on it, I've tried it from a command prompt, and I've tried it from the Visual Studio command prompt. I've tried it on Administrator command prompt. The only thing I ever get is:
"SvcUtil.exe is not a valid Win32 application!"
And then the Command Line crashes..... What's going on??
Oct 31, 2011 10:21 PM|kushalrdalal|LINK
Check this links -
Oct 31, 2011 10:31 PM|Kensino|LINK
I've already searched Google and found all of those three links. Like I said I tried all of those steps. None of them work for me.
Oct 31, 2011 11:19 PM|Kensino|LINK
Well it probably doesn't help that my svcutil.exe file is EMPTY. It's 0 BYTES in size. I've been looking for how to download a new copy for an hour and cannot find any way to download it. The only Microsoft website I did find to download it, the page was
no longer valid.
Nov 02, 2011 09:56 PM|Kensino|LINK
No one here knows anything about WCF?
Nov 02, 2011 11:40 PM|Peter pi - MSFT|LINK
This error message can be caused by any of the below possibilities.
1.File is corrupt, bad, or missing.
2.File is not designed for your version of Windows.
3.File is a virus, worm, or other malware file.
The ServiceModel Metadata Utility Tool can be found at the Windows SDK installation location, specifically, C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin. You can download the windows sdk from:
Nov 03, 2011 12:00 AM|Kensino|LINK
1. I don't have a C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin directory.
2. I have a C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin directory. This directory has a file called svcutil.exe but it's a BLANK file. It does nothing and when I right click and go to properties is says "0 Bytes".
3. I used the link you provided, it downloaded and installed. I just checked everything and installed all options. It created a new directory. C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
HOWEVER, this directory did not install svcutil.exe... The only file that I needed did not come with that download.....
So now what?
I'm begining to wish I never decided to learn WCF.. I haven't gotten past page 3 of this book, and its been 4 days. I can't even get the right file installed. I might just return the book and get my money back.
EDIT: I'm not even sure WCF can do what I want it to do. I designed a few one player card games, and I want to make the games multi-player over the internet. So I was thinking I could use WCF and run the game on the server and just have the clients connect
to the game, but I'm not even sure if WCF has the ability to do that.... Maybe I'm just wasting my time ???
Nov 04, 2011 06:05 PM|Kensino|LINK
Wow this is so frusterating that no one knows how to get this running.
Nov 05, 2011 12:32 PM|Kensino|LINK
OK everytime I run the command:
C:\SOAWithWCFandLINQ\Projects\HelloWorld\HelloWorldClient >"C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe"
http://localhost:8080/HostDevServer/HelloWorldService.svc?wsdl /out:HelloWorldServiceRef.cs /config:app.config
It deletes ths svcutil.exe file and then says "Not a valid Win32 application".... Is WCF still in BETA ?
Can you please transfer this question to someone that knows about WCF?
Nov 07, 2011 08:49 PM|Peter pi - MSFT|LINK
Please refer to the following post.
Nov 07, 2011 08:54 PM|Kensino|LINK
I've already seen that think too. Getting the file is not a problem. I have the file, but every time I run the file it deletes itself.
It's fine, I've just decided that this doesn't work propertly and it's not worth my time. I've sent WCF book I bought back today and I'm going to use another method that works.
Jun 22, 2012 09:53 AM|dpinchot|LINK
I can see you problem. I am reading the same bok, and almost made the same mistake.
What you did was type in too much infornmation and did a redirect ">" command. What the author was asking for was for you to first CD (change directory) to the C:\SOAWithWCFandLINQ\Projects\HelloWorld\HelloWorldClient location.
So, from the c:> prompt, type:
That should get you to something that looks like C:\SOAWithWCFandLINQ\Projects\HelloWorld\HelloWorldClient>
After that, type in the command:
"C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe"http://localhost:8080/HostDevServer/HelloWorldService.svc?wsdl /out:HelloWorldServiceRef.cs /config:app.config
That should work for you, after you restore your SvcUtil.exe application.
Jun 24, 2012 06:08 AM|imghani|LINK
I am not sure that why you are getting this issue because it never happens to me. May be some configuration issue.
I normally use Visual Studio Command Prompt to use this utility. Also WCF is stable and its not at all in BETA. I used it with .NET framework 3.0, 3.5 and now 4.0.
Can you try one thing that register ServiceModel once again and then try running this utility.
C:\Windows\Microsoft.NET\Framework\3.0\Windows Workflow Foundation\ServiceModelReg -i
For a complete detailed registerating,
It might also be possible that you installation was not correct.
Jun 24, 2012 12:07 PM|Kensino|LINK
Thanks for the help guys, but as you can see, this tread is almost a year old, and I haven't been back to in since. I don't even remember creating this thread or what I was trying to do at the time because it's so old.
I'm not even using WCF anymore, I gave up on it, and returned the book like a year ago, so if I have any more problems I will make a new thread and let you know.
Aug 20, 2015 03:47 PM|JDF1|LINK
No these guys are pretty clueless. It always appears to me that they answer questions you didn't ask because it's easier for them, they really don't even try to understand the question you are asking, and then they just want to shut you up with some links
they found doing a quick google. Don't waste your time by wasting theirs.