佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 2275|回复: 37

MS SQL 2005 login problem

[复制链接]
发表于 12-10-2007 01:31 PM | 显示全部楼层 |阅读模式
请问如何identify server name?
回复

使用道具 举报


ADVERTISEMENT

发表于 12-10-2007 03:34 PM | 显示全部楼层
原帖由 html 于 12-10-2007 01:31 PM 发表
请问如何identify server name?

你是说如何为SQLServer取InstantName吗?
还是要找出在你的network有多少个SQL Server?
还是你不知道要在Connect To Server里面打些什么?

[ 本帖最后由 天下人管天下事 于 12-10-2007 03:36 PM 编辑 ]
回复

使用道具 举报

发表于 12-10-2007 03:42 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 03:34 PM 发表

你是说如何为SQLServer取InstantName吗?
还是要找出在你的network有多少个SQL Server?
还是你不知道要在Connect To Server里面打些什么?

by default installation,如果你只有安装一个database server,你只需要在Server的TextBox里面输入
(local)
或你的
电脑名字,
或一个点
.

127.0.0.1
或你的
Ipaddress
,就可以了。
回复

使用道具 举报

 楼主| 发表于 12-10-2007 04:46 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 03:34 PM 发表

你是说如何为SQLServer取InstantName吗?
还是要找出在你的network有多少个SQL Server?
还是你不知道要在Connect To Server里面打些什么?


i want to noe how to 为SQLServer取InstantName
回复

使用道具 举报

 楼主| 发表于 12-10-2007 04:48 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 03:42 PM 发表

by default installation,如果你只有安装一个database server,你只需要在Server的TextBox里面输入
(local),
或你的
电脑名字,
或一个点
.

127.0.0.1
或你的
Ipaddress
,就可以了。


i tried  edi cannot ..give me this message

TITLE: Connect to Server
------------------------------
Cannot connect to local.
------------------------------
ADDITIONAL INFORMATION:
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
回复

使用道具 举报

发表于 12-10-2007 04:51 PM | 显示全部楼层
原帖由 html 于 12-10-2007 04:48 PM 发表


i tried  edi cannot ..give me this message

TITLE: Connect to Server
------------------------------
Cannot connect to local.
------------------------------
ADDITIONAL INFORMATION:
An e ...

那个database server不是在你的电脑,对不对?
回复

使用道具 举报

Follow Us
发表于 12-10-2007 05:00 PM | 显示全部楼层
原帖由 html 于 12-10-2007 04:48 PM 发表


i tried  edi cannot ..give me this message

TITLE: Connect to Server
------------------------------
Cannot connect to local.
------------------------------
ADDITIONAL INFORMATION:
An e ...

what is the authentication u use?
windows authentication or SQL Server Authentication?
and i saw your message, u should put (local) instead of put local
if u not sure what is your database server name,open command prompt and type
slqcmd -L
this command will list out all available database server in your LAN.
回复

使用道具 举报

 楼主| 发表于 12-10-2007 05:10 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 04:51 PM 发表

那个database server不是在你的电脑,对不对?


i installed in my computer n used its as the database server
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 12-10-2007 05:12 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 05:00 PM 发表

what is the authentication u use?
windows authentication or SQL Server Authentication?
and i saw your message, u should put (local) instead of put local
if u not sure what is your database s ...



window authentication..
i try to put (local) oso cannot ....
回复

使用道具 举报

 楼主| 发表于 12-10-2007 05:26 PM | 显示全部楼层
i used my computer name as server name.. then come out this error msg

TITLE: Connect to Server
------------------------------
Cannot connect to adminhea-7d0fe1..
------------------------------
ADDITIONAL INFORMATION:
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
回复

使用道具 举报

发表于 12-10-2007 05:28 PM | 显示全部楼层
原帖由 html 于 12-10-2007 05:26 PM 发表
i used my computer name as server name.. then come out this error msg

TITLE: Connect to Server
------------------------------
Cannot connect to adminhea-7d0fe1..
--------------------------- ...

pls open commmand prompt and type this statement, after that tell me what is the result!
sqlcmd -L
回复

使用道具 举报

 楼主| 发表于 12-10-2007 05:29 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 05:28 PM 发表

pls open commmand prompt and type this statement, after that tell me what is the result!
sqlcmd -L
:loveliness:



servers: (blank)
回复

使用道具 举报

阿牙木 该用户已被删除
发表于 12-10-2007 05:30 PM | 显示全部楼层
哦,你用SQL SERVER 2005 EXPRESS吗?
如果是的话,那个SERVER NAME是 .\SQLEXPRESS

还有要确定你的SQL SERVER EXPRESS在SERVICES.MSC里有在跑.
回复

使用道具 举报

发表于 12-10-2007 05:34 PM | 显示全部楼层
原帖由 html 于 12-10-2007 05:29 PM 发表



servers: (blank)

then i think u not start your SQL server services!
open command prompt, type
services.msc
looking for SQL server (MS SQL Server)
after that start the services.
回复

使用道具 举报

 楼主| 发表于 12-10-2007 05:35 PM | 显示全部楼层
原帖由 阿牙木 于 12-10-2007 05:30 PM 发表
哦,你用SQL SERVER 2005 EXPRESS吗?
如果是的话,那个SERVER NAME是 .\SQLEXPRESS

还有要确定你的SQL SERVER EXPRESS在SERVICES.MSC里有在跑.


yeh i'm using sql server 2005 express.. i tried .\SQLEXPRESS oso cannot...
how to 确定SQL SERVER EXPRESS在SERVICES.MSC里有在跑
回复

使用道具 举报

发表于 12-10-2007 05:38 PM | 显示全部楼层
原帖由 html 于 12-10-2007 05:35 PM 发表


yeh i'm using sql server 2005 express.. i tried .\SQLEXPRESS oso cannot...
how to 确定SQL SERVER EXPRESS在SERVICES.MSC里有在跑

the command
sqlcmd -L
is used to browse all the available sql server services. from your command prompt output,it show that none of one sql server is running. to start the services, just go to Control Panel>Administrative > Services. loooking for SQL Server(SQL Express) and start it!
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 12-10-2007 05:40 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 05:34 PM 发表

then i think u not start your SQL server services!
open command prompt, type
services.msc
looking for SQL server (MS SQL Server)
after that start the services.



i open the services page but cannot find sql server
回复

使用道具 举报

发表于 12-10-2007 05:43 PM | 显示全部楼层
原帖由 html 于 12-10-2007 05:40 PM 发表



i open the services page but cannot find sql server

now go to Start>All Program>Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager
find for SQL Server 2005 Services, looking for SQL Server (SQL Express), if found, start the services
回复

使用道具 举报

 楼主| 发表于 12-10-2007 05:47 PM | 显示全部楼层
原帖由 天下人管天下事 于 12-10-2007 05:43 PM 发表

now go to Start>All Program>Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager
find for SQL Server 2005 Services, looking for SQL Server (SQL Express), if found, st ...



i found sql server 2005 services, when i double clik it .. it show

                   there are no items to show in this view  
回复

使用道具 举报

发表于 12-10-2007 06:53 PM | 显示全部楼层
原帖由 html 于 12-10-2007 05:47 PM 发表



i found sql server 2005 services, when i double clik it .. it show

                   there are no items to show in this view  


可以放 screenshots 上来吗?
我看你讲的不大清楚, 他们要帮你也不容易

[ 本帖最后由 hcong85 于 12-10-2007 07:02 PM 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 23-12-2025 02:22 AM , Processed in 0.133016 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表