Object Data Source With Reporting Services In Visual Studio?

Oct 12, 2010

I'm working on a site where we want to include a pie chart on a page. Right now I'm working on implementing that through Reporting Services (RDLC file) with an object data source.The SelectMethod of my object data source is a method that returns a list of business objects; lets say a List<Alpha> and Alpha has a sub object Beta with a Name property. In my report definition I have set the Category groups to be: =Fields!Beta.Value.Name this means that Alpha.Beta.Name are my pie slices. I got the following error:

An error has occurred during report processing. The Group expression for the rouping 'chart1_CategoryGroup1' contains an error: Object variable or With block variable not set.I was able to confirm this is because Beta is nullable and was able to fix the issue by updating the object Alpha to return a new Beta() if the Beta property is null. This solution is not ideal though because there are other places in my code where I need Beta to be null if it doesn't have a value yet.Is there a way to update the report definition to accept a null property as valid? Ideally I would like to specify the value as "Not Set" if Beta is null.

View 1 Replies


Similar Messages:

SQL Reporting :: Pass Credentials From Visual Web Developer To Reporting Services?

Oct 11, 2010

I have a SQL Server 2005 database with Windows Credentials. I am trying to pass my credentials from Visual Web Developer to my report but it returns me: "Cannot create a connection to data source". My web application is based on Windows login as well.

How I have to pass the credentials to the report?

View 1 Replies

Visual Studio :: Visual Source Safe Plug In Control For Visual Studio 2005 IDE

Jan 28, 2010

where to find/download visual source safe plug in or visual source safe client for visual studio 2005 IDE?

I do not want to install visual source safe 2005 server.

View 1 Replies

Visual Studio :: Visual Source Safe 2005 + Visual Studio 2010,?

Feb 28, 2011

