Hi can anyone help me on this pls.
i am using telerik reporting "Telerik Reporting Q2 2010" in visual studio 2008. and (in add newitem i choose the telerik) and create a file called Report1.vb.
when i try to create sql datasource in properties by clicking "report parameters -> new sqldatasouurce -> new connection" it displaying the messge box "Object reference not set to an instance of an object.".
but it working fine in visual studio 2005. can create datasource.
not working in visual studio 2008.
can pls help me :(
i am using telerik reporting "Telerik Reporting Q2 2010" in visual studio 2008. and (in add newitem i choose the telerik) and create a file called Report1.vb.
when i try to create sql datasource in properties by clicking "report parameters -> new sqldatasouurce -> new connection" it displaying the messge box "Object reference not set to an instance of an object.".
but it working fine in visual studio 2005. can create datasource.
not working in visual studio 2008.
can pls help me :(
8 Answers, 1 is accepted
0
Hello anu,
You're the first one to report such a problem. Just to clarify where the issue occurs - you open the Report Parameters Collection Editor -> Parameter -> AvailableValues -> DataSource and when you select "Add New DataSource" you receive the exception, is that correct? If not please elaborate exactly on the steps to reproduce.
Additionally you're using an older version of the product and we highly recommend upgrading to the latest version, especially in case you have encountered a problem, since it might have been addressed in it.
Greetings,
Steve
the Telerik team
You're the first one to report such a problem. Just to clarify where the issue occurs - you open the Report Parameters Collection Editor -> Parameter -> AvailableValues -> DataSource and when you select "Add New DataSource" you receive the exception, is that correct? If not please elaborate exactly on the steps to reproduce.
Additionally you're using an older version of the product and we highly recommend upgrading to the latest version, especially in case you have encountered a problem, since it might have been addressed in it.
Greetings,
Steve
the Telerik team
0
Willem
Top achievements
Rank 1
answered on 04 May 2011, 07:45 PM
I am experiencing exact the same problem:
1. Create brand new project C# Class Library
2. Create working and tested connection string in app.config via project properties
3. Right mouse -> add Telerik report to project starting the telerik wizard
4. Choose to add new data source: sqlDatasource1
5. As soon as i hit OK, the error box appears with "OBject reference not set to an instance of an object"
6. The application stops with the dialog to enter a connection string but no string can be choosen en none can be made.
VS 2008
Telerik Report 5.0.11.316
1. Create brand new project C# Class Library
2. Create working and tested connection string in app.config via project properties
3. Right mouse -> add Telerik report to project starting the telerik wizard
4. Choose to add new data source: sqlDatasource1
5. As soon as i hit OK, the error box appears with "OBject reference not set to an instance of an object"
6. The application stops with the dialog to enter a connection string but no string can be choosen en none can be made.
VS 2008
Telerik Report 5.0.11.316
0
Hi Willem,
Thank you for the provided steps, however the problem did not occur on our end. Please turn on the tracing of the VS IDE and perform again the steps that cause the error message. Below is the XML you need to add to the devenv.exe.config file:
<?xml version ="1.0"?>
<configuration>
...
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\DEVENV.LOG" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
</configuration>
This file usually resides under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE directory (don't forget to make a backup copy before modifying it).
Additionally check the event logs to see if there is anything present in them. If VS hangs, try attaching another instance of VS to try to debug and lead to anything that can hint us what/where is the problem.
Best wishes,
Steve
the Telerik team
Thank you for the provided steps, however the problem did not occur on our end. Please turn on the tracing of the VS IDE and perform again the steps that cause the error message. Below is the XML you need to add to the devenv.exe.config file:
<?xml version ="1.0"?>
<configuration>
...
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\DEVENV.LOG" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
</configuration>
This file usually resides under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE directory (don't forget to make a backup copy before modifying it).
Additionally check the event logs to see if there is anything present in them. If VS hangs, try attaching another instance of VS to try to debug and lead to anything that can hint us what/where is the problem.
Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Shailesh
Top achievements
Rank 1
answered on 29 Jun 2011, 10:07 PM
I'm getting the same issue. Here is what I see in the c:\TEMP\DEVENV.LOG file:
All other toolbox controls work fine except OpenAccessDataSource, which has the same issue. Visual Studio does not hang, so I can't attach to process. I tried resetting the toolbox and that didn't work either. I have uninstalled all versions of Telerik and installed the latest version Q1 2011 and rebooted.
------
Entering constructor for: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering Initialize() of: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering constructor for: Telerik.Web.UI.VSPackage.VSPackage
Entering Initialize() of: Telerik.Web.UI.VSPackage.VSPackage
Entering constructor for: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering Initialize() of: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
ToolboxInstaller::GetVsVersion VS RegistryRoot HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0
ToolboxInstaller registry:
Software\Telerik\Reporting\ToolboxInstaller
Software\Telerik\Reporting\ToolboxInstallerCache\9.0
Assembly resolution failed: Telerik.UserSettings.XmlSerializers, Version=2010.3.1317.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.XmlSerializers, Version=2010.3.1317.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.Reporting.XmlSerializers, Version=5.0.11.510, Culture=neutral, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.XmlSerializers, Version=5.0.11.510, Culture=neutral, PublicKeyToken=a9d7983dfcc261be
All other toolbox controls work fine except OpenAccessDataSource, which has the same issue. Visual Studio does not hang, so I can't attach to process. I tried resetting the toolbox and that didn't work either. I have uninstalled all versions of Telerik and installed the latest version Q1 2011 and rebooted.
------
Entering constructor for: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering Initialize() of: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering constructor for: Telerik.Web.UI.VSPackage.VSPackage
Entering Initialize() of: Telerik.Web.UI.VSPackage.VSPackage
Entering constructor for: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering Initialize() of: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
ToolboxInstaller::GetVsVersion VS RegistryRoot HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0
ToolboxInstaller registry:
Software\Telerik\Reporting\ToolboxInstaller
Software\Telerik\Reporting\ToolboxInstallerCache\9.0
Assembly resolution failed: Telerik.UserSettings.XmlSerializers, Version=2010.3.1317.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.XmlSerializers, Version=2010.3.1317.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.Reporting.XmlSerializers, Version=5.0.11.510, Culture=neutral, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.XmlSerializers, Version=5.0.11.510, Culture=neutral, PublicKeyToken=a9d7983dfcc261be
0
Hello Shailesh,
You say that the problem occurs only with the OpenAccessDataSource, but you have posted another thread where you talk about the SqlDataSource component. Please clarify what is the actual status of the problem and try the suggestion from the other post. In order to keep the communication clean, please provide an answer in one of the threads only.
Greetings,
Steve
the Telerik team
You say that the problem occurs only with the OpenAccessDataSource, but you have posted another thread where you talk about the SqlDataSource component. Please clarify what is the actual status of the problem and try the suggestion from the other post. In order to keep the communication clean, please provide an answer in one of the threads only.
Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Nithiy Sarava
Top achievements
Rank 1
answered on 30 Jun 2011, 06:51 PM
0
Shailesh
Top achievements
Rank 1
answered on 30 Jun 2011, 06:53 PM
Sorry, I meant to say all the toolbox controls work fine except
OpenAccessDataSource and SqlDataSource. Both of these posts are
related, which is why I cross-posted.
Anyway, found the solution and posted it in the other thread:
http://www.telerik.com/community/forums/reporting/telerik-reporting/telerik-reporting-object-reference-not-set-to-an-instace-of-a-object.aspx#1705680
Anyway, found the solution and posted it in the other thread:
http://www.telerik.com/community/forums/reporting/telerik-reporting/telerik-reporting-object-reference-not-set-to-an-instace-of-a-object.aspx#1705680
0
Jaco Hamilton-Attwell
Top achievements
Rank 1
answered on 20 Aug 2012, 09:09 AM
For those running VS 2010 on a 64 bit OS, the file can be located here:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE