The error “An Internal Server Error occurred. [object Object]”


 Product(s):AWLRS
 Version(s):1.2.16.x
 Environment:N\A
 Area:N\A
 Subarea:N\A

Problem

After AWLRS 1.2.16 installation the error “An Internal Server Error occurred. [object Object]” message appears in Chrome.

IE displays only the login page.

 

Solution

The CorsOrigins is set incorrectly e.g. without http or with trailing /

   <add key="CorsOrigins" value="servername.domainname.com" />

   <add key="CorsOrigins" value="http://servername.domainname.com/" />

It should be

   <add key="CorsOrigins" value="http://servername.domainname.com " />

Go to AWLRSWeb_api/ folder and change CorsOrigins value  in Web.config file.

 

 

 Original Author:NT