Help with "System.ArgumentNullException: Value cannot be null" when opening silverlight projects

2 posts, 0 answers
  1. Nicholas
    Nicholas avatar
    1 posts
    Member since:
    Apr 2012

    Posted 19 Sep 2012 Link to this post

    VS2010 - Receiving this error when creating or opening any silverlight project..
    Need some help with this one as I'm not finding any relevant resources for the issue.
    The problem seems to occur only when logged on to the dev machine with my domain user account. Logging on to the same machine with other user accounts does not produce the errors and all VS2010 & Telerik components function properly.
    How might I approach repairing whatever issues exist within my user profile?

    Here is the full error text (pardon the artifacts created by OneNote extract text)

    System.ArgumentNullException: Value cannot be null.

    Parameter name: input

    at System.Version.Parse(String input)

    at System.Version..ctor(String version)



    er.CheckFolderContainsSLDistribution(String folderPath, DistributionSearchlnfo

    searchinfo, IFileOperator fileOperator)


    er.CheckFolderContainsDistribution(String folderPath)



    r.GetPackageDistributions(String packageFolder, Func2



    eFileBasedDistributions(IList’1 distributions, ILisfi foldersToSearch, Func2




    eDownloadDistributionsOList’1 distributions)





    Telerik.VSX.VSPackage.PackageBase.<> c_DisplayClass3.< OnSolutionOpened> b_

    _O(Object s, DoWorkEventArgs a)

    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs

    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object




    What I've done so far...
    I've uninstalled everything associated with VS2010, Silverlight, & all Telerik components but still receive the error after reinstalling just VS2010 alone & trying to create a standard silverlight project (Non-Telerik).
    I have not explored modifying the registry but have a feeling thats where the issue resides.

    1) I CANNOT create a new telerik silverlight project. All of the options for creating a new project are there and I can give the new project a name & directory, the next screen appears with options for RIA, continue past this screen and it appears to begin building a new project but then the error is displayed. This happens regardless of the project options selected. VS does not crash but displays a "create project failed" message at the bottom of the screen.

    2) I CAN create standard silverlight projects and open / modify any existing silverlight projects even though I still receive this error while the project is loading. Selecting OK allows the project to resume loading.

    3) 'Convert to Telerik Project' does NOT work and produces the error.

    4) Tool box configurator does NOT work and produces the following error message
    "Value Cannot Be Null"
    "Parameter Name: input"

    As far as I can tell this is only an issue for my user profile.

    Any suggestions would be appreciated!


  2. Teodor
    Teodor avatar
    56 posts

    Posted 21 Sep 2012 Link to this post

    Hi Nicholas,

    I suspect that some corrupt RadControls distribution is causing the error. What I suggest is deleting the settings file to see if it helps(%appdata%\Telerik\Settings.xml) and also deleting any unused distributions from %appdata%\Telerik\Updates folder. You can try deleting all the distributions one by one to see which is causing the issue and then reporting what you have found.

    Looking forward to your reply.

    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
Back to Top