Visual C# Express 2010 and NAV Webservice

chaossurferchaossurfer Member Posts: 6
edited 2010-06-22 in NAV Three Tier
I get an Error if I add the Add the Service Reference

http://localhost:7047/DynamicsNAV/WS/Services

also if I try --> Advanced “Add Web Reference”

Error:
Microsoft Visual C# 2010 Express has
Encountred a problm and needs to close.

If I try the same with Visual Studio 2005 there is no problem.

regards
chaossurfer

Comments

  • AdrianAkersAdrianAkers Member Posts: 137
    That's a bit bizarre...Only thing I could suggest is try to re-install your VS 2010 and ensure everything is patched up to the latest level.
  • chaossurferchaossurfer Member Posts: 6
    it is not VS 2010 only the Express Version but I hope this could not be the problem.

    Have a other user with VS 2010 or Express 2010 the same problem?

    OS: Vista

    regards
    chaossurfer
  • AdrianAkersAdrianAkers Member Posts: 137
    I am using VS2010 on Windows 7 without any problems...
  • chaossurferchaossurfer Member Posts: 6
    so it could be a problem with the Express Version... :?
  • AdrianAkersAdrianAkers Member Posts: 137
    I would think so... Shame there is no useful error message. Did you check the local event logs?
  • chaossurferchaossurfer Member Posts: 6
    Hello,

    I found some new information:

    EvenLog: NAVServer exact on the time i try to add the reference:

    Service:
    User:
    Type: Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException
    Message: Service "SystemService/$metadata" was not found!
    StackTrace:
    bei Microsoft.Dynamics.Nav.Service.WebServices.UrlParser.ParseUrlPart(String theUrlPart)
    bei Microsoft.Dynamics.Nav.Service.WebServices.UrlParser..ctor(String urlPart)
    bei Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.Invoke(Boolean isSoapMessage, String serviceName, Uri url, XmlReader input, TextWriter output, String sid)
    bei Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<>c__DisplayClass5.<ProcessMessage>b__1()
    bei Microsoft.Dynamics.Nav.Service.WebServices.Disposer.Scope(Code code)
    bei Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<ProcessMessage>b__0(StreamWriter streamWriter)
    bei Microsoft.Dynamics.Nav.Service.WebServices.WCFUtil.GetPopulatedMemoryStream(StreamFillingCallback callback)
    bei Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.ProcessMessage(Message message)
    bei SyncInvokeProcessMessage(Object , Object[] , Object[] )
    bei System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    bei System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    Source: Microsoft.Dynamics.Nav.Service.WebServices

    now I think the NAV Service Installation is the probem... but why there is no problem with VS 2005 :-(

    Regards
    chaossurfer
Sign In or Register to comment.