General Error

Posted by wwaechter-lid on 27-Sep-2016 09:03

Hi,

we go thru the documentation and implemented is described (but with our own database), all works (Service URL and Catalog Uri), we get response with json-data and schema in the browser.

Build & PreviewChoose the preferred method to preview the current App“ opens a new tab with url: http://localhost:11333/1474962223747/#/home

Now we see our Modules. After click on module we get an "General Error" : Failed to load resource: the server responded with a status of 500 (Internal Server Error) 

What happens, what could be our mistake ?

All Replies

Posted by egarcia on 27-Sep-2016 09:13

Hello,

It looks like the Service URI is pointing to the resource instead of the web application.

The Service URI generally looks like http://<host>/Customers

Please check the URI used for the data provider.

I hope this helps.

Posted by Anil Kumar on 27-Sep-2016 09:38

Hi,

As Edsel suggested this is the problem with 'Service URI'  field in the 'Data Provider' screen in Kendo UI Builder. Please change this value from file system (as respective fields 'Catalog URI' and 'Service URI' are disabled in UI) in below location and Preview the app

<Web App Location>\build-output\debug\data-providers.json

Example: C:\KUIBApps\MyCRMApp\build-output\debug\data-providers.json

General format of 'Service URI' is as below:

    http://<hostname>/<webapp name>

    Examplehttp://localhost:8810/MyCRMApp

Thanks and Regards,

Anil Kumar.

This thread is closed