惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - aimar

常见的 Web 项目转换问题及解决方案(转载) 在VS2005 正确地创建、部署和维护由1.1迁移到ASP.NET 2.0 应用程序 ajax用户控件中读取session的问题 - aimar - 博客园 世界杯分组与赛程 可否在vs2005中开发asp.net1.1的项目? 试用了一下google的个性化主页 Asp.net WebControls基本概念 SqlServer2000的xml功能 DotNet2.0中上传文件 - aimar - 博客园 Oracle相关资源 关于使用存储过程的一些好处以及注意事项 DataGrid生成序号列 - aimar - 博客园 asp.net常用函数 Asp.Net2.0编译模式 Asp.Net2.0的改变 ASP.NET 2.0 Beta2中页面编译模型的变化 数据库访问程序块的效率问题 Rss应用(二) 抽取Rss Rss应用(一) 创建rss
连接sql2005
aimar · 2006-04-18 · via 博客园 - aimar

sql2005数据库和访问程序是无关的。dotnet1.1和dotnet2.0程序都可以访问,asp也可以使用,在使用时候需要设置连接

如果是在本机,连接方式为

Data Source=ZHANGQS\SQLEXPRESS;Initial Catalog=eSecurity;Integrated Security=SSPI;

或则

server=ZHANGQS\SQLEXPRESS;uid=dbadmin;pwd=123;database=eSecurity;

 1.  开启sql2005远程连接功能,开启办法如下,  
               配置工具-  >sql  server外围应用配置器-  >服务和连接的外围应用配置器-  >打开MSSQLSERVER节点下的Database  Engine  节点,先择  "远程连接  ",接下建议选择  "同时使用TCP/IP和named  pipes  ",确定后,重启数据库服务就可以了.  
           2.登陆设置改为,Sql  server  and  windows  Authentication方式同时选中,具体设置如下:  manage管理器-  >windows  Authentication(第一次用windows方式进去),-  >对象资源管理器中选择你的数据服务器--右键  >属性  >security  >Sql  server  and  windows  Authentication方式同时选中.  
           3:设置一个Sql  server方式的用户名和密码,具体设置如下:  
       manage管理器->windows  Authentication  >new  query  >sp_password  null,'sa123456','sa'    
       这样就设置了一个用户名为sa  ,密码为:sa123456的用户,下次在登陆时,可以用Sql  server方式,  
用户名为sa  ,密码为:sa123456的用户进数据库了.  
         4,写对连接字符串,格式如上

还有,默认情况下使用sa是不能登录的,因为限制了sa登录,在  security  中选中sa,右键,status中设置login为enable,允许登录即可。