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.
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.
Answers
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?
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?
Dynamics NAV Enthusiast
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.
Dynamics NAV Enthusiast