This is the code in the Query:
=“SELECT T1.XXX_PODesc_c, T1.PartNum
FROM Part_” + Parameters!TableGuid.Value + “T1”
When I run it it gives the following error: For more information about this error navigate to the report server on the local server machine, or enable remote errors ---------------------------- Query execution failed for dataset ‘DataSet2’. (rsErrorExecutingCommand) ---------------------------- An error has occurred during report processing. (rsProcessingAborted)
I dont get what I’m doing wrong, can someone help me?
If I need to supply more information then I can
Paste this in GPT or whatever and tell it to make it one line of SQL with each word separated by a space. Also, I am with Mark, does this field actually exist “T1.XXX_PODesc_c”?
ChatGPT Generates this:
=“SELECT T1.nds_PODesc_c, T1.PartNum FROM Part_” + Parameters!TableGuid.Value + " T1"
in a single line. I tried it but it still gives off the same error
Since you’re on-prem, you can use SSMS to check the fields.
First, there should be a PART_UD table and you should see values in PART_UD.nds.PODesc_c. If so, the next thing is to make sure it’s making it to the SSRS report database.
If you run the report in Generate Mode only and set the archive period to a week, you should be able to find Part_{GUID}, where the GUID is the report ID you can find in the System Monitor. Check to see if the field exists there and has data.
Also like mark said, you can use SQL server management studio (SSMS) and run that query directly in there and use the GUID that you get from your system monitor and see if the query gives you any errors in SSMS.
I recently ran across this same error. It turned out there were 2 shared data sources listed in the report. One was pointing to the test server and the other the live server. We removed the reference to the other server and it ran fine. I’ve found packaging reports in the solution workbench is the best way to transfer between instances and then you don’t get 2 shared data sources in the report.
Also, the log files @utaylor mentioned are really helpful - good reference to keep in the toolbox!