Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 on Visual Studio Ultimate 2014 Update 4

I am getting the infamous  "Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0." The set up of my system is Visual Studio 2013 Ultimate update 4 and my SQL server is 12.0.2000 Express. I am also using SQL
 management studio 2014. I read other comments and blogs, and reinstalled the SQL Express 12.0.2000, but no luck yet. 

Hi payam49er,
>>I am
getting the infamous "Could not load file or assembly Microsoft.SqlServer.management.sdk.
sfc version 11.0.0.0."
Based on your error, could you please tell me what you do operation and then you get the error message?
Could you please tell me if you add a data connection from Server Explorer Window in Visual studio 2013 Ultimate update
4 and then you get the error message?
If yes, to check if the issue is related to the VS IDE issue, I suggest you can execute the following commands to check if it can
help you add  data connection in VS2013 Ultimate Update 4.
(1)I suggest you can run your VS in safe mode by executing Devenv.exe /SafeMode to add a data connect again.
(2)I suggest you can use the Devenv.exe /ResetSettings to restores the IDE's default settings, optionally resets to the specified
VSSettings file.
(3)You can execute the Devenv.exe /ResetAddin to remove commands and command UI associated with the specified Add-in.
In addition, if you used the SQL Server Express to connect the data in VS, you need to specify the server name
as MyComputerName\SQLEXPRESS. If you used the SQL Server to connect the data in VS. Please you try to specify the server name as MyComputerName\InstanceName here to check the result.
If still no help, according the error, it indicates that the problem is that the system cannot locate the right assembly (SQL
Server SDK). So I think you may get better response and solutions if you consult on SQL Server forums.
Thank you for your understanding.
Best Regards,
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.

