Reports work when developing but not on live server; datasource connection errors and how to set it up right in development
Posted on 2012-03-20
I am having a lot of trouble with this error:
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'dataset_name'. (rsErrorOpeningConnection)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
My supervisor and I go into the data connections on the sharepoint site trying to fix it and sometimes we do but there is no clear action that we can pinpoint as the changing point that makes our reports work. I'm starting to wonder if it's something to do with the way I've developed the reports. I've looked but can't find a clear answer to my problems so I hope someone here can help me.
The really strange thing was that yesterday during a meeting with my supervisor we were going over the revised reports I'd just uploaded to the server. We were looking at one report then he went back to look at a different report and then we got the error message like above but when we went back to the report we had just been looking at a minute earlier it would no longer display the report and gave the message. Since we are the only IT here and we were together we know nothing was changed on the server so I'm at a loss as to why it won't work now.
I'm developing on a virtual SQL Server 2008 R2 accessing a SQL Server 2005 server with database set up as a relational database..
1. When developing a report should I create only 1 report in 1 Report Project? I thought if there were similar reports I could throw them together into one project. Would this cause a problem when using data sources and datasets?
2. To share or not to share? Should I create an embedded data source and/or datasets?
3. Should I name the datasource I'm testing with something different than the live one? I did that once and it showed a new connection in the Libraries > Data Connections and my supervisor didn't want me to do that.
4. I want my reports to be accessable on our sharepoint site as well as having them embedded and sent to employees at regular intervals. Do I have to make two separate reports for this? I read that to set up scheduling the credentials/authorizing cannot be set to Windows Authentication, that we have to have a user and password set up.
5. Credentials and authentications? Would user's permissions affect their ability to view the reports? I'm developing on a virtual machine and switching to my desktop operating system to view the reports with my own credentials and it won't work.
If anyone can help it would be greatly appreciated!!!