易截截图软件、单文件、免安装、纯绿色、仅160KB

解决SQL Server 1069错误:登录失败

SQL Server 服务由于登录失败而无法启动
1.症状
在重新启动 SQL Server、SQL Executive 或 SQL Server Agent 时,可能无法启动该服务,并显示以下错误信息:
Error 1069:The service did not start due to a logon failure.
或者
错误 1069:由于登录失败而无法启动服务
2.原因
SQL Server、SQL Agent 或 SQL Server Executive 启动服务帐户的密码不正确,因为密码可能已被更改了。
3.替代方法
若要解决此问题,请在 SQL Server 主机的 Microsoft SQL Server 服务帐户中键入正确的密码。
1) 若要在 Microsoft Windows 2000 Server 和 Microsoft Windows XP 中更正该密码,请按照下列步骤操作:
1.
单击开始
,指向设置
,然后单击控制面板

2.
双击管理工具
,然后双击服务

3.
双击 MSSQLSERVER
,然后单击登录
选项卡。
4.
在密码和确认密码
文本框中键入正确的密码,然后单击确定

2) 若要在 Microsoft Windows NT 4.0 中更正该密码,请按照下列步骤操作:
1.
单击开始
,指向设置
,然后单击控制面板

2.
双击服务
,然后双击 MSSQLSERVER

3.
在密码和确认密码
文本框中键入正确的密码,然后单击确定

注意:
通过 Services 小程序更改该密码使 SQL Server 可以成功重新启动;但是,如果安装了 Microsoft 搜索(全文搜索服务),则它要求通过 SQL 企业管理器 (SEM) 进行随后的密码更改。
以下一节摘自 SQL Server 2000 联机图书:
“After changing the SQL Server service account
information in Control Panel, you must also change the SQL Server
service account in SQL Server Enterprise Manager.This allows the
service account information for Microsoft Search service to remain
synchronized as well. Important:Although the Microsoft Search
service is always assigned to the local system account, the full-text
search engine tracks the SQL Server service account in
Windows.Full-text search and failover clustering are not available if
Windows password changes are not reset using SQL Server Enterprise
Manager.”
(在控制面板中更改 SQL Server 服务帐户信息后, 您还必须在 SQL Server 企业管理器中更改 SQL
Server 服务帐户. 这样, 用于 Microsoft 搜索服务的服务帐户信息也会保持同步。重要说明: 尽管将 Microsoft


相关文档:

SQL 2000 与 SQL 2005 兼容问题

 装了SQL2000后安装SQL2005,虽然使用别名加以区别了,但发现2005中没有可供访问的类似企业管理器,一时冲动,卸了2000,完整安装了2005,发现还是没有企业管理器,搜索过后才发现需要安装SQLServer2005_SSMSEE.msi(即SQLServerManagerStudioExpressEdition),它提供了类似企业管理器的图形化操作界面。
装好后,SQL ......

使用Oracle的DBMS_SQL包执行动态SQL语句

 在某些场合下,存储过程或触发器里的SQL语句需要动态生成。Oracle的DBMS_SQL包可以用来执行动态SQL语句。本文通过一个简单的例子来展示如何利用DBMS_SQL包执行动态SQL语句:
DECLARE
       v_cursor NUMBER;
       v_stat NUMBER;
  & ......

用sql写小计和合计

select case when b.name is null and c.name is null then '合计' when b.name is null and c.name is not null then '小计' else b.name end as mtrname,
sum(a.number),c.name as cname from x_sell a join x_material b on a.mtr=b.fid join p_organi c on c.fid=a.customer
where a.stime>'2009-10-01'
GROUP B ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号