Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 28
Registered: ‎11-18-2015
Accepted Solution

Problem trying to setup a BI map with a SQL Server Data.

I was trying to setup a BI map with a SQL Server Data.. It’s a simple point data with rainfall values and few other attributes. I have added the vector data in the contents but it does not show up in the BI Maps data:

 

 MappE_1.jpg

 

And when I click back it has an error:

 MappE_2.jpg

 

 

Here is the contents:

 MappE_3.jpg

Technical Evangelist
Posts: 118
Registered: ‎09-01-2015

Re: Problem trying to setup a BI map with a SQL Server Data.

What is the error coming up in the Developer Tools? It is hard to read in this small screenshot.

 

 

Contributor
Posts: 28
Registered: ‎11-18-2015

Re: Problem trying to setup a BI map with a SQL Server Data.

No Element found and this 

 

Potentially unhandled rejection [38] .response@https://bigapple/BiWizard/app.js:701:17614
n/</n</<@https://bigapple/BiWizard/app.js:700:16002
z@https://bigapple/BiWizard/app.js:683:31001
O@https://bigapple/BiWizard/app.js:683:30647
x.prototype.when@https://bigapple/BiWizard/app.js:684:2230
w.prototype.run@https://bigapple/BiWizard/app.js:684:1261
e.prototype._drain@https://bigapple/BiWizard/app.js:684:4508
e/this.drain@https://bigapple/BiWizard/app.js:684:4178
t@https://bigapple/BiWizard/app.js:683:18428

Staff
Posts: 106
Registered: ‎11-24-2015

Re: Problem trying to setup a BI map with a SQL Server Data.

[ Edited ]

Try this...

 

workaround you can edit <path to installation>/BiWizard/enterprise-config.js and replace /MApp with ..

 

see screenshot that follows

Highlighted
Staff
Posts: 965
Registered: ‎10-19-2015

Re: Problem trying to setup a BI map with a SQL Server Data.

[ Edited ]

It seems I have the same problem, but can't find MApp in the enterprise-config.js file... it looks like this

 

(function() {
  define(function() {
    return {
      authorizationMode: "localStorageRefreshToken",
      authorizeUrl: "../api/v1/oauth/authorize",
      clientId: "mapp-studio-100573",
      configurationPersisterEndpointUrl: "../api/v1/bimaps",
      endpointUrl: "../api/v1",
      hereBaseMapAppCode: "NcNYh0n_yCVwOMzHbh-93A",
      hereBaseMapAppId: "t2USz3mzaHBkI1917H45",
      notificationTargetOrigin: "*",
      refreshTokenUrl: "../api/v1/oauth2/token",
      storageKey: "studio_storage"
    };
  });

}).call(this);

 

It happens only with SQLServer data source. With PostGIS I am able to configure the BI. It seems the geojson returned is not readable:

{"message":"Stream was not readable."}

 

 

 

 

Thanks,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.