5 Replies Latest reply on Mar 5, 2014 11:05 AM by Jesse Gebhardt

    Data Source Error - Tableau 8 - Fatal exception in native C++ engine

    Dru Duos

      We are starting to work with Tableau 8 data sources and we are encountering problems with an error when attempting to connect to published data sources.  The error appears to appear primarily for the person who created the data sources.  Other uses may be able to connect to the data source.

       

      The error is somewhat random, but seems to occur consistently for the person who publishes the data source, while other users often can connect to and use the data source.

       

      Our server administrator is not seeing a problem on the Tableau server.

       

      Content of Error message:

       

      Fatal exception in native C++ engine

      class DataSourceException


      Unable to connec to the server {server name removed for privacy} Check that the server is running and that you have access privileges to the requested database.

       

      Error: Unable to connect to this Tableau Server data scourse

        • 1. Re: Data Source Error - Tableau 8 - Fatal exception in native C++ engine
          Matt Lutton

          Did you open a Support Case?  Here is a related thread: http://community.tableau.com/thread/132969

           

          What is your data source?  Have you updated drivers?  Another related thread points to this: http://community.tableau.com/thread/120938


          As well as Tableau's KB:

          Troubleshoot Data Sources

           

          From Above KB Article:

          Database drivers: If the person who created and published the data source in Tableau Desktop needed to install additional database drivers, you may need to install them on Tableau Server as well. If you are running a distributed installation of Tableau Server where, for example, the data server process is running on a worker server, any required database drivers must be installed there as well as on the primary server. Other processes require drivers as well. See Database Drivers for more information.

          • 2. Re: Data Source Error - Tableau 8 - Fatal exception in native C++ engine
            Dru Duos

            My data source is Oracle, which I understand are automatically installed.

             

            I embedded the password when publishing the data source.

             

            I looked at the log file, but don't see any additional information that would help me resolve or identify the issue.

             

            It's also a quirky error and does not always occur.  If there is a pattern, I've not been able to discern it, other than it seems to occur more consistently for the persorn who originally published the data source.

             

            Here's a snippet of the log file just prior to and just after the error.

             

            2013-10-21 09:12:43.319 (-,-,-,-) 16b8: HTTPRequestor::DoWork::HTTPException 500 http://[hostname]/dataserver/create.xml

            2013-10-21 09:12:43.319 (-,-,-,-) 16b8: WorkItemSetComplete: 0B13DB28

            2013-10-21 09:12:43.319 (-,-,-,-) 06a8: Action: Connecting to database...  SubAction: Getting data from server Status: Transferred 0 B Observers: 0

            2013-10-21 09:12:43.319 (-,-,-,-) 06a8: Internal server error.

            2013-10-21 09:12:43.319 (-,-,-,-) 06a8:

            2013-10-21 09:12:43.319 (-,-,-,-) 06a8: HTTPRequestor: rethrow exception

            2013-10-21 09:12:43.326 (-,-,-,-) 06a8: DataSourceException: type=Unknown

            2013-10-21 09:12:43.326 (-,-,-,-) 06a8: DataSourceException: type=Disconnect

            2013-10-21 09:12:43.326 (-,-,-,-) 06a8: throw DataSourceException (type=Disconnect)

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: <close-protocol :thread-session='background' channel='http' class='sqlproxy' dbname='RetentionStudy' directory='dataserver' name='RetentionStudy' password='' port='80' server='[hostname]' server-userid='40' username=''>

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: <connections>

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8:   <connection class='firebird' dbname='C:\Program Files (x86)\Tableau\Tableau 8.0\local\data\GEOCODING.FDB' password='' server='' this='0aee6fe8' username='sysdba' />

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: </connections>

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: </close-protocol>

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: ProtocolBase::~ProtocolBase( <connection channel='http' class='sqlproxy' dbname='RetentionStudy' directory='dataserver' name='RetentionStudy' password='' port='80' server='[hostname]' server-userid='40' this='0750f328' username='' /> )

            2013-10-21 09:12:43.327 (-,-,-,-) 06a8: WorkItemSetComplete: 0B13DAC8

            2013-10-21 09:12:43.327 (-,-,-,-) 07d4: Action: Connecting to database...  SubAction:  Status:  Observers: 0

            2013-10-21 09:12:43.327 (-,-,-,-) 07d4: throw DataSourceException (type=Disconnect)

            2013-10-21 09:12:43.381 (-,-,-,-) 07d4: NotifyOfException::DataSourceException

            2013-10-21 09:12:43.381 (-,-,-,-) 07d4: RuntimeAssert: We have a Disconnect exception, but DataSourceException::m_dsName was not set!

            2013-10-21 09:12:43.381 (-,-,-,-) 07d4: RuntimeAssert: We have a Disconnect exception, but DataSourceException::Name was not set!

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4: Error Dialog:

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4: An error occurred while communicating with Tableau Server.

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4: The connection to the data source might have been lost.

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4:     Fatal exception in native C++ engine

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4:     class DataSourceException

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4:     Unable to connect to the server "[hostname]". Check that the server is running and that you have access privileges to the requested database.

            2013-10-21 09:12:43.391 (-,-,-,-) 07d4:     Error: Unable to connect to this Tableau Server data source.

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4: RuntimeAssert: We have a Disconnect exception, but the data source name is empty!

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4: InformationBox: message = "An error occurred while communicating with Tableau Server.

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4: The connection to the data source might have been lost. Fatal exception in native C++ engine

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4:  class DataSourceException

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4:  Unable to connect to the server "[hostname]". Check that the server is running and that you have access privileges to the requested database.

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4:  Error: Unable to connect to this Tableau Server data source.

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4: ", result = Ok

            2013-10-21 09:29:53.841 (-,-,-,-) 07d4: COMMAND.POST connect-data-server-datasource

            • 3. Re: Data Source Error - Tableau 8 - Fatal exception in native C++ engine
              Matt Lutton

              I'm not familiar with the problem, but I would think Support would be able to help with something like this.  Best of luck.

              • 4. Re: Data Source Error - Tableau 8 - Fatal exception in native C++ engine
                Robert Morton

                Hi Dru,

                You will need to examine the Tableau Server logs to understand what led to the fatal condition on Server. The Support team will be able to guide you through the process of collecting Server logs.

                -Robert

                • 5. Re: Data Source Error - Tableau 8 - Fatal exception in native C++ engine
                  Jesse Gebhardt

                  Try changing the Tableau Server Run-As Account to be a real Windows user who has read/write capabilities on that machine.  For testing purposes you can even change it to your Windows account (even beyond for testing, you can leave it as your account).  Keep in mind that if you use MS SQL Server, this account must also have access to that database as well.

                   

                  To change the run-as account, remote into the server machine, stop tableau server, and then go to 'Configure Tableau Server' and change it there.  Then save, and start the server again.

                   

                  I just tried this and it fixed the same issue on the server I was working with, but may not be the same issue you are experiencing.