Schema error using Visual C# 2008 Express

tedcjohnstontedcjohnston Member Posts: 41
edited 2009-09-24 in NAV Three Tier
Have NST setup. Can read the WSDL on local machine.

When try to read from remote machine, get a logon prompt, then an http 500 error.

When I try to create the service in Visual C# 2008 Express, following the consuming web services walk through, I get the login prompt, then The website cannot display the page message. In the Web services found at this URL: box, I get the following:

'http://192.168.206.6:7047/DynamicsNAV/WS/Services'.
The request failed with the error message:
--
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Typ

<edit>
I played around with the delegation and now can see the list of services within C# but still get the above message. So, I cannot add the reference. Even though C# sees the service description, it seems there is some problem with the WSDL that keeps it from being able to add a reference.

I can only get the WSDL if I login as Administrator (a bad thing I know). If I login as any other account, even one in the domain admin group, I get just the error and a website cannot be displayed error in VC#2008
</edit>

<edit>
Was related to another issue with SPNs solved in another post. Setspn on MSSQLSvc needs to be user that SQL is running under, not the user that middle tier is running under. My mistake.
</edit>
"There are only two truly infinite things: the universe and stupidity. And I am unsure about the universe." - Albert Einstein
Corollary- Build and idiot proof system and nature will build a better idiot.

Answers

  • tedcjohnstontedcjohnston Member Posts: 41
    Combined into prior message...
    "There are only two truly infinite things: the universe and stupidity. And I am unsure about the universe." - Albert Einstein
    Corollary- Build and idiot proof system and nature will build a better idiot.
Sign In or Register to comment.