首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装visual studio 2017 localdb

无法安装visual studio 2017 localdb
EN

Stack Overflow用户
提问于 2018-02-21 11:43:41
回答 1查看 2K关注 0票数 1

我安装了Visual Studio Enterprise 2017

使用它的安装程序,我检查了Data Storage and processing

以及来自各个组件的Sql Server Express 2016

因此,我可以在我的C#应用程序中访问C#,但是当installer/modifer完成时,会出现一个错误:

Setup completed with warnings -> Couldn't install sqllocaldb

在日志文件中我发现:

代码语言:javascript
复制
Package 'sqllocaldb,version=15.1.61710.120,chip=x64,language=en-US' failed to install.

代码语言:javascript
复制
    The installer has encountered an unexpected error
 The error code is 2349. Copy resumed with different info.

全日志:

代码语言:javascript
复制
Something went wrong with the install.

You can troubleshoot the package failures by:

    1. Search for solutions using the search URL below for each package failure
    2. Modify your selections for the affected workloads or components and then retry the installation
    3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================================================

Package 'sqllocaldb,version=15.1.61710.120,chip=x64,language=en-US' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=sqllocaldb;PackageAction=Install;ReturnCode=2349
    Details
        MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\sqllocaldb,version=15.1.61710.120,chip=x64,language=en-US\SqlLocalDB.msi, Properties:  REBOOT=ReallySuppress  MSIFASTINSTALL="7"  IACCEPTSQLLOCALDBLICENSETERMS="YES"  SKIPPENDINGREBOOTCHECK="1" 
        Return code: 1603
        Return code details: Fatal error during installation.
        Message Id: 2349
        Message Details: The installer has encountered an unexpected error. The error code is 2349. Copy resumed with different info.
    Log
        C:\Users\Disco4uf\AppData\Local\Temp\dd_setup_20180221144406_003_sqllocaldb.log
    Impacted workloads
        .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.27102.0)
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.27102.0)
        Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.27102.0)
        Python development (Microsoft.VisualStudio.Workload.Python,version=15.0.27019.1)
    Impacted components
        ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26606.0)
        ASP.NET and web development tools (Microsoft.VisualStudio.ComponentGroup.Web,version=15.0.27005.2)
        Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0)
        Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.27005.2)
        Azure Storage Emulator (Microsoft.VisualStudio.Component.Azure.Storage.Emulator,version=15.0.26823.1)
        Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.27019.1)
        Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26621.2)
        Redgate ReadyRoll Core (Component.Redgate.ReadyRoll,version=1.14.17.5347)
        Redgate SQL Prompt Core (Component.Redgate.SQLPrompt.VsPackage,version=8.2.5.2924)
        Redgate SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2.4.2.1439)
        Snapshot Debugger (Microsoft.VisualStudio.Component.Debugger.Snapshot,version=15.0.27102.0)
        SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26906.1)
        SQL Server Express 2016 LocalDB (Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime,version=15.0.26919.1)

更新1

忘了这个吧

更新2

我让LocalDb安装程序工作,但是当我尝试将ServiceBased数据库添加到我的应用程序时,它说缺少包?( Server支持的数据源)

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-02-21 16:39:04

三个小时后我修好了!

  • 退出视觉演播室
  • Unistall视听演播室
  • 统一所有来自program and features in windows 10的“LocalDb”
  • 统一SSDT
  • 重新安装Visual
  • 安装SSDT
  • 安装Localdb.msi
  • 开放视觉演播室
  • 创建新的winform应用程序
  • 现在您可以拥有基于服务的数据库(localdb)!
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48905054

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档