Web Service

Deepankar1982Deepankar1982 Member Posts: 38
edited 2009-12-16 in NAV Three Tier
I have published Customer on Web Service page and when i am using the given below link its showing all the services.
http://localhost:7047/DynamicsNAV/WS/CR ... ./Services

But when i am trying to access the Customer service "http://localhost:7047/DynamicsNAV/WS/CRONUS India Ltd/Page/Customer_List", it's not working where else its working in my other system, can any one tell me why so its happening.

With regards,
Deepankar

Comments

  • tlarsontlarson Member Posts: 27
    What happens when you try to access the web service?

    That is, if you open up a web browser on the local system (where the web service is running) and you type in http://localhost:7047/DynamicsNAV/WS/CRONUS India Ltd/Page/Customer_List in the address bar, what happens?

    Tim
  • Deepankar1982Deepankar1982 Member Posts: 38
    Actually few days back i have created a "NAS" with custom name, is it giving me the pain for this reason? But later i have deleted it from registry.

    its giving a XML file with error log:-
    a:Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLMetadataFailedException
    and
    "Metadata for object of type Page with id 21 is in a failed state. This is caused by a previous exception: Compilation of assembly 'C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\assembly\Page21.dll' failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: c:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Page\Page21.cs(77,9) : error CS1501: No overload for method 'RegisterSourceExpression' takes '5' arguments" under <faultstring xml:lang="en-US"> tag.
  • tlarsontlarson Member Posts: 27
    If you open up Nav, are you able to compile page 21?

    I would look at whatever in page 21 is calling RegisterSourceExpression. It looks like there is some type of compilation error.

    Also, you can look at the file listed in the error message (c:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Page\Page21.cs) on the web service server and look at line 77, column 9 to see what it's referring to.

    Tim
Sign In or Register to comment.