FileLoadException on startup of Visual Studio

2 posts, 0 answers
  1. Carl Nelson
    Carl Nelson avatar
    2 posts
    Member since:
    Nov 2009

    Posted 27 Aug 2012 Link to this post

    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

  2. Chavdar Dimitrov
    Admin
    Chavdar Dimitrov avatar
    104 posts

    Posted 29 Aug 2012 Link to this post

    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.
Back to Top