Skip to Content

Not able to access the SAP HANA Application from the web browser

Hello,

I am not able to access the SAP HANA Application from the web browser. I get the following error when trying to do so:

screen-shot-2019-10-25-at-111138-am.png

I have done the following things:

1. Ensured the project is activated and shared

2. Ensured that the XS engine is up and running

3. Other default projects and files from folders like 'sap' are rendered correctly on the browser. Just my custom project does not render correctly.

I am using hdbstudio and trying to follow this tutorial: https://help.sap.com/viewer/400066065a1b46cf91df0ab436404ddc/2.0.04/en-US/1e87e3f9e43641f3994ec0074bf1b07c.html

Please let me know if I am missing anything here which is not already mentioned in the tutorial.

Add a comment
10|10000 characters needed characters exceeded

  • .xsapp is blank.

    I have tried multiple contents for .xsaccess file as follows but none worked:

    Content 1:

    {
         "exposed" : true,                 
         "authentication" :                                            
                {
                   "method": "Form"   
                },
         "cache_control" : "must-revalidate", 
         "cors" :                      
                {
                 "enabled" : false
                },                
         "enable_etags" : false,
         "force_ssl" : false,
         "prevent_xsrf" : true
    }
    

    Content 2:

    {
    	"exposed": true,
    	"authentication": null,
    	"prevent_xsrf" : true, 
    	"headers": {                
            "enabled": true,
            "customHeaders": [
                {   "name": "X-Frame-Options",
                    "value": "SAMEORIGIN" 
                }
            ] 
        }
    }
    

    Content 3 (content from the tutorial):

    { 
        "exposed" : true,
        "authentication" :
              [
                    { "method" : "Form" }
              ], 
        "prevent_xsrf" : true
    }
  • What is the content of your .xsapp and .xsaccess files?

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.