温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:NetShopForge网上商店程序(VB)源码
当前文件路径:NetShopForge/Website/Install/Help.aspx

1<%@ Page Language="vb" AutoEventWireup="true" CodeFile="Help.aspx.vb" Inherits="Install_Help" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>Creating Your Database</title> 8
</head> 9
<body margin="10px"> 10
<form id="form1" runat="server"> 11
<div style="padding:20px;"> 12
<h4>How do I create my database?</h4> 13
<a href="default.aspx">Back</a> 14
<p> 15
The first step to working with SQL Express is to have a tool that is designed to 16
do just that. You can get the SQL Management Studio Express tool for free from here:<br /> 17
<br /> 18
<a href="http://msdn.microsoft.com/vstudio/express/sql/download/">http://msdn.microsoft.com/vstudio/express/sql/download/</a><br /> 19
<br /> 20
Make sure that you select an installation with the Management Express tool.</p> 21
<p> 22
When SP1 and the tools are installed, open up SQL Management Studio and connect 23
to your local Express Server. This will most likely be "localhost\SQLEXPRESS". Use 24
Windows Authentication.</p> 25
<p> 26
To add a database, just right click on Databases and select "<strong>New Database</strong>". 27
Name it something like "<strong>CSK2</strong>".</p> 28
<p> 29
<img src="../images/Help/dbsetup_1gif.gif" /> </p> 30
<p> 31
You need to let the ASP worker process, which is the identity that ASP runs under, 32
have "owner" permissions of these databases. To do this, drop open the new database 33
and go to the security folder. Right-click and select "New/User". A dialog will 34
pop up asking you for a name and rights assignments. 35
</p> 36
<p> 37
Your ASP worker process should be named one of two things - on most Windows XP machines 38
this process is named "[MACHINENAME]\<strong>ASPNET</strong>". On servers and other 39
XP machines, this process is called "[MACHINENAME]\<strong>NETWORK SERVICE</strong>". 40
Select one of these names, and enter that name in both the Username and Login Box:</p> 41
<p> 42
<img src="../images/Help/dbsetup_2gif.gif" /> </p> 43
<p> 44
Finally, add this new user to the role of db_owner. This will allow for the creation 45
of tables and SPs, and the execution of those SPs.</p> 46
<p> 47
</p> 48
<p> 49
</p> 50
<p> 51
</p> 52
53
54
55
56
57
58
59
</div> 60
</form> 61
</body> 62
</html> 63



