Options

Dynamics Mobile for NAV http://10.237.0.5/DocumentS

TomasTomas Member Posts: 420
edited 2008-09-23 in Dynamics Mobile
Downloaded Dynamics Mobile VPC.
Booted it up. And when I try to run http://10.237.0.5/DocumentService/Document.SVC i am getting error:
Server Error in '/DocumentService' Application.
--------------------------------------------------------------------------------

The contract name 'Microsoft.Dynamics.Mobile.Server.Services.Document.IDocumentService' could not be found in the list of contracts implemented by the service 'DocumentService'. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: The contract name 'Microsoft.Dynamics.Mobile.Server.Services.Document.IDocumentService' could not be found in the list of contracts implemented by the service 'DocumentService'.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

When I check Event Viewer, I can see that ASP.NET is having problems with:
An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/435781690/Root/DocumentService

Process ID: 5684

Exception: System.UnauthorizedAccessException

Message: Access to the port is denied.

Anyone else had similar problems while trying to make Mobile Dynamics for NAV to work? Any ideas on where to start to troubleshoot?

Answers

  • Options
    gedasgedas Member Posts: 87
    Hi

    Where from do you run http://... from IE in VPC or outside vpc?
    Error says about athentication problems, what user/password do you use?
    There is new VPC released, try to use it - for me everything works just "out of box"
    __________________________________________________

    Lithuania is here. Where is London? :D
    GB
  • Options
    TomasTomas Member Posts: 420
    Gedai,

    I have downloaded the latest one. And I am trying to make it work with Windows XP.

    I get same error message regardless of where I am running that http://.. (from HOST machine or from Virtual PC).

    For logins/usernames I have tried to use all existing on a VPC users/passwords, however same error message. I think it is authentication problems here related to network settings instead of users/passwords.

    As for .. It should work out-of-the-box... I have been struggling for almost a week to make it work on my machine. Maybe, it just doesn't like windows xp? :)
  • Options
    gedasgedas Member Posts: 87
    Tomai

    It is very starnge because in latest VPC there is another IP address, and for sure it must not work with old one. However it works for you. Are you sure you are using latest VPC?
    Try to add port inthe address:
    http://192.168.1.10:8080/DocumentService/Document.SVC

    As i said everything works for me in latest VPC.
    Did you install it using latest installation guide?
    There are users/paswords/IP addresses/connection ports changed comparing to previous VPC?
    GB
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    [Topic moved from NAV/Navision to Dynamics Mobile]
  • Options
    TomasTomas Member Posts: 420
    gedas wrote:
    Tomai

    It is very starnge because in latest VPC there is another IP address, and for sure it must not work with old one. However it works for you. Are you sure you are using latest VPC?
    Try to add port inthe address:
    http://192.168.1.10:8080/DocumentService/Document.SVC

    As i said everything works for me in latest VPC.
    Did you install it using latest installation guide?
    There are users/paswords/IP addresses/connection ports changed comparing to previous VPC?

    Thanks Gedai, for your suggestions.
    I decided to start from the beginning and with the help of Laurent I have managed to synchronize my mobile phone with VPC.

    The issue was that:
    When testing I should have used: http://192.168.1.10:8080/DocumentService/Document.SVC (as Gedas said)
    However, when mobile phone was synchronizing, instead of using IP it used ds-srv-01 and it could not connect to SQL. Therefore, after changing ds-srv-01 to 192.168.1.10 in document service address, I was able to make that demo work.
Sign In or Register to comment.