林木林地登记管理办法:vsi文件是个什么东西,怎么解开用

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 17:18:27
vsi文件是个什么东西,怎么解开用

1,vsi是什么格式的文件?
从网上下载到的安装文件是vsi格式的,右键点击,可以看出vsi是“VSContentInstaller”文件,打开,自动安装到my documents的相应子目录中。但是,这时不要去解压该目录中的文件。vsi只所以方便,就是它可以在VS2005中循file->new->website就可以看到想要打开的项目了。

2,要运行该项目别忘了修改asp_data目录的权限,给aspnet用户加上写权限。

3,如何将数据由默认的文件指向sql server 2000?
缺省情况下,这几个项目的数据均存放在asp_data目录中的 mdf文件中,到asp.net的论坛上看到下面的帖子,遵循以下的方法可以将其改为存放在sql server中。

1,Create a blank database in SQL 2000 using enterprise manager called CLUB

2, Download ClubAdd.exe from http://www.microsoft.com/downloads/details.aspx?FamilyId=0DD83A11-6980-4951-A192-DA6EACC6A19E&displaylang=en (对personal web site来说,微软网站上也有相应的脚本文件可以下载)
Run ClubAdd.exe and it will spit out a file called club-add.sql and a Eula.txt file
Run the club-add.sql file in query analyser against your newly created database
This will create the necessary tables for you.

3,别忘了用aspnet_regsql.exe程序生成带有高级特性的aspnetdb库,该程序在\WINDOWS\Microsoft.NET\Framework\v2.0.50215中。You may need to add the aspnetdb for storing profiles if you have not already done this. I performed this as follows:
Create a blank database in SQL 2000 using enterprise manager called ASPNETDB
Run aspnet_regsql.exe from the .net framework install directory
This produces a wizard the allows you to populate and register the ASPNETDB for asp.nets use
This will create the profile database structure for you

4,然后再修改web.config中的数据配置节。
You will need to then change the database connection strings in the web.config of the club site to match the above two databases. Using the example database names above and the example server name of "DEVSQL01" with a "sa" login and a "yourpassword" password i performed this as follows:

My connection strings portion of the web.config now looks as follows:

That should then give you connectivity