由买买提看人间百态

topics

全部话题 - 话题: sspi
(共0页)
x****9
发帖数: 2
1
下面两行程序在console application上运行成功,但在web service proxy里面却不行。
为什么?
SqlConnection ucidConn = new SqlConnection("Data Source=localhost\\MYSQLENGINE
; database=xxx; Integrated Security=SSPI;Initial Catalog=xxx");
ucidConn.Open();
in proxy: (suppose above codes is class A method B)
[WebMethod]
a = new A();
a.B()
结果抛出异常:
System.Data.SqlClient.SqlException: Login failed for user 'ItIsMe'.
如果用管理员账户,即用uid=sa;pwd=;代替Integrated Security=SSPI,则是:
System.Data.SqlClient.SqlException: Login failed for user 'sa'.
y*****g
发帖数: 677
2
I am using sql server 2008 R2 management studio,
whenever I connect to remote sql server,
I always get "cannot generate SSPI context",
I uninstalled and reinstalled the studio, still didn't work.
Is something wrong with my windows AD account?
I am using Windows authentication.
Can somebody help?
L*********r
发帖数: 92
3
来自主题: DotNet版 - ASPNET 访问SQL Server 2005 被拒
You should get clear about this issue after reading the following link.
The approach 3 (SSPI) is the regular way unless you have other consideration.
http://msdn2.microsoft.com/en-us/library/ms998292.aspx
w***s
发帖数: 2
4
30天试用。把hotmail的信转到另一个帐户再pop3。
记得选择“保留原来帐户邮件”,以防万一.
http://www.sspi-software.com/mailfwd_win.html
D***a
发帖数: 516
5
amp抗性的质粒可以选择scaI或PvuI
kan抗性的可以选择puvI,NruI或SspI
都是细菌抗性基因上的位点。
q**j
发帖数: 10612
6
来自主题: Statistics版 - RODBC package
This is my code for connecting to sql 2005
library(RODBC)
Connection = odbcDriverConnect("Driver=SQL Server;Server=;
Initial Catalog=;Integrated Security=SSPI;UID=;PWD="
)
Q = paste("your statements",
sep = "")
Link = sqlQuery(Connection,Q)
close(Connection)
(共0页)