Similar Messages

  • Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0

    Hi,
    I currently installed VS 2012 Ultimate Edition, Visual Web Developer 2012 Express Edition and MS Sql server 2008 R2.
    When i go to add a data connection (sql server 2008 r2) in Visual studio 2012.
    The steps followed were:
    1. Open Server Explorer.
    2. right click on Data Connections
    3. Click on Add Connection
    4. In Choose data source: Microsoft Sql Server and Data Provider:
    .net framework data provider for sql server
    5. Add server name: ALVI\SQLEXPRESS and the database name:
    Customer
    6. Click test Connection: i have got the message: "Test Connection Succeeded"
    7. Click OK
    "unable to add data connection. could not load file or assembly 'microsoft.sqkserver.management.sdk.sfc' verision=11.0.0, culture=netural, publickkeytoken=89845dcd8080cc91' or one of its dependenciec. The System cannot find the file specified."
    I have already tried this method.
    1) Microsoft SQL Server Management Objects
    2) repair installed on Microsoft SQL Server System CLR Types
    3) Microsoft SQL Server 2008 Native Client.
    what's the problem? and what i need to do?
    Thanks
    ALVI

    Hello,
    Thank you for your post.
    In order to check if the issue is related to your VS,
    you could locate to the IDE folder then run these commands to check if it can help if you add a data connection in VS2012 Ultimate:
    Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE
    Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
    Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
    Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
    Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.
    And I did some search about this error and find a thread with the similar issue:
    http://social.msdn.microsoft.com/Forums/en-US/efb83302-386b-460f-9467-edce28d61016/unable-to-add-a-data-connection-in-visual-studio
    As VMzaure said, if you are using SQL Server Express, you need to specify the server name as
    MyComputerName\SQLEXPRESS. But based on your post, I feel you are using SQL Server. If you are using SQL Server and have named instance, please try to specify the server name as MyComputerName\InstanceNameHere to check the result.
    If still no help, according the error, it indicates that the problem is that the system cannot locate the right assembly (SQL Server SDK). So I think you may get better response and solutions
    if you consult on SQL Server forums.
    Thank you for your understanding.
    Best regards,
    Amanda Zhu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Unable to add data connection. Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version 11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

    I installed MS SQL Server 2014 Express and I'm using VS 2013 Professional.  I create a database in SQL Mgt Studio then I open up VS and using VB I create a form and add a data grid.  When I test connection it is fine but when I click ok it gives
    me the above message.  Sql Server is listening to port 1433 with IPALL disabled.  I installed management tools and another program.  So I uninstalled and then installed SQLExpressADV 2014 reset everything as mentioned and I get the same results. 
    I cannot develop any applications and am getting frustrated enough to maybe start looking around for a better DB solution that works.  I've noticed a lot of people getting this same error and I think Microsoft should implement a fix for this.  Does
    anyone have some ideas on how to fix this?  Since it will not list the files it cannot find I do not know what is broken.

    Hello,
    Please perform the steps described in the following article.
    http://sqlbeyond.blogspot.com/2012/08/vs-2012-error-could-not-load-file-or.html
    But download the SQL Server 2014 version of the software mentioned in the article.
    http://www.microsoft.com/en-us/download/details.aspx?id=42295
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • 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.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

  • 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]

  • Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements'

    I recently started getting the above error while trying to access a local installation of TFS 2013; the full error is as follows:
    Server Error in '/tfs' Application.
    Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
    Stack Trace: 
    [FileLoadException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
    [FileLoadException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +467
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +108
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +25
    System.Reflection.Assembly.Load(String assemblyString) +34
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +49
    [ConfigurationErrorsException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +772
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +259
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +163
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +227
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +76
    System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +331
    System.Web.Compilation.BuildManager.ExecutePreAppStart() +176
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +723
    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +557
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +690
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248
    As far as I'm aware, nothing has changed on the set-up.  Can anyone point me in the right direction for a fix / cause, please?

    Hi Pcmichaels,  
    Thanks for your reply.
    As far as I know there’s an actual/direct fix or KB for this error, we need to troubleshooting which specific operation or update caused the error.
    If it ever happen in your production TFS Server, and it not be resolved, we suggest you contact a professional support service to resolve this error.
    When an error happened in a TFS Server, we should resolve this error in this current TFS Server version. Don’t upgrade this ‘issue’ TFS Server to higher version of TFS before you resolve/remove this error from current TFS Server, unless the higher version
    of TFS released the KB to resolve this specific error. Which issues be fixed in Update 4, you can check the list in this KB:
    https://support.microsoft.com/en-us/kb/2994375/. If this specific error is not a known/fixed issue in Update 4, it may be cannot upgrade to Update 4 successfully, and may cause the new issue in Update
    4 Server if you force upgrade completely. Then it’s hard to find the root cause of this specific issue in Update 4 Server.
    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.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.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.

  • 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 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

  • 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.

  • Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    Hi,
    Our development team is trying to run a report on our report server through web application but they are getting the below error. Report Viewer both version 10 and 11 are already installed on our reporting server. 
    [System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    The files are in place in assembly folder 'C:\Windows\assembly' and DLLs are also in place in folder 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\ReportViewer. 
    Can anyone please help us with this issue. 
    Thanks

    Hi Saurabh,
    This error means you're using the SQL Server Reporting Services ReportViewer control in your web application and the server can't find the proper DLL.
    Please check details information below to add the 'Microsoft.ReportViewer.WebForms.dll 10.0.0.0 to see if your problem will be resolved:
    Go to right click on project name to select the properties
    Check the References on the left and click "Add", then click Browse to the path "C:\Windows\assembly\GAC_msil" to select Microsoft.ReportViewer.WebForms.dll 10.0.0.0 , then click ok
    If above didn't help. please also the web.config file which path like:
    C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager
    C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer
    Please check to add below configuation:
    <system.web>
         <httpHandlers>
           <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    validate="false" />
         </httpHandlers>
     </system.web>
    Similar thread in below article for your reference:
    http://praveenbattula.blogspot.com/2010/03/fix-to-report-viewer-problems-in-iis-7.html
    User can not run a winForm with the ReportView Control
    Can not load Reportviewer
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • 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

  • 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

Maybe you are looking for