李洪根,MSMVP,标准答案来了:我找您!

applehuang2000 2003-10-18 11:44:50
怎样用Visual Basic .NET资源工具包?
我已经下载了,也安装了.就是不知它有何用?只知它更新了framework
...全文
105 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
lihonggen0 2003-10-18
  • 打赏
  • 举报
回复
http://localhost/vb.netresourcekit/readme.aspx
http://localhost/VB.NETResourceKit/Welcome.aspx
http://localhost/vb.netresourcekit/MSDE.aspx
http://localhost/vb.netresourcekit/ComponentOne.aspx
applehuang2000 2003-10-18
  • 打赏
  • 举报
回复
谢谢啦,我明白它是什么了.我一开始还以为它是一个类似VS.NET一样的开发工具.其实它像是MSND吧?

applehuang2000 2003-10-18
  • 打赏
  • 举报
回复
它里面的例子好像在vb.net101个例子那里也有的啊.有点明白了...
lihonggen0 2003-10-18
  • 打赏
  • 举报
回复
大部分的数据访问用到的是这两个数据库
Pubs
northwind


更多的代码在:
\Program Files\Visual Basic .NET Resource Kit\Application\Content
applehuang2000 2003-10-18
  • 打赏
  • 举报
回复
您可以说一下它的作用主要是做什么的吗?
lihonggen0 2003-10-18
  • 打赏
  • 举报
回复
你必须保证网页可以访问这两个数据库
applehuang2000 2003-10-18
  • 打赏
  • 举报
回复
英语只有二级,很难理解... :(
lihonggen0 2003-10-18
  • 打赏
  • 举报
回复
需要在sql server里加入两个数据库

其脚本在:
Program Files\Visual Basic .NET Resource Kit\Application\ConfigureNetSDK


使用的两个数据库是:
Pubs
northwind
lihonggen0 2003-10-18
  • 打赏
  • 举报
回复
Microsoft Visual Basic .NET 2003 Resource Kit Database Configuration Details

Step 1: Install MSDE

In order for the database access samples to function properly, a named instance of Microsoft SQL Server 2000 Desktop Engine (MSDE) is required. To download and install the Microsoft SQL Server 2000 Desktop Engine, please follow the instructions on the Microsoft .NET Framework SDK MSDE help page.

Without MSDE installed, some code samples and starter kits may not be available.

Step 2: Add the SQL Server Database to SQL Server

Two databases are used throughout the resource kit: The two SQL demo databases: Pubs and NorthWind.

To install the two demo databases, please run the ConfigureNetSDK batch file.
Step 3: Grant Access to the ASPNET user

The ASP.NET process runs under a specific account. In order for the data access samples to access the database, this account must be granted rights to the sample databases. If the operating system is part of the Windows Server 2003 family the ASP.NET process runs under NT AUTHORITY\NETWORK SERVICE account. In all other cases it runs under MACHINENAME\ASPNET account.

For Windows Server 2003 family systems running IIS 6.0, please run the ConfigureNSUser batch file.
For all other cases, please run the ConfigureASPUser batch file.

Troubleshooting

Starting MSDE

The Resource Kit samples that demonstrate database access require that MSDE is started. If MSDE is stopped, most samples will throw a, "Timeout expired" or "SQL Sever does not exist or access denied" error. To start MSDE:

From the command line, type:

net start MSSQL$NetSDK

Pre-Existing Data Files

If database files with the same filename already exist on the hard drive, the samples configuration utility will not overwrite/replace these files. You could get the following error message.

揝etup failed to configure the server. Refer to the server error logs and setup error logs for more information:?

There are two ways to correct this problem:

1. Delete or rename the following files from the C:\Program Files\Microsoft SQL Server\MSSQL$NetSDK\Data directory.
Pubs.mdf
Pubs_log.ldf
northwind.mdf
northwind.ldf
2. Complete the instructions outlined in the Add the SQL Server Databases to SQL Server and Grant Access to the ASPNET user sections above.


16,550

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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