Error creating site collection - Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0

Hi,
When creating a Site collection using Central admin, i am getting the error "One or more types failed to load. Please refer to the upgrade log for more details." . Microsoft.ApplicationServer.Caching.Core dll version on my machine is 1.0.4632 (App
Fabric 1.1). 
Stack Trace
SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
find the file specified. dd64ad9c-0f90-e07d-aaaa-13533e0e9e4f
Thanks,
Thomas

Hi Thomas,
According to your description, my understanding is that you got an error when you created a site collection in SharePoint 2013.
I found a similar thread with yours, maybe it also was created by you. Anyway ,in the thread, the workaround is Changing the virtual directory web config of CA (Option 1 and 2 mentioned at
http://technet.microsoft.com/en-us/library/dn473937.aspx ) and it worked.
More information, please take a look at:
http://sharepoint.stackexchange.com/questions/111439/error-creating-site-collection-could-not-load-file-or-assembly-microsoft-appl
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

    I am trying to use SQL Server 2008 Developer on Windows Server 2008.  Whenever I try to connect to the server, I get this error: "Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
    or one of its dependencies. The system cannot find the file specified."
    I found some info at
    http://blogs.msdn.com/b/ashishme/archive/2009/08/15/could-not-load-file-or-assembly-microsoft-sqlserver-diagnostics-strace-version-10-0-0-0-culture-neutral-publickeytoken-89845dcd8080cc91-or-one-of-its-dependencies-the-system-cannot-find-the-file-specified.aspx,
    but this didn't help me because it is not on my system, even after reinstalling both SQL Server and .NET Framework 4.  I also saw a this page: http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/1115cd55-721d-4974-99b1-d142d1e6a927,
    but this also didn't fix my problem.
    What can I do, or where can I get the missing assembley?
    Thanks in advance.

    You can get the missing assembly (Microsoft.SqlServer.Diagnostics.STrace.dll)
    by installing the "Shared Features" of SQL Server 2008.
    You could only install SQL Server 2008
    R2 (any edition) on Windows 7.
    Do not install more than 1 SQL Server 2008 R2 edition
    into the same computer; Some of the components are not compatible.
    E.g:  BIDS from R2 Express Advance edition cannot
    recognize Integration Service from R2 Enterprise Trial edition - it would throw above missing dll error.

  • Could not load file or assembly 'Microsoft.Office.BusniessApplications.Fba, Version =14.0.0.0

    I have Excel Addin Applications and its working fine in Office 2010. But where as in Office 2013, while installing I'm getting below error.
    The error is: Could not load file or assembly 'Microsoft.Office.BusinessApplications.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Common
    Files\Microsoft Shared\VSTO\10.0\VSTOInstaller.config line 10)
    I have verified by reintsalling VSTO but still facing the issue.
    Any fixes for this or work arounds to solve this.
    Thanks,
    Bose

    You should to contact with addin creator. VSTO is compiled and only in .NET with the source code can be fix or change.
    Oskar Shon, Office System
    MVP
    Press if Helpful; Answer when a problem solved

  • BizTalk 2009 WCF-SAP Adapter Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker...' one of its dependencies error

    Hello,
    I have a BizTalk Server 2009 running on Windows Server 2003 x64. I am installing WCF-SAP adapter and have done the following for the same. However, I am getting an error as mentioned below when I click on the Configure button of WCF-SAP adapter in send
    port. I would appreciate if anyone could let me know how to fix this error and make the WCF-SAP adapter working.
    TITLE: BizTalk Server 2009 Administration Console
    Exception has been thrown by the target of an invocation. (mscorlib)
    ADDITIONAL INFORMATION:
    Exception has been thrown by the target of an invocation. (mscorlib)
    Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling
    the application may fix this problem. (Exception from HRESULT: 0x800736B1) (Microsoft.Adapters.SAP)
    This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
    I have copied the following 32 bit & 64 bit unicode DLLs in SysWOW64 and System32 folders respectively.
    icudt30.dll
    icuin30.dll
    icuuc30.dll
    librfc32u.dll
    libsapu16vc71.dll
    libsapucum.dll
    Following r3dllinst DLLs are there in System32 folder.
    mfc42.dll
    mfc42u.dll
    mfc71.dll
    mfc71u.dll
    msvcp60.dll
    msvcp71.dll
    msvcp80.dll
    msvcr71.dll
    msvcr80.dll
    Following r3dllinst DLLs are there in SysWOW64 folder.
    mfc40.dll
    mfc40u.dll
    mfc42.dll
    mfc42u.dll
    mfc71.dll
    mfc71u.dll
    mfc80.dll
    mfc80u.dll
    msvcp50.dll
    msvcp60.dll
    msvcp71.dll
    msvcp80.dll
    msvcr71.dll
    msvcr80.dll
    I have the following softwares installed on the server.
    Microsoft Visual C++ 2008 Redistributable x64
    Microsoft Visual C++ 2008 Redistributable x86
    WCF LOB Adapter SDK (64-bit)
    BizTalk Adapter Pack 2.0 (64-bit)
    BizTalk Adapter Pack 2.0 (32-bit)
    The following bindings are also present in the machine.config under Framework\v2.0.50727\CONFIG and Framework64\v2.0.50727\CONFIG
    <system.serviceModel>
    <extensions>
    <bindingElementExtensions>
    <add name="sapAdapter" type="Microsoft.Adapters.SAP.SAPAdapterExtensionElement, Microsoft.Adapters.SAP, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </bindingElementExtensions>
    </extensions>
    <client>
    <endpoint binding="sapBinding" contract="IMetadataExchange" name="sap" />
    </client>
    </system.serviceModel>
    Thanks,
    Tarun

    Have you tried this?
    http://geekswithblogs.net/MoonWalker/archive/2013/07/17/could-not-load-file-or-assembly-microsoft.adapters.sap.sapginvoker.dll.aspx
    Morten la Cour

  • Error starting Queue Viewer: Could not load file or assembly

    Dear All,
    I'm having problems with Queue Viewer from my Windows 7 client.
    The error has started from the Exchange 2013 SP1 installation on the Exchange Server; from that time, if I open the Queue Viewer from the Toolbox, I receive this error:
    Could not load file or assembly 'Microsoft.Exchange.Data.Transport, Version=15.0.843.0.Culture=neutral, Public............... The system cannot find the file specified.'
    Now I'm trying to install the SP1 on my local Windows 7 client, but the prerequisite check fail because it not find the necessary role.
    There is a way to fix this problem?
    Thanks

    Hi ,
    Please check the below mentioned links as well as check can you able to open the exchange toolbox directly in exchange 2013 sp1 servers.
    http://support.microsoft.com/kb/2938053/en-us
    http://blog.messageconcept.com/en/exsbr-on-exchange-server-2013-sp1/
    After you install the exchange 2013 sp1 you need to install the hotfix mentioned on that link .
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham
    Thanks.
    The queue viewer runs correctly on the Exchange Server and we don't use Third-party transport agents.

  • MSTest Coded UI Test Could not load file or assembly Microsoft.VisualStudio.TestTools.UITesting

    Hi,
    I have created some Coded UI Tests in a Test Project using Visual Studio Premium 2013 (Version 12.0.30723.00 Update 3).
    Those Coded UI tests run just fine when I run them from inside Visual Studio (Go to Test Explorer and hit Run).
    However If I try to run them using MSTest.exe or VSTest.Console.exe I am not able to.
    When I run the tests using MSTest I get the following error:
    Loading CodedUITests.dll...
    CodedUITests.dll
    Unable to load the test container 'CodedUITests.dll' or one of its dependencies.
     Error details: System.IO.FileNotFoundException: Could not load file or assembly
     'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0, Culture=neutral,
     PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
    find the file specified.
    If I run them using VSTest.Console.exe I get the following error:
    Starting test execution, please wait...
    Warning: Unable to load types from the test source 'C:\PathToTestProject\bin\Debug\CodedUITests.dll'.
    Some or all of the tests in this source may not be discovered. If you are running unit tests for Windows Store apps and referencing custom WinMD type then please visit
    http://go.microsoft.com/fwlink/?LinkId=238340 for more info. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..
    Warning: No test is available in CodedUITests.dll. Make sure that installed test
     discoverers & executors, platform & framework version settings are appropriate
    and try again.
    I try to find this issue online and was not able to find anyone with a similar problem.I am not sure if there is something corrupted with my VS
    instalation that may be causing this problem.
    Could someone help me with this?
    Thanks!
    Brazeta
    PS: This path "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies" exists in the machine where I have VS and where I am executing the MSTest command. This path contains all the Microsoft test assemblies, including "Microsoft.VisualStudio.TestTools.UITesting.dll"

    Hi Edward
    >> Do you mean that Coded UI tests run fine in VS, but failed with MSTest?
    Yes, that is exactly the case!
    >>Before you run with MSTest, have you changed the Coded UI project?
    No. In Visual Studio I can run the Coded UITests by going to Text Explorer and click the run button. Without changing anything else, if I try to run them in using mstest or vstest.console I am not able to
    >>Did you change the project after you run in vs?
    No. The project did not change at all
    >> Could you share us the MSTest command?
    I run the commands in "Developer Command Prompt fro VS2012". the commands are:
    MSTEST:
    mstest /testcontainer:CodedUITests.dll
    Microsoft (R) Test Execution Command Line Tool Version 11.0.50727.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading CodedUITests.dll...
    CodedUITests.dll
    Unable to load the test container 'CodedUITests.dll' or one of its dependencies.
     Error details: System.IO.FileNotFoundException: Could not load file or assembly
     'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0, Culture=neutral,
     PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannotfind the file specified.
    VSTEST.CONSOLE
    vstest.console CodedUITests.dll
    Microsoft (R) Test Execution Command Line Tool Version 11.0.60315.1
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Starting test execution, please wait...
    Warning: Unable to load types from the test source 'C:\MyProjects\CodedUITests\bin\Debug\CodedUITests.dll'.
    Some or all of the tests in this source may not be discovered.
    If you are running unit tests for Windows Store apps and referencing custom WinMD type then please visit
    http://go.microsoft.com/fwlink/?LinkId=238340 for more info.
    Error details: System.IO.FileNotFoundException:
    Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting,
    Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
    The system cannot find the file specified..
    Warning: No test is available in CodedUITests.dll. Make sure that installed test
     discoverers & executors, platform & framework version settings are appropriate
    and try again.
    Information: Additionally, you can try specifying '/UseVsixExtensions' command i
    f the test discoverer & executor is installed on the machine as vsix extensions
    and your installation supports vsix extensions. Example: vstest.console.exe myTe
    sts.dll /UseVsixExtensions:true
    >>Have you set the platform (x64 or x32) in your test? If so, I think you could refer the link below:
    The selected platform is AnyCPU
    >>Was your UITesting in another dll? If so, you could refer the link below:
    The tests are all in the CodedUITests dll. All tests were created inside a test project (called CodedUITests, they run ok if I execute them in VS but the show the abouve error if I run them using the Developer Command Prompt for VS2012).
    I didn´t mention this before but I DO NOT have test controller and test agents installed in my PC! I just have Visual Studio installed (not 100% sure if I need the agent to run the UI Tests in the same PC where I have VS installed).
    I hope this information may be usefull,
    Best Regards,
    José Brazeta
    PS:
    I just try to create a very simple UI Test in another PC where I have Visual Studio 2013 Ultimate (Versio12.0.30723.00 Update 3).
    Using VS I created a new Solution with just 1 project (Coded UI Test Project) and recorded a very simple test (on IE and at the google page search for Coded UI Test and hit the search button).
    After compiling the Coded UI Test project in VS I can see the test in Test Explorer and If I run the test it all goes ok.
    Using the Developer Command Prompt for VS2012 if I navigate the the "Debug" folder of my project none of the following scripts will work:
    mstest /testcontainer:CodedUITestProject1.dll
    vstest.console CodedUITestProject1.dll
    I get the same error that I show in the bigining of this post.

  • Parser Error Message: Could not load file or assembly 'Microsoft.Office.Access.Server.UI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies,

    Dear All,
       I have installed Sharepoint Foundation 2010 in my server 2012 R2 machine. and I restore my existing content database backup into new site collections. and I'm trying to browse the site collection in window, the below error shown.. 
    Parser Error
    Message: Could not load file or assembly 'Microsoft.Office.Access.Server.UI, Version=14.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
    <add assembly="Microsoft.Office.Access.Server.UI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
     I tried to checked the assembly folder having the DLL or not. but its
    not available in the C:\Windows\assembly location. and I'm tried to resolved this issue by HOTFIX. but unfortunately, I can't find out the patch file for MOSF 2010 in server 2012 r2.
    Please help me on this issue. I'm very new to sharepoint...
    Any help will be more appreciated.
    Thanks,
    Mubarak

    Hi Mubarak,
    Please firstly make sure you installed SharePoint Foundation 2010 with SP2 in a Windows Server 2012 R2. Since only SP2 slipstream installations are supported on Windows Server 2012 R2
    http://blogs.technet.com/b/stefan_gossner/archive/2014/05/03/sharepoint-2010-sp2-and-windows-server-2012-r2.aspx
    http://blogs.technet.com/b/stefan_gossner/archive/2013/09/19/slipstream-version-of-sharepoint-foundation-2010-with-sp2-included.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error occurred in deployment step 'Recycle IIS Application Pool': Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specif

    Hi All,
    I am using Virtual box to connect to Sharepoint 2013 VPC. Due to an unexpected sutdown of my machine the VPC got some issue. Now I restored it using my bak up file. But after this when I deploy my sharepoint 2013 farm solution Iam getting the following error.
    Error occurred in deployment step 'Recycle IIS Application Pool': Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified..
    Editing the web.config and adding dependentAssembly didnt worked for me.
    What could be the issue? Any suggestions ?
    Thanks in advance...
    Regards
    Nimisha
    [email protected]

    Hi,
    Please try to do as follows:
    1. Check your farm solution whether reference the Microsoft.SharePoint.dll. Or try to add the Microsoft.SharePoint.dll into the bin folder.
    2. Execute the iisreset command.
    3. Create a new farm solution and check whether the issue still occurs or not.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Error: Could not load file or assembly 'Microsoft.Activities, Version=1.0.0.0

    Hi,
    I am using VS 2012 to create custom sequential workflows (2010 model). The workflows created in VS 2010 are working fine, but the workflow created in VS 2012 is throwing the error.
    When the workflow is run, I am getting the below error:
    Error:
    Could not load file or assembly 'Microsoft.Activities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Stack Trace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean
    forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean
    throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.Assembly.Load(AssemblyName assemblyRef) at System.Workflow.Activities.Rules.SimpleRunTimeTypeProvider.get_ReferencedAssemblies() at System.Workflow.Activities.Rules.RuleValidation.DetermineExtensionMethods()
    at System.Workflow.Activities.Rules.RuleValidation.get_ExtensionMethods() at System.Workflow.Activities.Rules.RuleValidation.GetNamedMethods(List`1 targetTypes, String methodName, BindingFlags methodBindingFlags) at System.Workflow.Activities.Rules.RuleValidation.ResolveMethod(Type
    targetType, String methodName, BindingFlags methodBindingFlags, List`1 argumentExprs, ValidationError& error) at System.Workflow.Activities.Rules.MethodInvokeExpression.Validate(CodeExpression expression, RuleValidation validation, Boolean isWritten) at
    System.Workflow.Activities.Rules.RuleExpressionWalker.Validate(RuleValidation validation, CodeExpression expression, Boolean isWritten) at System.Workflow.Activities.Rules.RuleValidation.ValidateConditionExpression(CodeExpression expression) at System.Workflow.Activities.Rules.RuleExpressionCondition.Validate(RuleValidation
    validation) at System.Workflow.Activities.Rules.RuleConditionReference.Evaluate(Activity activity, IServiceProvider provider) at System.Workflow.Activities.IfElseActivity.Execute(ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T
    activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()
    How to fix this?
    Thanks

    Hi,
    The machine in which the workflow was created is different from the machine it is deployed.
    Which dll should be available? Is the dll not part of SharePoint 2013?
    Is this part of workflow Manager?
    Thanks

  • DB attach error: system.IO.FileNotFoundException: Could not load file or assembly 'Company.Solution.Update, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e2569ffaccb59eb4' or one of its dependencies.

    I did a DB attach restore of the production db to a dev server, and got an error:
    system.IO.FileNotFoundException: Could not load file or assembly 'Company.Solution.Update, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e2569ffaccb59eb4' or one of its dependencies. The system cannot find the file specified.    at System.Reflection.Assembly._nLoad(AssemblyName
    fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)     at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
    Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)     at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)    
    at System.Reflection.Assembly.Load(String assemblyString)     at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)     at System.Web.UI.TemplateParser.AddAssemblyDependency(String
    assemblyName, Boolean addDependentAssemblies)     at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)     at System.Web.UI.BaseTemplateParser.ProcessDirective(String
    directiveName, IDictionary directive)     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
    Recommendations, please.
    Thanks,
    Scott

    Hi Scott,
    from  "system.IO.FileNotFoundException: Could not load file or assembly 'Company.Solution.Update," error
    it seems some custom feature assemble missing in DEV. Do you have any custom feature installed in PROD and not in DEV ? Also make sure both environment are running on same SP / SQL versions.
    Let us know your results, thanks.
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    ===========================================================
    This is a SQL Server 2012 Developer Edition of SSRS.
    I am getting this error when navigating to http://servername/Reports. The reports site was working fine, until I installed a SQL 2014 Developer instance (including SSRS) on the same server.
    I can still get to the http://servername/ReportServer site.
    Neither of these are using Sharepoint.
    Any help resolving this issue would be greatly appreciated.
    Below is the stack trace.
    ===========================================================
    [FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] System.Reflection.Assembly._nLoad(AssemblyName
    fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity,
    StackCrawlMark& stackMark, Boolean forIntrospection) +416 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166 System.Reflection.Assembly.Load(String
    assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190 [ConfigurationErrorsException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel'
    or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +1149
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +323 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +116 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +36 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection
    compConfig) +212 System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +174 System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +57 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
    virtualPath) +295 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +482 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
    context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +108 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean
    noAssert) +171 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +52 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext
    context, String requestType, VirtualPath virtualPath, String physicalPath) +53 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +519 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    +176 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +274
    ===========================================================

    Hi Glen,
    "The located assembly's manifest definition does not match the assembly reference." is generally caused by the loaded assembly's version is different than the expected version application refers to.
    In this case, it should be caused by:
    While starting Report Manager, the backend process ReportingServiceService need to load assemblies it refers to
    ReportingServiceService reads the compilation/assemblies element from web.config(under Report Manager virtual patch)
    If the compilation/assemblies is not existing, ReportingServiceService loads all assemblies from Bin folder. It can be verified from call stack System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory(). ReportingServiceService
    uses System.Reflection.Assembly.Load with the assemblies' name only to load assemblies.
    The Assembly.Load tries to load from the specify assembly by name from GAC at first. If it is found from GAC, it won't be loaded from Bin folder any more.
    Since Reporting Service SharePoint Integration mode is installed, a same assembly of 'Microsoft.ReportingServices.SharePoint.ObjectModel' with different version might be installed to the GAC. That causes the error "The located assembly's manifest definition
    does not match the assembly reference."
    For more information about the error message and the loading process, please see:
    http://blogs.msdn.com/b/junfeng/archive/2004/03/25/95826.aspx
    https://msdn.microsoft.com/en-us/library/yx7xezcf(v=vs.100).aspx
    Thanks,
    Jinchun Chen

  • Could not load file or assembly 'Microsoft.AnalysisServices.Design'

    Hi,
    I have sql server 2012 and I am trying to create an SSIS package. It went fine on the first day of installation. But now I am getting the following error when ever I open the SQL Server Data Tools:
    TITLE: Microsoft Visual Studio
    Could not load file or assembly 'Microsoft.AnalysisServices.Design' or one of its dependencies. The module was expected to contain an assembly manifest.
    ADDITIONAL INFORMATION:
    Could not load file or assembly 'Microsoft.AnalysisServices.Design' or one of its dependencies. The module was expected to contain an assembly manifest. (mscorlib)
    BUTTONS:
    OK
    Thanks in advance,
    Pavan.

    Hi Pavan,
    To fix this issue, please install the
    Cumulative update package 3 for SQL Server 2012 Service Pack 1 which contains Microsoft.analysisservices.design.dll. Because the builds are cumulative, each new update release contains all the hotfixes and all the security updates that were included with
    the previous SQL Server 2012 update release. We recommend that you consider applying the most recent update release.
    If the issue is still existed, please reinstall the
    Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Upgrading to MBAM 2.5: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0.....the system cannot find the file specified.

    Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
    2.5. After upgrade if I go to selfservice portal via
    https://myserver.mycompany.com/selfservice, I get this error:
    Server Error in '/SelfService' Application.
    Could not load file or assembly 'System.Web.WebPages.Razor,
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
    dependencies. The system cannot find the file specified.
    Description:
    An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and
    where it originated in the code.
    Exception Details:
    System.IO.FileNotFoundException: Could not load file or assembly
    'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified.
    Source Error:
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
    System.Web.Mvc.PreApplicationStartCode.Start() +0
    [InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
    System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
    System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
    System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
    [HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
    Anyone know how to solve this? Thanks in advance

    Sorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
    here.
    If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319

  • Could not load file or assembly Microsoft.ServiceHosting.Tools

    I just got a new workstation set up and I installed VS 2013 with Windows Azure SDK 2.3 first. But then I realized that our project was built upon Windows Azure SDK 2.2. So I uninstalled the SDK 2.3 and then installed 2.2. After that, I got the project from
    TFS and tried to run it and there was a problem:
    Cannot debug the project because some run time file was missing.
    So I tried to repair it by uninstalling Windows Azure SDK 2.2 completely and repair my VisualStudio. But now I get this error message:
    Could not load file or assembly 'Microsoft.ServiceHosting.Tools, Version=1.0.0.0, Culture =neutral, PublicKeyToken=232wedsfd3f4' or one of its dependencies. The system cannot find the file specified.
    I looked through the project and there wasn't any reference of Miscrosoft.ServiceHosting. And the database and cloud are working. No idea what happened in the machine since Azure is a new field for me. Does anybody ever meet the same problem?

    Hi,
    From my experience, there may be some component missing on your computer, I suggest you uninstall again (everything with Azure keyword in control panel, not only the SDK-> Add remove programs."), then open Microsoft web platform installer (http://www.microsoft.com/web/downloads/platform.aspx),
    select azure sdk 2.3, then install this product. Hope this helps, if not, please feel free to let me know.
    Best Regards
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

    I am using .net application built in .net 2.0 using SQL server Express 2005 Replication publication functionality. Application setup is in 32 bit.
    Now i am running this .net application setup on Windows-7 [64 bit]. It gets installed successfully with SQL server Express 2005.
    But when starting the application getting below error while performing Synchronization of subscription and publication via .net app.  I have checked that Microsoft.SqlServer.Replication.dll file is installed in GAC having same version
    [Version=9.0.242.0]. It is working fine on 32-bit OS.    
    Below is error details.
    TITLE: SETSynchConsole
    Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    Hi deshpasu,
    According to your description, you install SQL Server Express 2005, and OS is 64bit. If your assembly is running as a 32 bit process and it is unable to load a 64 bit dll, we get a exception , so we need to verify if you install Microsoft SQL Server
    2005 Replication Management Objects. These are not installed by default database engine install.
    This is 64bit OS so you should install 64bit "Microsoft SQL Server 2005 Replication Management Objects" from online feature pack of SQL Server 2005.
    If SQL Express x86 setup (with Database Engine, Replication selected at setup) installs Microsoft.SqlServer.Replication and so this load error does not occur on 32bit systems.
    For more information, see:
    http://stackoverflow.com/questions/41449/i-get-a-an-attempt-was-made-to-load-a-program-with-an-incorrect-format-error-o
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for