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

FileLoadException on startup of Visual Studio

1 Answer 77 Views
Miscellaneous
This is a migrated thread and some comments may be shown as answers.
Carl Nelson
Top achievements
Rank 1
Carl Nelson asked on 28 Aug 2012, 01:15 AM
Whenever I start up Visual Studio (2010) I get a dialog box with the following error message 3 times:

System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Telerik.VSX.Helpers.GlobalAssemblyCache.GacEnumberable..ctor()
at Telerik.VSX.Helpers.GlobalAssemblyCache.AssemblyCache.GetAllGacEntries()
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.get_AllGacEntries()
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.PopulateDistributionCandidates(IDictionary`2 distrbutionTokenCandidates)
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.GetDistributions.(Func`2 distributionTokenCreator)
at Telerik..VSX.DistributionDiscovery.DistributionSearcher.PopulateGACDistributions(IList`1 distributionsToFill)
at Telerik..VSX.DistributionDiscovery.DistributionSearcher.GetDistributions()
at Telerik.Web.UI.VSX.AssemblyDiscovery.WebUIDistributionSearcher.GetDistributions()
at Telerik.Web.UI.VSPackage.VSPackage.GetUpgradeAvailabilityMonitor()
at Telerik..VSX.VSPackage.PackageBase.<>c__DisplayClass3.<OnSolutionOpened>b__0(Object s, DoWorkEventArgs a)
at System.ComponenentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs a)
at System.ComponenentModel.BackgroundWorker.WorkerThreadStart(Object argument)


Any idea what the problem is and how to fix it?

Thanks,
Carl

1 Answer, 1 is accepted

Sort by
0
Chavdar Dimitrov
Telerik team
answered on 29 Aug 2012, 03:38 PM
Hello Carl,

Thank you sending the error.

We have received several reports with similar errors and our guess that the issue is caused by a concurrent code. We are already working on this and I hope that we will manage to fix it for our next release.

As a temporary workaround, you can disable all Telerik extensions except the Web UI one.

Please, do not hesitate to write us back if need any further assistance.

Kind regards,
Chavdar,
the Telerik team

Explore the entire Telerik portfolio by
downloading Telerik DevCraft Ultimate.
Tags
Miscellaneous
Asked by
Carl Nelson
Top achievements
Rank 1
Answers by
Chavdar Dimitrov
Telerik team
Share this question
or