Sql server SQL Server 2014 LocalDB在ReportViewer 2015运行时安装后停止工作
我能够连接到Sql server SQL Server 2014 LocalDB在ReportViewer 2015运行时安装后停止工作,sql-server,localdb,Sql Server,Localdb,我能够连接到(localdb)\MSSQLLocalDB,没有任何问题。然后我安装了Microsoft ReportViewer 2015运行时,无法再连接 我得到的错误是: 无法连接到(localdb)\MSSQLLocalDB 其他信息: 运行时发生与网络相关或特定于实例的错误 正在建立与SQL Server的连接。找不到服务器,或者 无法访问。验证实例名称是否正确,以及 SQL Server配置为允许远程连接。(提供程序:SQL) 网络接口,错误:50-发生本地数据库运行时错误。 Loca
(localdb)\MSSQLLocalDB
,没有任何问题。然后我安装了Microsoft ReportViewer 2015运行时,无法再连接
我得到的错误是:
无法连接到(localdb)\MSSQLLocalDB
其他信息:
运行时发生与网络相关或特定于实例的错误
正在建立与SQL Server的连接。找不到服务器,或者
无法访问。验证实例名称是否正确,以及
SQL Server配置为允许远程连接。(提供程序:SQL)
网络接口,错误:50-发生本地数据库运行时错误。
LocalDB实例启动期间出错:SQL Server进程
无法启动。)(Microsoft SQL Server)
以前有没有人遇到过这个问题,并且知道如何解决它?我在上面找不到任何东西:\
事件日志具有以下内容:
Windows API调用WaitForMultipleObjects返回错误代码:575。
Windows系统错误消息为:{应用程序错误}应用程序
无法正确启动(0x%lx)。单击“确定”关闭对话框
应用在第3728行报告
SQL Server日志包含以下内容:
{Date} {Time} Server Microsoft SQL Server 2014 - 12.0.4100.1 (X64)
Apr 20 2015 17:29:27
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)
{Date} {Time} Server UTC adjustment: 10:30
{Date} {Time} Server (c) Microsoft Corporation.
{Date} {Time} Server All rights reserved.
{Date} {Time} Server Server process ID is 4392.
{Date} {Time} Server System Manufacturer: {Manufacturer}, System Model: {Model}.
{Date} {Time} Server Authentication mode is MIXED.
{Date} {Time} Server Logging SQL Server messages in file 'C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\error.log'.
{Date} {Time} Server The service account is '{domain}\{user}'. This is an informational message; no user action is required.
{Date} {Time} Server Command Line Startup Parameters:
-c
-S "MSSQL12E.LOCALDB"
-s "LOCALDB#6A0C87E6"
-d "C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\master.mdf"
-l "C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\mastlog.ldf"
-e "C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\error.log"
{Date} {Time} Server SQL Server detected 1 sockets with 4 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
{Date} {Time} Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
{Date} {Time} Server Detected 7113 MB of RAM. This is an informational message; no user action is required.
{Date} {Time} Server Using conventional memory in the memory manager.
{Date} {Time} Server Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
{Date} {Time} Server The maximum number of dedicated administrator connections for this instance is '1'
{Date} {Time} Server Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
{Date} {Time} Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
{Date} {Time} Server Software Usage Metrics is disabled.
{Date} {Time} spid8s Starting up database 'master'.
{Date} {Time} spid8s 24 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
{Date} {Time} spid8s 0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
{Date} {Time} Server CLR version v4.0.30319 loaded.
{Date} {Time} Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
{Date} {Time} spid8s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
{Date} {Time} spid8s SQL Server Audit has started the audits. This is an informational message. No user action is required.
{Date} {Time} spid8s SQL Trace ID 1 was started by login "sa".
{Date} {Time} spid8s Server name is '{ComputerName}\LOCALDB#6A0C87E6'. This is an informational message only. No user action is required.
{Date} {Time} spid14s Server local connection provider is ready to accept connection on [ \\.\pipe\LOCALDB#6A0C87E6\tsql\query ].
{Date} {Time} spid14s Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.
{Date} {Time} spid8s Error: 17204, Severity: 16, State: 1.
{Date} {Time} spid8s FCB::Open failed: Could not open file E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf for file number 0. OS error: 3(The system cannot find the path specified.).
{Date} {Time} spid8s Error: 5120, Severity: 16, State: 101.
{Date} {Time} spid8s Unable to open the physical file "E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
{Date} {Time} spid12s Starting up database 'mssqlsystemresource'.
{Date} {Time} spid12s The resource database build version is 12.00.4100. This is an informational message only. No user action is required.
{Date} {Time} spid12s Starting up database 'model'.
{Date} {Time} spid12s Error: 17204, Severity: 16, State: 1.
{Date} {Time} spid12s FCB::Open failed: Could not open file E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\model.mdf for file number 1. OS error: 3(The system cannot find the path specified.).
{Date} {Time} spid12s Error: 5120, Severity: 16, State: 101.
{Date} {Time} spid12s Unable to open the physical file "E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
{Date} {Time} spid12s Error: 17207, Severity: 16, State: 1.
{Date} {Time} spid12s FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\modellog.ldf'. Diagnose and correct the operating system error, and retry the operation.
{Date} {Time} spid12s File activation failure. The physical file name "E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\modellog.ldf" may be incorrect.
{Date} {Time} spid12s Error: 945, Severity: 14, State: 2.
{Date} {Time} spid12s Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
{Date} {Time} spid12s SQL Server shutdown has been initiated
{Date} {Time} spid12s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
{Date}{Time}Server Microsoft SQL Server 2014-12.0.4100.1(X64)
2015年4月20日17:29:27
版权所有(c)微软公司
Windows NT 6.3(Build 9600:)上的Express Edition(64位)(虚拟机监控程序)
{Date}{Time}服务器UTC调整:10:30
{Date}{Time}服务器(c)微软公司。
{Date}{Time}服务器保留所有权利。
{Date}{Time}服务器进程ID为4392。
{Date}{Time}服务器系统制造商:{Manufacturer},系统模型:{Model}。
{Date}{Time}服务器身份验证模式是混合模式。
{Date}{Time}服务器将SQL Server消息记录在文件“C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\error.log”中。
{Date}{Time}服务器服务帐户为“{domain}\{user}”。这是一条信息性信息;不需要用户操作。
{Date}{Time}服务器命令行启动参数:
-c
-S“MSSQL12E.LOCALDB”
-s“LOCALDB#6A0C87E6”
-d“C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\master.mdf”
-l“C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\mastlog.ldf”
-e“C:\Users\{user}\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\error.log”
{Date}{Time}Server SQL Server检测到1个套接字,每个套接字4个内核,每个套接字4个逻辑处理器,总共4个逻辑处理器;使用基于SQL Server授权的4个逻辑处理器。这是一条信息性信息;不需要用户操作。
{Date}{Time}服务器SQL Server正在以正常优先级基数(=7)启动。这只是一条信息性消息。不需要用户操作。
{Date}{Time}服务器检测到7113MB的RAM。这是一条信息性信息;不需要用户操作。
{Date}{Time}服务器使用内存管理器中的常规内存。
{Date}{Time}服务器默认排序规则:SQL\u Latin1\u General\u CP1\u CI\u AS(us\u english 1033)
{Date}{Time}服务器此实例的最大专用管理员连接数为“1”
{Date}{Time}服务器节点配置:节点0:CPU掩码:0x000000000000000f:0活动CPU掩码:0x000000000000000f:0。此消息提供此计算机NUMA配置的说明。这只是一条信息性消息。不需要用户操作。
{Date}{Time}服务器使用动态锁分配。每个节点初始分配2500个锁块和5000个锁所有者块。这只是一条信息性消息。不需要用户操作。
{Date}{Time}服务器软件使用度量已禁用。
{Date}{Time}spid8s正在启动数据库“master”。
{Date}{Time}spid8s在数据库“master”(1:0)中前滚的24个事务。这只是一条信息性消息。不需要用户操作。
{Date}{Time}spid8s 0事务在数据库“master”(1:0)中回滚。这只是一条信息性消息。不需要用户操作。
{Date}{Time}已加载服务器CLR版本v4.0.30319。
{Date}{Time}服务器公共语言运行时(CLR)功能已使用CLR版本v4.0.30319从C:\Windows\Microsoft.NET\Framework64\v4.0.30319\初始化。
{Date}{Time}spid8s SQL Server审核正在启动审核。这是一条信息性消息。不需要用户操作。
{Date}{Time}spid8s SQL Server审核已开始审核。这是一条信息性消息。不需要用户操作。
{Date}{Time}spid8s SQL跟踪ID 1是由登录名“sa”启动的。
{Date}{Time}spid8s服务器名为“{ComputerName}\LOCALDB#6A0C87E6”。这只是一条信息性消息。不需要用户操作。
{Date}{Time}spid14s服务器本地连接提供程序已准备好接受[\\.\pipe\LOCALDB\6A0C87E6\tsql\query]上的连接。
{Date}{Time}spid14s专用管理员连接支持未启动,因为此版本的SQL Server上已禁用该支持。如果要使用专用管理员连接,请使用跟踪标志7806重新启动SQL Server。这只是一条信息性消息。不需要用户操作。
{Date}{Time}spid8s错误:17204,严重性:16,状态:1。
{Date}{Time}spid8s FCB::Open失败:无法打开文件号为0的文件E:\sql12\u main\u t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf。操作系统错误:3(系统找不到指定的路径。)。
{Date}{Time}spid8s错误:5120,严重性:16,状态:101。
{Date}{Time}spid8s无法打开物理文件“E:\sql12\u main\u t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf”。操作系统错误3:“3(系统找不到指定的路径)。”。
{Date}{Ti
Open command prompt
-> cd %localappdata%\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB
-> sqllocaldb delete mssqllocaldb
-> sqllocaldb create mssqllocaldb
-> sqllocaldb start mssqllocaldb