Re: Broken WCF service reference in VS 2008
- From: hongyes@xxxxxxxxxxxxxxxxxxxx ("Hongye Sun [MSFT]")
- Date: Tue, 09 Dec 2008 02:13:36 GMT
Hi Bill,
I have posted my answer at 12/3/2008, just the next day of your last reply.
Can you see it at link:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=micros
oft.public.dotnet.languages.csharp&tid=392b04c6-c48d-4442-9af5-e008ec383834&
cat=&lang=&cr=&sloc=&p=1
Here is my answer:
---------------------------------------
This is strange, because I tested the setup file both in Windows Vista and
Windows 2003. It will create path as you specified in setup wizard. The SDK
bin folder does include the SvcUtil.exe tool.
In my machine, it is located at C:\Program Files\Microsoft
SDKs\Windows\v6.0\Bin\SvcUtil.exe. I think you have already installed other
version of Windows SDK so it creates a 6.0A folder for you. It is possible
that VS command prompt only search for 6.0 folder instead of 6.0A folder.
That may cause the problem.
Please take the following steps to figure out the problem:
1. Go to "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin" folder to
verify if SvcUtil.exe file exists.
2. If exists, Run "C:\Program Files\Microsoft Visual Studio
9.0\Common7\Tools\vsvars32.bat" batch file. Within that batch file, it will
set the Windows SDK folders.
3. If it is still not working, add both "C:\Program Files\Microsoft
SDKs\Windows\v6.0\bin" and "C:\Program Files\Microsoft
SDKs\Windows\v6.0A\bin" in PATH env var and restart command prompt. Visual
Studio Command Prompt will inherit the settings from PATH env var.
4. If it is still not working, open command prompt, type "cd C:\Program
Files\Microsoft SDKs\Windows\v6.0A\bin" to change your current directory to
that folder and continue to use SvcUtil.exe tool.
---------------------------------------
You may encounter tool's issue to receive my answer. I will send you email
to make sure you have got it from now on. Thanks.
Regards,
Hongye Sun (hongyes@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Re: Broken WCF service reference in VS 2008
- From: Bill McCormick
- Re: Broken WCF service reference in VS 2008
- From: "Hongye Sun [MSFT]"
- Re: Broken WCF service reference in VS 2008
- From: Bill McCormick
- Re: Broken WCF service reference in VS 2008
- From: Bill McCormick
- Re: Broken WCF service reference in VS 2008
- Prev by Date: Re: System.FormatException: Input string was not in a correct format.
- Next by Date: Re: What's finally keyword good for?
- Previous by thread: Re: Broken WCF service reference in VS 2008
- Next by thread: Debugging in 64 bit doesn't break on error
- Index(es):
Relevant Pages
|