I am experiencing an issue as a new developer with NetAdvantage Reporting. I downloaded and installed the ASP.NET 2012 Vol. 2 Complete Bundle including Reporting. I was trying to simply go through this sample project ( http://help.infragistics.com/Help/NetAdvantage/Reporting/2012.1/CLR4.0/html/Creating%20a%20Simple%20Tabular%20Report.html#Introduction ) and get an error. Please see my steps to create below.
1. open visual studio 2010 sp1 as an administrator
2. create a new 'class library' project in C#
3. right-click the project and select 'Add'/'New Item'
4. under 'visual c# items'-'infragistics'-'reporting' in the tree view, select 'infragistics report'
5. VS2010 will crash
My Environment is:
Windows 8 Pro 64 bit OS with 8GB RAM
Visual Studio 2010 SP1
Infragistics NetAdvantage 2012.1 Version 12.1
MS Silverlight 5.1.10411.0 and Silverlight SDK 5.0.6.1118.0
My guess is that Silverlight has something to do with this but I'm not sure.
Does anyone have any suggestions or a link to some frequent installation issues? I would be surprised if you could reproduce this issue since it is basically a crash based on the install. I am simply trying to open the product in Visual Studio. Are there any other software requirements needed for this to work i.e. Silverlight, .NET, etc?
Hi Richard,
I'm glad to hear that you are finally able to work with Reporting. It's a pity we couldn't find the underlying issue. If you find this problem again, or any other issue, please don't hesitate to ask us.
Regards,
Luis
Well, in a both satisfying and unsatisfying manner, my issue seems to be resolved. When I opened VS2010 today after making the changes to the .config file, my reports worked perfectly.
I am incredibly happy that I can get to actual development rather than troubleshooting this but I have no idea what actually got this working. I did reboot my PC over the weekend so perhaps it had something to do with that. I had rebooted multiple times throughout my install/uninstalling in trying to get this problem solved but maybe this last time, something was different.
I have since removed the debug info from the .config file and all is still working fine.
Thank you so much for taking the time to help me. I will definitely keep the diagnostics info you mentioned in case this crops up again.
Hello Richard,
Could you try enabling the NetAdvantage Reporting logs? This could give us more information about the problem.
In order to do this, you need to edit the Visual Studio configuration file. It is usually located in:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config
Edit this file in administrator mode, and add the following lines inside the main element of the xml:
<system.diagnostics> <trace autoflush="true"/> <sources> <source name="NetAdvantageReporting" switchValue="Information"> <listeners> <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\Temp\NetAdvantageReporting.log"/> <remove name="Default"/> </listeners> </source> </sources> <switches> <add name="NetAdvantageReporting.Designer" value="1" /> <add name="NetAdvantageReporting.VisualStudio" value="1" /> </switches> </system.diagnostics>
After that, run Visual Studio. Try to create a new report, and also try to open one of the sample reports as mentioned before.
This will create a file "C:\Temp\NetAdvantageReporting.log" (you can change the path in the configuration and save the file anywhere you want) containing information about any errors that could have happened. Could you please send us that file?
Following up...
When I try to open any of the .igr files in the Sample i get an error message box "The file format seems to be old or does not correspond to an Infragistics Reporting document.
It seems to me that all this points back to the Infragistics Report Designer not being able to open in VS2010.
Thank you so much for following up Luis. I am using NetAdvantage 2012.2 12.2.2040 and using 12.2.1014 of the Samples.
I am able to open and run the sample project. The report will render both the HTML and Silverlight presentations.
The issue seems specific to trying to add an Infragistics report ( .igr file). I have an .msdmp file if that helps. I have started from scratch with a "new project" to no avail.