Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Import or SQL text query fails, but query designer works (I need to use the text query)

$
0
0

I am able to successfully connect to datasource & run reports when I build query with the GUI.

For some reason though, when I import .SQL or when I type SQL into the 'Text' query box I encounter errors (using the same datasource that worked with no problem in the query designer) . The SQL statement itself is extreemly simple, yet has a where clause that keeps the result set small so I do not beleive it is the syntax.

I am new to MS SQL Server ReportBuilder so it likely is something very simple/obvious, but I cant figure it out. I beleive the user account that I am using has only read permissions to the database, but my query is just a simple select statement. Here is the error I receive:

(note: I only posted a portion of the error message because this form reads a lot of it as web links and my account is not elevated yet to post links, perhaps because it contained xml tags)

Thank you for your time and I appreciate any suggestions you may have!!

---------------------------
Microsoft SQL Server Report Builder
---------------------------
Could not create a list of fields for the query. Verify that you can connect to the data source and that your query syntax is correct.

An error occurred when the query ran. Refer to the inner exception for details.

The remote server returned an error: (500) Internal Server Error. query compilation failed: e InvalidSemanticQuery The semantic query is not valid. Details: Data at the root level is invalid. Line 1, position 1. ( '').</Message></MoreInformation><Warnings  /></detail>

The remote server returned an error: (500) Internal Server Error.

To continue without updating the fields list, click OK.
 


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>