This is a migrated thread and some comments may be shown as answers.

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

1 Answer 147 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Nicholas
Top achievements
Rank 1
Nicholas asked on 19 Sep 2012, 06:06 PM
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)

at

Telerik.Windows.Silverlight.VSX.AssemblyDiscovery.SLFileBasedDistributionSearch

er.CheckFolderContainsSLDistribution(String folderPath, DistributionSearchlnfo

searchinfo, IFileOperator fileOperator)

Telerik.Windows.Silverlight.VSX.AssemblyDiscovery.SLFileBasedDistributionSearch

er.CheckFolderContainsDistribution(String folderPath)

at

Telerik.VSX.DistributionListing.DistributionDiscovery.FileBasedDistributionSearche

r.GetPackageDistributions(String packageFolder, Func2

fileBasedDistributionTokenCreator)

Telerik.VSX.DistributionListing.DistributionDiscovery.DistributionSearcher.Populat

eFileBasedDistributions(IList’1 distributions, ILisfi foldersToSearch, Func2

distributionTokenCreator)

at

Telerik.VSX.DistributionListing.DistributionDiscovery.DistributionSearcher.Populat

eDownloadDistributionsOList’1 distributions)

Telerik.VSX.DistributionListing.DistributionDiscovery.DistributionSearcher.GetDistri

Butions()

at

Telerik.Windows.Silverlight.VSPackage.VsPackage.GetUpgradeAvailabilityMonitor(

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

argument)

OK

 


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.


Conditions...
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!

Thanks!


1 Answer, 1 is accepted

Sort by
0
Teodor
Telerik team
answered on 21 Sep 2012, 04:23 PM
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.

Regards,
Teodor
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.

Tags
Installer and Visual Studio Extensions
Asked by
Nicholas
Top achievements
Rank 1
Answers by
Teodor
Telerik team
Share this question
or