Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
StijnJanssen
Regular Visitor

Get data online service error on Salesforce object

Dear,

I'm experiencing a issue while getting data on to the power BI desktop.

'When connecting to online service salesforce objects and log in to the specific environment I am able to load every object I would like except 'Account' when I load it I receive the following error.

 

'Failed to save modifications to the server Error returned OLE DB

 or ODCB error'

 

Anyone who can help me with that?

 

Thank you!

 

6 REPLIES 6
ReportRanger
Helper III
Helper III

Hi @StijnJanssen were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:

 

SALESFORCE-1.png

 

After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:

 

SALESFORCE-2.png

 

There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor.  Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

Anonymous
Not applicable

Hi @StijnJanssen,

I am not able to reproduce your issue. Do you use the latest version of Power BI Desktop in your scenario?

Please choose "New Query -> Blank Query" in Query Editor, open the advanced editor and paste the following code:

 

let
    Source = Salesforce.Data("https://login.salesforce.com/", [CreateNavigationProperties = true]),
    Account1 = Source{[Name="Account"]}[Data]
in
    Account1

 


If you still get errors, please go to File -> Options and settings -> Options -> Diagnostics and click "enable tracing", then connect to Account table from Salesforce and check the detailed logs in the traces folder. Also please help to post the detailed logs here.

 

Thanks,
Lydia Zhang

Hi Lydia,

 

yes Im using the most recent version 64 bit.

find the error message on account object of salesforce.

 

Can you help with this? the the log you find below the error message.

 

DataSource.Error: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 </head>
 <body>
  <center>
   <table bgcolor="white" style="align: center;">
    <tbody>
     <tr><td><br><br></td></tr>
     <tr>

      <td>
       <table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;" width="758">
        <tbody>
         <tr><td><br></td></tr>
         <tr>
          <td>
           <div style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;">
            <table bgcolor="white" cellpadding="0" cellspacing="0" width="758">
             <tbody>

              <tr>
               <td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td>
              </tr>
             </tbody>
            </table>
           </div>

          </td>
         </tr>
         <tr>
          <td>
           <span>
            <table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%">
             <tbody>
              <tr>
               <td>

                <span>
                 <span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span>
                </span>
               </td>
              </tr>
             </tbody>
            </table>

           </span>
          </td>
         </tr>
        </tbody>
       </table>      
      </td>
     </tr>
     <tr><td><br></td></tr>
     <tr><td></td></tr>

     <tr><td><br></td></tr>
    </tbody>
   </table>
  </center>
  <!--  Served by force.com -->
 </body>
</html> 
<!-- Generated Tue, 14 Mar 2017 06:17:27 GMT (scl) -->

 

the logs you can find below.

 

DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3610573Z","Action":"BackgroundThread/RollingTraceWriter/CleanupOldTraces","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0027760"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3658178Z","Action":"SimpleDocumentEvaluator/GetResult/Compile","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0189289"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3848192Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0001752"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3848124Z","Action":"SimpleDocumentEvaluator/GetResult/Evaluate","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0152437"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.4000882Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0029474"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3658012Z","Action":"SimpleDocumentEvaluator/GetResult<IPreviewValueSource>","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0692616"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3624362Z","Action":"FirewallDocumentEvaluator/GetResult<Microsoft.Mashup.Evaluator.Interface.IPreviewValueSource>","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0376490"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.4001011Z","Action":"RemotePreviewValueSource/RunStub","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.1072088"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.3623992Z","Action":"RemoteDocumentEvaluator/Service/OnBeginGetResult","HostProcessId":"7084","evaluationID":"57","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.1449270"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5074341Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0000355"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5286761Z","Action":"SimpleDocumentEvaluator/GetResult/Compile","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0461744"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5749328Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0000344"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5749026Z","Action":"SimpleDocumentEvaluator/GetResult/Evaluate","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0006970"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5756204Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0000313"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5286576Z","Action":"SimpleDocumentEvaluator/GetResult<IPreviewValueSource>","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0533472"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5244298Z","Action":"FirewallDocumentEvaluator/GetResult<Microsoft.Mashup.Evaluator.Interface.IPreviewValueSource>","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0511883"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5756287Z","Action":"RemotePreviewValueSource/RunStub","HostProcessId":"7084","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0089634"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5243917Z","Action":"RemoteDocumentEvaluator/Service/OnBeginGetResult","HostProcessId":"7084","evaluationID":"58","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"4fc3e7e4-29a1-4afe-8763-84f48aa69442","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":1,"Duration":"00:00:00.0603612"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-14T06:35:41.5845894Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.44.4675.521 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":6112,"Tid":4,"Duration":"00:00:00.0003112"}

 

 

Anonymous
Not applicable

Hi @StijnJanssen,

Since I am not able to reproduce this issue, I would like to suggest you to submit a support ticket:

https://powerbi.microsoft.com/en-us/support/.



Thanks,
Lydia Zhang

Anonymous
Not applicable

Hi @Anonymous,

 

I'am experiencing the same issue as @StijnJanssen

http://community.powerbi.com/t5/Issues/Salesforce-object-DataSource-Error/idc-p/150534#M5277

We hope you can help us as soon as posibble, as this is a big problem for us.

 

Kind Regards,

Ronald

 

 

HI all,

 

it seems this issue occurs based on the user level logged in to the service, the 'object' issues we experience are based on a admin user account, if we login to another account the issue does not occur.

Any ideas what may cause this?

 

DataSource.Error: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
  <center>
   <table bgcolor="white" style="align: center;">
    <tbody>
     <tr><td><br><br></td></tr>
     <tr>

      <td>
       <table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;" width="758">
        <tbody>
         <tr><td><br></td></tr>
         <tr>
          <td>
           <div style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;">
            <table bgcolor="white" cellpadding="0" cellspacing="0" width="758">
             <tbody>

              <tr>
               <td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td>
              </tr>
             </tbody>
            </table>
           </div>

          </td>
         </tr>
         <tr>
          <td>
           <span>
            <table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%">
             <tbody>
              <tr>
               <td>

                <span>
                 <span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span>
                </span>
               </td>
              </tr>
             </tbody>
            </table>

           </span>
          </td>
         </tr>
        </tbody>
       </table>     
      </td>
     </tr>
     <tr><td><br></td></tr>
     <tr><td></td></tr>

     <tr><td><br></td></tr>
    </tbody>
   </table>
  </center>
  <!--  Served by force.com -->
</body>
</html>
<!-- Generated Fri, 17 Mar 2017 13:02:58 GMT (scl) -->

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.