Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Error when add reference of the WCF service

 
 
Old 09-26-2007   #1 (permalink)
Poonam


 
 

Error when add reference of the WCF service

Hi,

I am new to the WCF and i was trying to do "Hello world" sample.
but i m getting error when i add the reference of my WCF service to another
project.
Error is like that -

The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading
'http://Mytech/TestService/Service.svc?xsd=xsd0'.
- The request failed with HTTP status 504: Proxy Timeout ( The connection
timed out. ).

Can anyone please help me to solve this error?


My System SpecsSystem Spec
Old 09-28-2007   #2 (permalink)
Chris Mullins [MVP - C#]


 
 

Re: Error when add reference of the WCF service

There seem to be a few common issues, that I keep running into that cause
this:

Issue #0 - You forgot to run the setup script for the samples. These scripts
are in:
[...]\TechnologySamples\Setup\[CS]|[VB]

Issue #1 - ASP.Net 2.0.x isn't installed correctly. Fix this with
"aspnet_regiis /i".

Issue #2 - the SVC file type isn't properly mapped. Fix this (in IIS5 /
WinXP) by:
- Pull up the IIS Admin tool
- right click on your web site, and go to properties
- Go to "Home Directory" tab and select "Configuration"
- In the Mappings tab that comes up, look for ".svc". It's probably not
there.
- "Add".
- the Executable is,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
- the verbs are: GET,HEAD,POST,DEBUG
- I leave everything else as it's default.
- Restart IIS (probably not needed, to be honest).

Issue #3 - Permission
- the ASPNET account needs rights on your directory. Grant that account
rights to your stuff.
- I would never recommend adding the "administrator" group to the ASPNET
account (especially on a dev box!) but if you were to do this, there's a
good chance it'll work.

--
Chris Mullins

"Poonam" <Poonam@xxxxxx> wrote in message
news:4A26DC24-936C-47DE-9ED3-F3BE7C1F73AB@xxxxxx
Quote:

> Hi,
>
> I am new to the WCF and i was trying to do "Hello world" sample.
> but i m getting error when i add the reference of my WCF service to
> another
> project.
> Error is like that -
>
> The document was understood, but it could not be processed.
> - The WSDL document contains links that could not be resolved.
> - There was an error downloading
> 'http://Mytech/TestService/Service.svc?xsd=xsd0'.
> - The request failed with HTTP status 504: Proxy Timeout ( The connection
> timed out. ).
>
> Can anyone please help me to solve this error?
>

My System SpecsSystem Spec
 

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46