Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

SAP UI5 : 500 Internal Server Error

$
0
0

Hello Everyone,

 

I am new to SAP UI5.

 

I am using :

SAP MII 14.0

UI5 version 1.14.0

Chrome

IE 10

 

I have written a simple html page using SAP UI5 in MII. The code is at the end.

The html page was working fine till I cleared the browser cache(I did in both chrome and IE).

After I cleared the browser cache I am getting an error.

 

GET http://Server:Port/sapui5/resources/sap-ui-core-dbg.js 500 (Internal Server Error) sap-ui-core.js:41

Uncaught ReferenceError: sap is not defined

 

Earlier I was getting this type of error for sapui5/resources/sap/ui/commons/library.js and sapui5/resources/sap/ui/commons/Button.js

 

http://Server:Port/sapui5/resources/sap-ui-core-dbg.js does not open (Also library.js and Button.js  do not open)

 

But http://Server:Port/sapui5/resources/sap-ui-core.js opens up.

 

I have selected Always refresh from server in IE and Disable cache in Chrome.

 

Please help me to resolve the issue.

 

Thanks,

Nalini

 


<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />

  <title>Test</title>

  <script id="sap-ui-bootstrap"
    type="text/javascript"
     src="/sapui5/resources/sap-ui-core.js"
    data-sap-ui-theme="sap_goldreflection"
               data-sap-ui-libs="sap.ui.commons" >
  </script>


  <script>
   var oLabel = new sap.ui.commons.Label("l1");
   oLabel.setText("Test label");
   oLabel.placeAt("content");


  </script>
</head>

<body class="sapUiBody">
  <h1>Test Page</h1>
  <div id="content"></div>
</body>
</html>


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>