菜鸟问题:用户 'sa' 登录失败。原因: 未与信任 SQL Server 连接相关联。连接字符串属性无效

starpacific 2004-04-15 11:36:08
是哪个环节出了问题?请指教
...全文
288 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
lihongyue 2004-04-16
  • 打赏
  • 举报
回复
应该是改为SQL和Windows混合验证
zhugefen 2004-04-16
  • 打赏
  • 举报
回复
估計是密碼的錯誤,最好能貼上連接字符串
zhjboss 2004-04-16
  • 打赏
  • 举报
回复
重装时改为sql验证和window混合验证
gengwei80 2004-04-16
  • 打赏
  • 举报
回复
改为sql验证和windows混合验证
zhjboss 2004-04-16
  • 打赏
  • 举报
回复
最快就是重装,我以前也是这样,总是不行的,我重装时用sql验证就行了
erist 2004-04-16
  • 打赏
  • 举报
回复
绝大多数是因为验证方式是windows验证

改为sql验证和windows混合验证
sukey00 2004-04-16
  • 打赏
  • 举报
回复
估计你的SQL密码错了
pengxj001 2004-04-16
  • 打赏
  • 举报
回复
就是这样,改了,就对了,可是我不知道为什么他又出现新的问题啊
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
怎么解决阿?
chenfl 2004-04-15
  • 打赏
  • 举报
回复
在 "server=xxx;database=xxx;"後加一 Integrated Security=true;試試看!
wtadminxjeri 2004-04-15
  • 打赏
  • 举报
回复
绝大多数是因为验证方式是windows验证

改为sql验证和windows混合验证
steventone 2004-04-15
  • 打赏
  • 举报
回复
UP
lllyg 2004-04-15
  • 打赏
  • 举报
回复
你需要用sa登陆连接后才有效,
我也遇到过,在企业管理其中,选择数据库,选属性,选安全性,身份验证,选sql server 和windows,就可以了,
酋长 2004-04-15
  • 打赏
  • 举报
回复
1。数据库没有连上
2。sa需要密码才能登陆

62,266

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