|
查看: 2275|回复: 37
|
MS SQL 2005 login problem
[复制链接]
|
|
|
|
请问如何identify server name? |
|
|
|
|
|
|
|
|
|
|
发表于 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 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不是在你的电脑,对不对? |
|
|
|
|
|
|
|
|
|
|
发表于 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 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 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! |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 12-10-2007 05:40 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 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 编辑 ] |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|