I want to use a source control in VS2010, I know my best bet is TFS, but at the moment TFS(can't afford ). As i understand TFS is the new VSS_2005(can afford)Can VSS 2005 be use as a source control for VS 2010 solutions/projects?

View 2 Replies

Visual Studio :: Can Visual Studio 2008 Be All In One Tool To Integrate Source Code Continuously

Jan 20, 2010

can Visual Studio 2008 be All-In-One tool to integrate source code continuously from team members, build, unit test?

Having used Visual Studio Team Edition 2005, unit testing each method within VS itself. I strongly believe that it is feasible to add-on tools. Example ankhsvn tool to use SVN from Visual studio [URL]

In my investigating i have come across number of tools(shown below) to use with Visual Studio 2008 professional

Development tool:- Visual Studio 2008 professional using Subversion as source control tool. Continuous Integration:- Hudson or Cruise control Build tool:- NAnt Testing:- NUnit, Selinium As Visual Studio 2008 can be used for unit testing I think NUnit is out of consideration.

In the same way i would like to have any other tools/add-ons to Visual studio to implement continuous integration, building and unit testing. This process should be automated such a way source code between team members is continuously integrated, built and unit testing is done as configured.

Objective is to use few number of tools as add-on to Visual Studio or achieve most from Visual studio itself (example unit testing). Visual Studio should be all in one tool.

I am aware that Team Foundation Server best suits my requirement, but it is out of scope due to its cost.

View 3 Replies

Visual Studio :: Source Code To Display On One Line Instead Of Multiple In Source View?

Nov 1, 2010

how to make my source code to display on one line instead of multiple in source view. The display drives me batty when I'm trying to find something and I would prefer to display across the page instead of multiple lines down the page.

View 2 Replies

Visual Studio :: Webpage Scalability Using An SQL Data Source For A Gridview?

Mar 18, 2011

I am wondering about the scalability of a webpage that uses a gridview connected to an SQL data source. The SQL data source queries a database once every 60 seconds to refresh the data by using a Script Manager and Timer. The SQL query is static and is not dynamically editable by the webpage viewer.

If n people have the webpage open, does that mean that the database is queried independently n times? So if 100 people have this website open on their PCs, does the database get queried 100 independent times?

If so, is there a better way to design the webpage so that the database is only queried once and then all the open webpages get updated without the added overhead cost of multiple independent queries.

View 3 Replies

Visual Studio 2008 - How To Programmaticly Set Data Source For Report Control

Feb 15, 2010

How do I programmaticly set data source for Asp.net report control?I have a VS 2008 report control and want to switch between a couple different reports.I can switch repots by setting the report source and refreshing the control but I can't see where to set the data source.Each report has it's own data source and if I set them to start when the control is built it is fine but I need to switch between them.

View 1 Replies

Visual Studio :: Data Source Configuration Wizard Empty When Open It?

Jan 7, 2010

data source configuration wizard empty when i open it

i was trying to copy the dialog box but was un able to do so.

it used to work but today it is just empty i am not sure what to do

View 1 Replies

Crystal Reports :: Visual Studio 2010 Supports Entity Data Source?

Mar 10, 2011

Does Crystal Report for Visual Studio 2010 supports Entity data source?

View 1 Replies

Visual Studio :: Data Source Configuration Wizard Not Showing In 2008 Web Applications

Oct 26, 2010

When I use VS2008 to create a new form application, I am able to go to the Data menu select "Show Data Sources" then the "Data Sources" window appears. Then I am able to "Add New Data Source" and so on. But when I create a new Web Application. I can not do that. Am I not able to create a Data Source on web applications?

View 1 Replies

Visual Studio :: Configue DataSource Dialog Is Not Showing Data Source Files (either Mdb Or Xml)?

Jan 8, 2010

I have had a persistant problem, which occurs in "Visual Web Developer 2008" express, but also in "Visual Studio 2010"

When I drop a data control onto my webpage, and the select "Configure Data Source", the dialog box opens, but when I try and browse for the data file (could be MDB or XLS) the data file does not appear in the "Select (XML/MDB) file" - in the example below a XML file. If I set the filter to "All Files (*.*)" I can see all of the files EXCEPT the XML files.

The project is a web project, and is set to HTTP - using my local IIS.

View 2 Replies

Visual Source Safe 2005 For Visual Studio 2010

Jan 12, 2011

I have an query recently i upgrade to Visual Studio 2010 professional version, I have an visual source safe 2005 in my pc how do i configure Visual studio 2010 with VSS 2005.

View 1 Replies

Shut Down Web Services Launched By Visual Studio?

Jul 14, 2010

I have a solution with about 10 web services and one web site that calls them. All the services have to launch when I click "start debugging", which is necessary and good. When I stop debugging the services are still running. I can right click on each of them in the system tray to shut them down, or I can shut down Visual Studio and they get shut down automatically. Is there a better way?

I found this SO post which says how to not start the services in the first place, but I want the services to launch (and even want them to stay running more often than not.)

View 1 Replies

Visual Studio :: Debugging C Code In VC++6.0 From .NET Web Services?

Jul 12, 2010

A .net web service is using C language dll. I would like to debug the C code in VC++ 6.0 whilst it's functions are called from .NET web service.

There is no attach process option in VC++6.0 to give aspnet_wp.exe.

how to debug C code called .NET web services.

View 2 Replies

SQL Reporting :: A Data Source Instance Has Not Been Supplied For The Data Source 'report2Dataset'

Jan 6, 2011

I recently started using SSRS 2010 and I didnt come across this issue in 2005 or 2008 versions of reporting services.

I have a report that drills down to child report1 and then that drills down to child report 2 but clicking a field in the report.

When I click on the link on the first report to go to the second report. I get this error message

"A data source instance has no tbeen supplied for the data source ''reprort2dataset"

I am not sure how to handle this error.

All reports run fine stand alone, but when I try to link them up I get that error.

I have a report viewer running the reports in an aspx page.

View 1 Replies

How To Visual Studio Find Web Services On The Local Machine

Jan 3, 2010

When adding a new web reference, one of the options that visual studio gives you is to search for web services on the local machine (The exact option name is "Web services on the local machine").

My question is, how does Visual Studio find the web services on the local machine? The local website that contains the service doesn't contain a .disco file.

I tried to use fiddler but got nothing (visual studio didn't make any requests to the local web server). Does visual studio scan the default website for files with the extension .asmx?

View 1 Replies

Visual Studio :: Getting Error On Win7 While Browsing Through Web Services

Jan 21, 2010

I am trying to provide the reference of one of my web services from my asp.net web application in Visual Studio 2008 by clicking "Web services on the local machine.

However I am getting the following error:
There was an error while enumerating services on local machine: Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine. To view websites on this machine, make sure that you run Visual Studio as administrator. On Windows Vista computers with IIS installed, make sure that IIS Metabase and IIS 6 configuration compatibility feature is enabled.

I have installed IIS successfully and I am running Visual Studio as an administrator.

View 1 Replies

Visual Studio :: How To Create Object In Object Test Bench

Jul 31, 2010

I used Object Test Bench to test my classes in VS 2008 professional edition . Right click on Class name and then selected create instance ,then its Constructor, there comes a dialog box, that just gives a message and a TextBox field is present there, i filled that field with any name and clicked OK.Then error message comes that "Create Instance Failed" and its error code is "0x80004005" . What's this ? How to instantiate object of my classes ?

View 4 Replies

Visual Studio :: Error While Enumerating Services On Local Machine?

Jun 30, 2010

This error never happens before in my machine since 7 months of using it. [:(]

"There was an error while enumerating services on local machine: Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine. To view websites on this machine, make sure that you run Visual Studio as administrator. On Windows Vista computers with IIS installed, make sure that IIS Metabase and IIS 6 configuration compatibility feature is enabled."

I'm trying to add back a webservice (localhost) after deletion. And suddenly I'm getting the above error.[:(]

The error's suggested tip is to install IIS but I did not install IIS since then in my machine because VS2010 built-in server do just fine. Should I install IIS?

I also found this helpful tips but nothing works. [:(]

* Run Visual Studio with elevated administrator permissions
* Be a member of the "Administrators" group on the local machine
* Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu.

View 2 Replies

Visual Studio - Object Reference Not Set To An Instance Of An Object?

May 4, 2010

I just switched to VS 2010, and upgraded a previous project. I'm getting the following error on a page in design mode for 2 controls:Error Creating Control - ObjectName Object reference not set to an instance of an object.One of them is a simple label, and the other is a ajax update panel. Other pages look fine. When I build and test the app, the page renders fine in the browser and functions fine - the label functions as expected and the content in the update panel works as expected.why I'm getting this error? I tried some of the google results to no avail.

View 1 Replies

Visual Studio :: Add Notes In Source Code?

Oct 24, 2010

how to add notes in source code in Visual Studio 2010? I only want the notes to be viewed in source code view, not design view!

I tried

//notes here
'notes here

but they all ended up showing in the design view.

View 1 Replies

Visual Studio :: Writing C Source Files Using VS IDE?

Apr 5, 2010

I am having difficulty using C in the VS IDE. No matter what I write the code always has errors and I am not able to see the end result. I don't understand VS and being that I am supposed to be taking Programming in C as a class, it is hard for me to get my work done because I don't understand VS and I really don't know how to match the two up.

View 3 Replies

Visual Studio :: When Change Any Existing Method Or Property In Business Object Or Data Access?

May 11, 2010

I am working on Vs2005 and asp.net 2.0. I have a solution with 4 projects (business object, components, data access, webclient)When I change any existing method or property in Business object or data access, it is not reflecting in the application. I have deleted the existing references to the project and added them after the new build. I always get errors like "method not found or No overload method "It seems like old verion of dll is still there in the reference.

View 7 Replies

How To Add Notes In Source Code? (with Visual Studio 2010)

Oct 24, 2010

how to add notes in source code in Visual Studio 2010? I only want the notes to be viewed in source code view, not design view!

I tried

//notes here

'notes here

but they all ended up showing in the design view.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved