Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Error when add reference of the WCF service

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 09-26-2007   #1 (permalink)
Poonam
Guest


 

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#]
Guest


 

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
Display Modes




Vistax64.com 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 2005-2008

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 47 48 49 50 51