\u524d\u8a00<\/span><\/strong><\/span><\/p>\n \u90fd\u662f\u4e00\u4e9b\u57fa\u7840\u4e86\u4e0d\u80fd\u5728\u57fa\u7840\u4e86\u7684\uff0c\u9ad8\u624b\u6216\u72c2\u4eba\u4eec\u8bf7\u6f02\u8fc7\u3002<\/em><\/p>\n \u4e3b\u8981\u8bb2\u89e3\u5982\u679c\u4ece\u7a7a\u767d\u6765\u5b9e\u73b0C #\u8fde\u63a5SQL sever \u6570\u636e\u5e93\u3002<\/em><\/p>\n <\/p>\n \u65b0\u5de5\u4f5c\uff0c\u73b0\u5728\u53c8\u8f6c\u56de\u4e86C#\u7f16\u7a0b\u3002\u597d\u4e45\u6ca1\u6709\u78b0\u4e86\uff0c\u5475\u5475\u3002<\/p>\n \u5ba2\u6237\u9700\u6c42B\/S \u67b6\u6784\uff0c\u8bbf\u95eeSql server\u6570\u636e\u5e93\uff0c\u7528C#\u5b8c\u6210\u3002<\/p>\n \u5728\u7f51\u4e0a\u4e0b\u8f7d\u4e86\u4e00\u4e2aB\/S \u67b6\u6784\u7684\u6e90\u7801\u3002\u522b\u95ee\u6211\u5728\u54ea\uff0c\u6211\u4e0d\u4f1a\u8bf4\u662f\u5728http:\/\/d.download.csdn.net\/down\/\/anguanyu<\/p>\n \u6253\u5f00\u6587\u4ef6\u540e\uff0c\u5174\u594b\u4e2d\u3002\u3002\u3002\u3002\uff08\u53c8\u53ef\u4ee5\u521b\u65b0\u4e86\uff09\u3002<\/p>\n \u4e00\u3001\u5bfc\u5165\u95ee\u9898\uff1a<\/span><\/p>\n \u7528VS 2008 \u6253\u5f00\uff0c\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u6709\u95ee\u9898\u3002\u67e5\u95ee\u9898\u3002\u65e5\u5fd7\u8bf4\u76ee\u5f55\u95ee\u9898\u3002D:\\netpro\\business<\/p>\n \u4e8c\u79cd\u65b9\u6848\u53ef\u4ee5\u89e3\u51b3\uff1a \u5bfc\u5165\u6210\u529f\u3002<\/p>\n \u4e8c\u3001\u8fd0\u884c\u95ee\u9898\uff08\u610f\u6599\u4e2d\u7684\u9519\u8bef\uff09<\/span><\/p>\n \u524d\u63d0\uff1a\u4e4b\u524d\u673a\u5668\u4e0a\u53ea\u6709sql server 2005 express .\u57fa\u672c\u90e8\u5206\uff0c\u65e0\u5176\u4ed6\u3002VS2008\u6ca1\u6709\u4efb\u4f55\u6570\u636e\u5e93\u64cd\u4f5c\u3002<\/p>\n \u70b9\u51fb\uff1adebug,\u62bd\u70df\u7b49\u5f85\u4e2d\uff08\u54e6\uff0c\u6211\u4e0d\u62bd\u70df\uff09\u3002\u559d\u6c34\u7b49\u5f85\u4e2d\u3002\u3002\u5475\u5475\u7b49\u5f85\u9519\u8bef\u5440\u3002\u6570\u636e\u5e93\u4e5f\u6ca1\u6709\u5bfc\u5165\uff0cSQL\u670d\u52a1\u5668\u4e5f\u6ca1\u6709\u914d\u7f6e\u3002\u3002<\/p>\n \u51fa\u73b0\u9519\u8bef\u7801\uff0c\u5728default.aspx.cs 19\u884c\u3002 \u8bf4strcon\u4e0dOK\u3002<\/p>\n \u6b63\u662f\u5173\u4e8e\u6570\u636e\u5e93\u7684\u8fde\u63a5\u95ee\u9898\u3002<\/p>\n \u4e09\u3001\u914d\u7f6e\u6570\u636e\u5e93<\/span><\/p>\n \u8fd9\u662f\u4e00\u4e2a\u5f88\u9ebb\u70e6\u7684\u8fc7\u7a0b\u3002\u8981\u7528\u672c\u672c\u8bb0\u4e0b\u6765\u3002<\/p>\n 1. \u4e0b\u8f7dMicrosoft SQL Server Management studio express\u6765\u7ba1\u7406\u6570\u636e\u5e93\uff08\u61d2\u4eba\u5417\uff0c\u5c31\u8fd9\u6837\uff09<\/p>\n http:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&displaylang=zh-cn<\/p>\n \u8bb0\u5f97\u8981\u548c\u6240\u88c5sql server\u7684\u8bed\u8a00\u7248\u672c\u4e00\u6837\u3002\u4e0d\u7136\u4f1a\u62a5\u9519\u3002<\/p>\n \u6253\u5f00management studio express \u9009\u62e9windows authentication\u767b\u9646 \\.sqlexpress \u3002<\/p>\n 2.\u4fee\u6539\u670d\u52a1\u5668\u4e3a\u6df7\u5408\u767b\u5f55\u65b9\u5f0f\u3002<\/p>\n \u767b\u9646\u540e\u70b9\u670d\u52a1\u5668\u7684\u5c5e\u6027\u3002\u518d\u8bf4\u4e00\u904d\u670d\u52a1\u5668\u7684\u5c5e\u6027\u3002<\/p>\n<\/p>\n 3. \u9009\u62e9security.\u6309\u4e0b\u56fe\u8bbe\u5b9a\u3002<\/p>\n<\/p>\n \u5373\uff1a<\/p>\n server authentication : \u9009\u62e9 SQL server and windows authentication mode.<\/p>\n Login auditing: \u9009\u62e9 Both failed and successful logins.<\/p>\n OK.<\/p>\n 4. \u589e\u52a0sa \u7528\u6237<\/p>\n \u70b9\u51fb\u9879\u76ee\u91cc\u7684Security \u770b\u89c1sa \u70b9\u53f3\u952e\u5c5e\u6027\u3002<\/p>\n<\/p>\n \u5728General\u4e2d\u770b\u89c1\u6709password \u6700\u597d\u4e0d\u4e3a\u7a7a\u3002\u8fd9\u4e2a\u8981\u548c\u7a0b\u5e8f\u4e2d\u7684\u4e00\u81f4\u3002<\/p>\n<\/p>\n <\/p>\n \u7136\u540e\u5728status\u4e2d\u5c06\u5176\u4f7f\u80fd\u3002<\/p>\n<\/p>\n sa\u7528\u6237\u88ab\u589e\u52a0\u3002<\/p>\n 5.\u5bfc\u5165db_bookmanage\u6570\u636e\u5e93<\/p>\n \u8fd8\u662f\u5728sql server management express \u4e2d\u3002\u70b9Databases \u53f3\u952eattach .<\/p>\n<\/p>\n \u7136\u540e\u5bfc\u5165\u6211\u4eec\u7684\u6570\u636e\u5e93\u3002\u8fd9\u4eec\u5728\u670d\u52a1\u5668\u4e2d\u5c31\u6709db_bookmanage\u4e86\u3002<\/p>\n<\/p>\n 6.\u5f00\u542f\u8fdc\u7a0b\u8bbf\u95ee\u3002<\/p>\n \u8fd0\u884csql server configuration manager\u67e5\u770bsql server 2005 network configuration \u4e0b\u7684<\/p>\n protocols for SQLEXPRESS.<\/p>\n \u5f00\u542f named pipes \u548c TCP\/IP (\u5373enabled)\u3002<\/p>\n<\/p>\n sql server\u7684\u914d\u7f6e\u5de5\u4f5c\u5b8c\u6210\u3002<\/p>\n <\/p>\n 7.\u6e90\u6587\u4ef6\u4fee\u6539\u3002<\/p>\n \u7531\u4e8e\u8bbe\u5b9a\u4e86password \u90a3\u6e90\u6587\u4ef6\u4e2d\u7684web.config\u4e2d\u768412\u884c\u4e5f\u8981\u4fee\u6539<\/p>\n <add key=\"ccc\" value=\"Server=.\\SQLEXPRESS;User id=sa;pwd=1;DataBase=db_bookmanage\"><\/add><\/p>\n <\/p>\n OK \u6240\u6709\u4e1c\u897f\u90fd\u641e\u5b9a\uff0c\u6536\u5de5\u3002\u3002\u3002<\/p>\n \u770b\u770b\u6548\u679c\u3002<\/p>\n<\/p>\n \u4e0b\u4e00\u6b65\u5c31\u8981\u521b\u65b0\u4e86\u3002\u3002\u3002\u3002<\/p>\n<\/div>\n \u8f6c\u8f7d\u4e8e:https:\/\/www.cnblogs.com\/dengta_3\/archive\/2010\/10\/14\/1851443.html<\/p>\n","protected":false},"excerpt":{"rendered":"vs2010\u5982\u4f55\u8fde\u63a5sqlserver2008_sql server\u8fde\u63a5\u5de5\u5177\u524d\u8a00\u90fd\u662f\u4e00\u4e9b\u57fa\u7840\u4e86\u4e0d\u80fd\u5728\u57fa\u7840\u4e86\u7684\uff0c\u9ad8\u624b\u6216\u72c2\u4eba\u4eec\u8bf7\u6f02\u8fc7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4904"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=4904"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4904\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=4904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=4904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=4904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
1\u3001\u4fee\u6539.sln\u6587\u4ef6\uff0c\u5c06\u201cD:\\netpro\\business\u201d\u8f6c\u6210\u4f60\u7684\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u98ce\u9669\u5f88\u5927\uff0c\u6211\u6ca1\u8bd5\u3002
2\u3001\u76f4\u63a5\u5728D\u76d8\u5efa\u7acb\u4e00\u4e2a\u76ee\u5f55\uff0c\u628abusiness\u8003\u8fc7\u53bb\u3002\u98ce\u96690\u3002<\/p>\n