Showing posts with label Apps TroubleShooting. Show all posts
Showing posts with label Apps TroubleShooting. Show all posts

Troubleshooting the SharePoint 2013 App solution


Troubleshooting the App solution

If you see…
Error message: Sorry, we had some trouble accessing your site.
There is also a button to fix the error, but it doesn’t correct the problem.

Then try…
You may have hit a known problem with security zones in Internet Explorer, see Work with the cross-domain library across different Internet Explorer security zones in apps for SharePoint.


If you see…
Error message: The required functionalities are not supported by your browser. Please make sure you are using IE 8 or above, or other modern browser. Please make sure the 'X-UA-Compatible' meta tag is set to be 'IE=8' or above.
Then try…
The cross-domain library requires a document mode of IE8 or above. In some scenarios, the document mode is set to IE7 by default. You can use the Internet Explorer developer tools to determine and change the document mode of your page. For more information, see Defining Document Compatibility.


If you see…
Error message: 'Type' is undefined.
Additionally, your app uses the JavaScript Object Model (JSOM).

Then try…
The JSOM uses the Type.registerNamespace method in the Microsoft Ajax library to register the SP namespace. Use the following code to add a reference to the Microsoft Ajax library from your page:
HTML
<script
 type="text/javascript"
 src="//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js">
</script>