web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Connector for Microsoft Dynamics NAV

(0) ShareShare
ReportReport
Posted on by 585

I am trying to setup the NAV Dynamics Connector but keep running into the same issue.

Under "MS Dynamics NAV Settings"

I enter the URL as:

http://xxxx-db01:7047/DynamicsNAV/WS

Then a "Test Settings" results in the following error:

If I browse to the same URL in a browser this results in a "HTTP 500 Internal Server Error".

I can however browse to http://xxxx-db01:7047/DynamicsNAV/WS/SystemService and http://xxxx-db01:7047/DynamicsNAV/WS/Services and both return correct XML responses. I have tried using both of these URLs instead on the connector but the same error remains.

When I browse to http://xxxx-db01:7047/DynamicsNAV/WS this does generate the following event log:

Service:
User:
Type: System.ArgumentOutOfRangeException
Message:
startIndex cannot be larger than length of string.
Parameter name: startIndex
ParamName: startIndex
StackTrace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at Microsoft.Dynamics.Nav.Service.WebServices.WCFUtil.GetServiceNameAndContextFromMessage(Message message)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<>c__DisplayClass5.<ProcessMessage>b__1()
at Microsoft.Dynamics.Nav.Service.WebServices.Disposer.Scope(Code code)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<ProcessMessage>b__0(StreamWriter streamWriter)
at Microsoft.Dynamics.Nav.Service.WebServices.WCFUtil.GetPopulatedMemoryStream(StreamFillingCallback callback)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.ProcessMessage(Message message)
at SyncInvokeProcessMessage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Source: mscorlib

Am I missing something obvious here?

It is Nav 2009 Classic.

Any help would be much appreciated.

Kind Regards

Charlie

*This post is locked for comments

I have the same question (0)
  • Verified answer
    charliejamesuk Profile Picture
    585 on at

    OK, managed to sort myself.

    Looks like you need a / on the end of the URL (as below)

    xxxx-db01/.../WS

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans