SData Install & Training

SUGGESTED

Has anyone here successfully installed SData and created an application that uses SData to write information into Sage 100 2013 (version 5.0) files?

I could not find any SData training on Sage University and I have found very few examples on the internet.  I did find one example on Chortek Technology Blog: http://blog.c-gconsulting.com/2013/04/sdata-with-sage-100-erp-2013.html

However, I'm unable to get the basic test URL to work: http://localhost/sdata/masapp/MasContract/ABX/$schema
I receive an error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Any help or guidance is greatly appreciated.

Thanks,
Danny


 


 

Parents Reply
  • 0 in reply to Kent Mackall

    Hello!

    We have the same issue, we have Sage 100 2013 Erp and SDATA enabled, but when we access:

    10.28.0.18/.../TST$schema

    we get:

    Server Error

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    I think the request is not processed by IIS correctly.

    When we trying to access:

    https://10.28.0.18/SData/

    it's just show us a subdirectory MasApp

    When we trying to access:

    10.28.0.18/.../MasApp

    we get:

    Server Error

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    In IIS we have a separate application pool running for SDATA and we have SDATA entry point added.

    Also we have checkbox in MAS config - enable SDATA set and we have a MAS role with all permissions to access SDATA.

    Can you please help us?

    Thanks a lot.

    Dmitry

Children
  • 0 in reply to Dmitry

    Greetings,

    The error 404 generally means that the website or resource cannot be found.  Make sure you are specifying the URL properly.  In particular, the case of MasApp and MasContract is important.

    To get the schema:

    https://machinename/sdata/MasApp/MasContract/companycode/$schema

         - Replace machinename and companycode with proper values

    To get a spceeific resource (table):

    https://machinename/sdata/MasApp/MasContract/companycode/tablename

         - Replace machinename, companycode and tablename with proper values

    If correcting the URL does not work, then you need to check your IIS setup and make sure the SData site is setup properly.  You may even have to try uninstalling and reinstalling the SData Native Adapter.

    Thank you,

    Kent Mackall

  • 0 in reply to Kent Mackall

    Hello Kent!

    Thanks for your response. it still returns file not found.

    Can you pls tell me how to uninstall and reinstall SDATA Native Adapter? is it some program? Is it part of the main Sage ERP installation?

    Thanks a lot.

    Dmitry

  • 0 in reply to Dmitry

    In Windows Programs and Feeatures, there should be an entry for '5.0 SData' with Sage as the Publisher.  Right Click on it and select uninstall.  After uininstall, check IIS Manager to make sure that the SData site you installed is gone.

    Thank you,

    Kent

  • 0 in reply to Kent Mackall

    Thanks Kent! We'll try to uninstall and re-install SDATA today to see if that will help. I will update here the results.

    Thanks.

    Dmitry

  • 0 in reply to Dmitry

    We re-installed SData and still no luck. Still the same as before.

    Here are some screenshots.

    When we call sdata url (/sdata) via HTTPS we see folder listing and then if we open next level urls (/sdata/MasApp etc) we see file not found:

    If we call main sdata url (/sdata) or any next level url (/sdata/MasApp) with HTTP, then we see access denied error:

    In IIS management I see SData application pool working and I also see new website /SData:

    Can you pls help us? maybe we need to see for some specific settings?

    In Sage ERP I double-checked - "Enable Native SDATA adapter" is enabled and SData permissions assigned for support user.

    Thank you!

  • 0 in reply to Dmitry

    Have you tried actually connecting to a resource instead of trying to list directory contents?

    What happens if you use Internet Explorer and try the following?

    To get a speceific resource (table):

    https://machinename/sdata/MasApp/MasContract/companycode/tablename

        - Replace machinename, companycode and tablename with proper values

    Thank you,

    Kent

  • 0 in reply to Kent Mackall

    Yes, I tried 10-20 different urls from manual (schema, resource urls etc) too - it shows "file or directory not found" too. :-(

  • 0 in reply to Dmitry

    Hello everyone!

    One of tech guys said that it's probably because we use IIS7 and IIS6 compatibility were not installed prior to MAS installation.

    Could it be a reason?

  • 0 in reply to Dmitry

    Okay guys we fixed it!

    All that was required was to add two allowed items to ISAPI and CGI Restrictions, ASP.Net v2.0.50727 for both 32 and 64 bit. (See Screen Shot below.)