Designer error: Value cannot be null. Parameter name: instance

37 posts, 0 answers
  1. John Downey
    John Downey avatar
    6 posts
    Member since:
    Oct 2008

    Posted 26 Aug 2009 Link to this post

    When I try to open the designer in visual studio I get the following error:
    Value cannot be null. Parameter name: instance

    I tried reinstalling the latest version of reporting but that did not fix it.

    The designer worked before, the error began happening randomly one day.

    Any suggestions?



  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Aug 2009 Link to this post

    Hi John Downey,

    There is no reason why upgrading to the latest version should cause such an error. Does downgrading to the previous version you've used work? Try closing the report designer, delete the .resx file of the report, rebuild the project and try opening the designer again. You can also try running the project on another machine to see if it is not a machine specific issue.
    If still having problems, please open a support ticket and send us a sample project that exhibits the problem.

    Best wishes,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Ben Puzzuoli
    Ben Puzzuoli avatar
    3 posts
    Member since:
    Nov 2009

    Posted 03 Mar 2010 Link to this post

    I am having the same problem.... I have tried another machine and still the problem persist.

    I am not sure how to get my old reports to show up in the Visual Studio.

    Here is the call stack from the designer:

     
    Instances of this error (1)
    1.
    at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute[] attributes)
    at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner)
    at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
    at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
    at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
    at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
      
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Mar 2010 Link to this post

    Hi Ben Puzzuoli,

    How did the error start to occur - after upgrade or some change? Have you tried the suggestion from our previous post? Any additional information in reproducing this on our end would be highly appreciated.

    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.
  6. capsule
    capsule avatar
    13 posts
    Member since:
    Sep 2009

    Posted 12 Mar 2010 Link to this post

    Just to throw in some additional information, I too receive this error when trying to view the report designer within VS 2008.

    A co-worker of mine is able to view the report fine, the only obvious differences in our setup is that she runs 32 bit windows XP, while I'm running 64 bit Win 7.  We have double checked that our reference versions and paths match (which they do).  So it would appear there's some setup on my machine that's causing my grief.

    I have tried the previous suggestion of removing the resx file to no avail...

    2009 Q3 ( 3.2.9.1203 )



  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 15 Mar 2010 Link to this post

    Hi capsule,

    Most of us (i.e. Telerik Reporting team) are using 64 bit machines and we have not been able to produce such a problem. Since you claim the very same report works on your colleagues machine, have you tested on another 64 bit machine to see if the error would be persisted?
    If this is the case, please zip your report and attach it to a support ticket so that we can investigate what is the culprit.
    As kindly asked in our previous post, any additional information in reproducing this on our end would be highly appreciated.

    Sincerely yours,
    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.
  8. Vincent Gross
    Vincent Gross avatar
    1 posts
    Member since:
    Dec 2008

    Posted 29 Mar 2010 Link to this post

    I am also running into this same error on my Windows 7 64-bit machine.  It use to work fine when I was on Windows XP 32-bit.  I have made no changes to the reports since I switched to the new OS but I am getting this same error.  What needs to be done to resolve this error asap?
  9. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 26 Apr 2010 Link to this post

    Hi...
    Getting the same error?
    I tried to delete the RESX
    Nothing helped.... any ideas?
    Just started
    thanks
  10. Michael Baumgartner
    Michael Baumgartner avatar
    2 posts
    Member since:
    Mar 2010

    Posted 27 Apr 2010 Link to this post

    Me too!

    Same Error updating to the latest Telerik dll (Telerik Reporting Q1 2001)
    VS2008, x86 ,Windows Vista

    Delete the resx file .. did not help

    Solution was:

    Removing and adding again my References inside the Project after the update
  11. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Apr 2010 Link to this post

    Hi guys,

    @Jon: As stated in the previous posts, we are not able to reproduce the error locally by ourselves, so we would appreciate if you provide us with a sample project where the problem can be reproduced. Once we review it, we would be able to provide more information.
    @Michael: This sounds like improper upgrade of Telerik Reporting. Can you try starting manually the Upgrade Wizard from the Telerik Reporting Menu the next time this happens and see if this helps?

    Kind regards,
    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.
  12. dlamprey
    dlamprey avatar
    25 posts
    Member since:
    Jan 2007

    Posted 05 May 2010 Link to this post

    Getting the same issue here. I installed reporting, took latest from source control, tried to open a report, and see this error. I've never worked with reports before. Win 7 32 bit, VS 2008.
  13. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 10 May 2010 Link to this post

    Hello dlamprey,

    Did you try using the Upgrade Wizard as my colleague suggested? If you still experience difficulties send us a sample runnable project via the support system that shows the issue and we will advise you accordingly.
     

    Regards,
    Peter
    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.
  14. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 11 Jun 2010 Link to this post

    Did anyone make progress on this.  I'm getting this error now.
  15. Marcus
    Marcus avatar
    15 posts
    Member since:
    Dec 2007

    Posted 13 Jun 2010 Link to this post

    Hi there,
    I was getting this error too, but deleting the resx file, rebuilding my project and then running the Upgrade Wizard corrected the issue for me.

    Cheers,

    Marcus
  16. Mauricio
    Mauricio avatar
    9 posts
    Member since:
    Oct 2008

    Posted 06 Jul 2010 Link to this post

    I was having the same problem.

    I solved it running Telerik Reporting Upgrade Wizard to Q1 2010

    It's in Visual Studio menu bar.

    Thank you.

    Bye.
  17. dsb
    dsb avatar
    4 posts
    Member since:
    Oct 2008

    Posted 22 Jul 2010 Link to this post

    Having the same problem.  I don't see a Telerik Report upgrade wizard on the menu bar.  I just see Telerik, then Rad Controls for ASP.net. 
  18. dsb
    dsb avatar
    4 posts
    Member since:
    Oct 2008

    Posted 22 Jul 2010 Link to this post

    Never mind.  I did a unitsall then re-installed Reporting Q2 2010.  Everything works now.
  19. Brian Workman
    Brian Workman avatar
    15 posts
    Member since:
    Jul 2009

    Posted 03 Jan 2011 Link to this post

    I ran into this when I included the Telerik.Reporting.dll in a project folder and referenced this instead of the .dll in the default install directory.  Updated the file and references - good to go.
  20. Pedro Pablo
    Pedro Pablo avatar
    3 posts
    Member since:
    Aug 2009

    Posted 24 Apr 2011 Link to this post

    se resuelve utilizando el asistente de Actualizacion de Telerik.
    en el menu Telerik-Reporting-- Upgrade Wizard
    Luego, siguiente , seleccionas el proyecto que deseas actualizar y listo con eso queda
  21. VINEET
    VINEET avatar
    10 posts
    Member since:
    Aug 2011

    Posted 03 Aug 2011 Link to this post

    When I try to open the designer in visual studio I get the following error:
    Value cannot be null. Parameter name: instance

    I AM NEW ABOUT TELERIK
    PLEASE HELP ME OUT WHAT IS THE CAUSE FOR ERROR
  22. Fady Helou
    Fady Helou avatar
    3 posts
    Member since:
    Aug 2009

    Posted 03 Mar 2012 Link to this post

    The solution Steve have provided worked for me.

    Thanks
    Telerik Team.
  23. guga
    guga avatar
    11 posts
    Member since:
    Mar 2012

    Posted 16 Jul 2012 Link to this post

    I have the same problem as Brian Workman. But I could not solve any of the forms that you raise.

    I'm using the version Q2 2012.
    DLL Version: 6.1.12.611

    Regards


    I could fix the bug. I had a mistake in creating my model, the OnContextCreated. Solving this, my report worked perfectly.
  24. Shen
    Shen avatar
    2 posts
    Member since:
    Dec 2012

    Posted 05 Dec 2012 Link to this post

    Experienced the same issue. I’ve tried and failed on the following:

    1.      1) Removed the .suo and rebuilt

    2.      2) Removed the .resx (and unable to rebuild)

    3.      3) Removed the Telerik references (.reporting, .reportviewer.webform, & .web.ui) and reloaded the references.

    4.      4) Opened up the project -> Telerik -> Reporting -> Upgrade Wizard -> etc… -> Reload.

    I succeeded in finding a solution and fixed the issue with this (with the original build undergone none of the above):

    ·         Open up the project -> Telerik -> Reporting -> Upgrade Wizard -> etc… -> Ignore.


    If your Visual Studio doesn't have telerik and the your project you are working on has a Telerik report, when you try to bring up the report designer, you get the error. I'd venture to guess between Telerik upgrade/downgrade you might get the same error.

    Hope this helps.
  25. Alex
    Alex avatar
    3 posts
    Member since:
    Feb 2013

    Posted 21 May 2013 Link to this post

    i Just happen to try to add a report (VS 2010, and Windows 2003) and I get the same error on Report Q12013. I guess these reports don't work on 32 bit computers. ( I can easily create reports on VS2010, Windows 7 64 bit.)
    Anyone  fixed this issue ?
  26. Hadib Ahmabi
    Hadib Ahmabi avatar
    181 posts
    Member since:
    Nov 2011

    Posted 24 May 2013 Link to this post

    Try installing the latest version (Service Pack 1). 
  27. Alex
    Alex avatar
    3 posts
    Member since:
    Feb 2013

    Posted 24 May 2013 Link to this post

    i have SP1 for VS and SP2 for Windows already installed !
  28. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 29 May 2013 Link to this post

    I believe he meant the latest reporting version. There is a service pack release.
  29. Georgi
    Georgi avatar
    12 posts
    Member since:
    Jun 2012

    Posted 14 Aug 2013 Link to this post

    I had the problem after updating telerik reporting to the latest version. Turned out that the assembly was not updated correctly so I had to reference it manually to fix it.
  30. Sternico
    Sternico avatar
    25 posts
    Member since:
    Sep 2009

    Posted 29 Oct 2014 Link to this post

    I had the same problem. Like Michael Baumgartner sugessted, I removed the references to the telerik reporting and added it again, rebuild and every thing worked fine!

    So maybe the refernce update should be market / highligted as solution to this problem?
  31. Ab
    Ab avatar
    11 posts
    Member since:
    Jul 2013

    Posted 14 May 2015 in reply to Michael Baumgartner Link to this post

    Thanks! Your solution helped!

     We had the same exact issue with a WinForms project after a upgrade from 2014.3 to 2015.1, removing the Telerik references and adding them back resolved the issue!

Back to Top
DevCraft banner