In VS2008 we have menu Report->Data Sources... which opens "Report Data Sources" from here we can see Project data sources & we can add them into our report by pressing "Add to Report".
but in VS2010 RC there is no such thing like this (no Data Sources... option inside Report menu)
any help?
They moved it. It is located in the View menu under Report Data.
Exists one option on the report named Report Data where you can build a New Datasources and DataSets.
Related
I've been asked to make cosmetic changes to a report created by a third-party consultant on our CRM Dynamics 2011 system. The report apparently has a "report type" of "Existing File" when viewed in the "Edit" window, but has a "report type" of "Reporting Services Report" when viewed in the list of reports. If anyone can provide some clarity on this, it may be of some help.
Anyway I've been able to download the ".rdl" file behind the report and make the necessary changes (removed a paragraph in the footer). When I re-upload my new ".rdl" file and click the "Save" button, I receive the error of "You can not change the report type for an existing report". However I'm only attempting to change the report template rather than the report type.
My second strategy was to create a new report in the same way that I assume the original report was created. When creating a new report, the first option I am given is to select the "Report Type".
If I go down the path of selecting "Report Wizard Report" for the report type, then I don't get the option to select an ".rdl" file.
If I go down the path of selecting "Existing File" for the report type, then when I try and run my report it unhelpfully downloads the ".rdl" file for me! It also regards the new report as having a "report type" of "Other Report" when viewed in the list of reports.
Can anyone put me out of my misery?
Thanks in advance.
The problem with re-uploading the amended report was with the file extension of the upload.
For some reason when downloading the report file, CRM Dynamics decided to put single quotes around the file names. So instead of:
ReportName.rdl
I received:
'ReportName.rdl'
Once I removed the quotes from the file name, I was able to re-upload successfully.
As per the tags, I'm using VS2013 and TFS2013.
There are multiple projects in the solution: Model, Presenter, View, etc. All other projects are working as expected in terms of source control operations.
Problems with the Model project:
Adding a new file via Solution Explorer isn't automatically detected as a pending change
Deleting a file isn't detected either
Other source control operations work fine for the Model project, such as:
Get latest version
Edit detection for existing files (including changes to the csproj
file when a new file is added)
Checking in pending changes
The csproj file would show up in pending changes with the newly added file listed in it, but the new file itself isn't showing up, therefore causing build errors on other developers' machines if only the csproj changes are checked in.
The workaround is to find the added file in solution explorer and Add via context menu, this will make it appear as a pending change. But this process should be automatic as per the other projects.
Noticed that there is no .vspscc file for the Model project while other projects have one each.
Any help appreciated. Thanks.
I would unbind and rebind the problem project and try again:
To unbind a solution or project from source control
In Visual Studio, open Solution Explorer and select a solution or
project to unbind.
On the File menu, click Source Control, then Change Source Control.
In the Change Source Control dialog box, click Unbind.
To bind a solution or project to source control
In Visual Studio, open Solution Explorer and select a solution or project to bind.
On the File menu, click Source Control, then Change Source Control.
In the Change Source Control dialog box, click Bind.
Select the database and location to which to bind, and click OK.
Click OK.
You might need to go to Advanced to find the Change Source Control option
https://msdn.microsoft.com/en-us/library/0eh3790h%28v=vs.90%29.aspx
Before unbinding and binding your solution try his:
Go to Source Control Explorer
Click the "Add Items to Folder" (the
one on the left of the red cross)
Select the items you want to Add and follow the instructions on screen
That's all
Click <Detected: x add(s), x delete(s)> : in the source control explorer then select the file to add
For years I've been relying on 'Detected Adds' to add missing files - which was never a sustainable solution but I've just about managed with it.
But now if broke.
I'm actually about to reinstall Windows but in the meantime one of the best ways I've found to get a sense on what's missing (and it's still working even though the detected adds isn't) is the recursive 'Compare' window.
You can add files from here too.
It's a little klunky but it gives me a good sense of security and shows file diffs if you want to see what may have changes.
I want to create drilldown report when click to particular row it will open another report.
I do this step. right click on particular field-> TextBox Properties -> Action then checked Go to report option But when I click on Browse then it didn't display any report. I have multiple reports(.rdl file) on my local.
How can I define path ?
You don't see your local reports because Report Builder supports only paths to report servers.
Taken from note at msdn:
In Report Builder, paths to items must specify items on a report server. Paths to items on a file system are not supported. You can preview a report that uses these items only if you are connected to the report server where the items are located.
This may seem a bit stupid, but I can't find the answer so:
My team just moved to VS2010 ultimate, and we'd like to enable code coverage. All the instructions I've found mention to open the Local.testsettings file and go to the "Execution Criteria" tab.
Well, I don't have this tab, and I do have VS2010 ultimate, which is supposed to support code coverage.
Help please :)
Noa
Do not forget about Button 'Configure' !!!
Select Test/Edit Test settings/your active settings/
Select Tab Data & Diagnostics,
Select the row Code Coverage
Check Enabled
Click the small Configure symbol on top of the grid.
Check all assemblies you want to collect code coverage info from...
There should be a Solution Items Folder in your Solution Exlorer. Double click the Local.testsettings file.
A new window should pop up. There is a list to choose from. Entries such as General, Roles, etc.
Select the entry "Data and Diagnostics". There you can enable code coverage.
Just to sum it up:
There should be Solution Items folder in your solution explorer, which should contain Local.testsettings file.
Double click it, go to Data and Diagnostics in opened window, enable Code Coverage there. Then click on Configure button there and check assemblys you wish Code Coverage to work for. Apply your settings, now Code Coverage should work.
In case you don't have Solution Items folder, or there is no Local.testsettings file, you might just create new Test Project. It will create Local.testsettings. You might remove new Test Project if you don't need it.
Here are the steps for VS 2010 Ultimate
Double click Local.Testsettings
Click on Data and Diagnostics tab
Check code coverage
Double click on that code coverage row
Select dll that you need to check the code coverage for
Click Apply and Close
If you can't find a local.testsettings file you can cause a new one to be created.
Simply create a new Test project, then delete it -- you should then have a Solution Items project folder with Local.testsettings and TraceAndTestImpact.testsettings files, and a vsmdi file.
I'm using VB 2010. Added a data source. You can see it in the "Data Sources" window. There are options to refresh and add more data sources. But no option to remove a data source. Obviously I'm missing something. How do I remove a data source?
You need to remove the "data source" from the project. The "Data Sources" tool window shows what data-sources are available in the solution/project.