-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release management error when deploying to a reporting services. #2
Comments
Okay I see a few things you should revisit:
I don't see something else which could be the reason for the failing task. If you want a resource file uploaded aswel, tick "Include Resource files". For the Substring issue, I patched it this morning. Can you check you have the latest version? Can you re-run the task? That issue should be solved. I am currently working on another project, so I don't have time to write documentation concerning these items. I hope I find time after this project to write the documentation files of this github :) |
Hi. I have installed the 1.2.29 version. After that, I added file extension as you suggest me. When I execute the release again, It finished registering the next error. Rds files were not published on Report Server and Rdl files were published but without Datasource reference. 2017-03-04T21:57:30.1356893Z ##[error]Exception calling "CreateDataSource" with "5" argument(s): "System.Web.Services.Protocols.SoapException: The name of the item '' is not valid. The name must be less than 260 characters long. The name must not start with a slash character or contain a reserved character. Other restrictions apply. For more information on valid item names, see http://go.microsoft.com/fwlink/?LinkId=248859. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidItemNameException: The name of the item '' is not valid. The name must be less than 260 characters long. The name must not start with a slash character or contain a reserved character. Other restrictions apply. For more information on valid item names, see http://go.microsoft.com/fwlink/?LinkId=248859. Thanks a lot for your Help. |
ok this looks like there is no name supplied to the datasource. Do you only have one RDS file? |
Exactly what I was thinking: should work now |
Hi. Thanks |
Screenshot the rds again please |
I have a feeling you use an older version of SQL Server reporting tools in Visualstudio to create the datasource. Our root tag is while your is DataSourceDefinition. Can you try following xml code inside the NTfs2010ReportDs.rds file:
|
Hi. In the Release Definition I have the next parameters values: The release ends with error. The datasource and the report were |
If it said: cannot find /Home, it means the folder is missing..
...Are you using? |
Audberto, Home is just a name for the root of your directory. Use "/" as the root path instead of "/Home" and use a path that starts with "/TfsReports/..." for the reports. |
HI. Comment: I haven't changed to build parameters as you mentioned before, because I had an error related with permissions whit a specific path. I'll work in it after we can have a successfully deploy. Thanks a lot for your help. |
Are you sure you have dataset file(s)? |
Hi. |
Indeed |
Nice! Did you associate the reports with the datasource before deploying? |
If you confirm the issue is solved I will close the issue. It would be very kind if you could leave another review. |
We'll try to check soon.. Do you need to link the datasource even when you deploy again after linking it manually on the report server? We didn't have that problem. If you have multiple report folders you can simply add the deploy task multiple times. Will that suffice? |
Thanks a lot for your attention and suggestions. Is not very practical for what I need because I would have to be modifying the Release definition when I need to publish a report in a path that is not in the defined tasks. As the reports and folder structure are already in Visual Studio. Through a Build process, I download the files. When they are downloaded they already have the folder structure, so what I need is to take those reports including the folder structure and publish them in RSS. I hope I was clear with what I need to do Best Regards |
It's clear and we'll see if this is possible. By the way: Visual Studio projects of type Reporting Services don't allow subfolder creation, while the ReportServer does allow this. |
About the datasource linking: we implemented a new feature, see the "Update Data Source" checkbox. |
Hi again. I hope you're enjoying this day.
Now I have the RDS file that correspond to a Datasource. When I try to upload it with two rdl files, Release Management ends with the following error. Also, I am copying images with the Release definition using your tool.
Please, Can you tell me what is causing that error? Do you notice something wrong in the Release Definition?
2017-03-02T19:28:49.9785083Z ##[error]Exception calling "Substring" with "2" argument(s): "Length cannot be less than zero.
2017-03-02T19:28:49.9785083Z ##[error]Parameter name: length"
2017-03-02T19:28:51.3845343Z ##[error]Exception calling "CreateDataSource" with "5" argument(s): "System.Web.Services.Protocols.SoapException: The name of the item '' is not valid. The name must be less than 260 characters long. The name must not start with a slash character or contain a reserved character. Other restrictions apply. For more information on valid item names, see http://go.microsoft.com/fwlink/?LinkId=248859. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidItemNameException: The name of the item '' is not valid. The name must be less than 260 characters long. The name must not start with a slash character or contain a reserved character. Other restrictions apply. For more information on valid item names, see http://go.microsoft.com/fwlink/?LinkId=248859.
2017-03-02T19:28:51.3845343Z ##[error] at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateDataSource(String DataSource, String Parent, Boolean Overwrite, DataSourceDefinition Definition, Property[] Properties, String ParameterName, CatalogItem& ItemInfo)
2017-03-02T19:28:51.3845343Z ##[error] at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateDataSource(String DataSource, String Parent, Boolean Overwrite, DataSourceDefinition Definition, Property[] Properties, CatalogItem& ItemInfo)"
Note: I have tried too to leaving the Connectionstring parameter in blank. But the same error occurs.
Thank you very much and sorry for all the inconvenience
Best regards
Audberto
The text was updated successfully, but these errors were encountered: