Difference between revisions of "Installation"
(→SQL Server) |
(→Register License) |
||
Line 60: | Line 60: | ||
The web.zip filename is preceded by "dbs" + date + version. | The web.zip filename is preceded by "dbs" + date + version. | ||
+ | |||
+ | == Configuration == | ||
+ | |||
+ | === Update Notifications === | ||
+ | |||
+ | dbscript 0.99 introduces Update Notifications. This feature fetches information about new versions of dbscript from update.devio.at. | ||
+ | |||
+ | By default, the information is fetched by client-side Javascript. | ||
+ | |||
+ | You can configure the update notification behavior by setting the UpdateMode column in the Configuration table to: | ||
+ | |||
+ | 0 ... client side fetch | ||
+ | 1 ... server side fetch (the IIS machine needs to have connection to the Internet) | ||
+ | -1 .. disabled | ||
+ | |||
+ | In Internet Explorer, client-side update fetch may lead to a security warning about accessing a different website from script. | ||
+ | |||
+ | To avoid the message, add update.devio.at to a zone that allows cross-domain access. See this [http://support.microsoft.com/kb/829934 MSDN KB entry] for more information. | ||
== Register License == | == Register License == |
Revision as of 07:26, 21 October 2009
Contents
Server Requirements
- IIS running on Windows 2000 or higher.
- ASP.Net 2.0
- MS Ajax Control Toolkit
- SQL Server 2000 or higher
- ODP.Net from Oracle Data Access Components 11g (only if Oracle functionality is required)
Installation
SQL Server
Open Enterprise Manager (SQL 2000) or SQL Management Studio (SQL 2005+)
- Create a database (select a case-insensitive collation such as Latin1_General_CI_AS)
- In the database, run the scripts:
- Create.sql
- Initialize Users.sql
- Value Script.sql
- Code Snippet.sql
(The names of the sql scripts are preceded by "dbs" plus the version number)
The Users table contains one record with the ID "Administrator". You can change the ID to your desired username to log in to the application.
SQL Server must allow SQL Server authorization.
Create a database login:
- SQL Server authorization
- no password policy
- allow dbo access to the database.
IIS Server
- Create a directory, virtual directory, or website in IIS Administrator
- Extract web.zip into the directory
- Copy web.config into the directory
- Locate the connection string in web.config and adjust server name, catalog, username, and password.
The web.zip filename is preceded by "dbs" + date + version.
Upgrade
SQL Server
Open Enterprise Manager (SQL 2000) or SQL Management Studio (SQL 2005+) and locate the existing dbscript database.
- Open a query window in the database and run the scripts
- database upgrade script named "dbs" + new version + "from" + old version + ".sql"
- Value Script.sql
- Code Snippet.sql
IIS Server
Extract the contents of web.zip into the web application directory.
The web.zip filename is preceded by "dbs" + date + version.
Configuration
Update Notifications
dbscript 0.99 introduces Update Notifications. This feature fetches information about new versions of dbscript from update.devio.at.
By default, the information is fetched by client-side Javascript.
You can configure the update notification behavior by setting the UpdateMode column in the Configuration table to:
0 ... client side fetch 1 ... server side fetch (the IIS machine needs to have connection to the Internet) -1 .. disabled
In Internet Explorer, client-side update fetch may lead to a security warning about accessing a different website from script.
To avoid the message, add update.devio.at to a zone that allows cross-domain access. See this MSDN KB entry for more information.
Register License
- Start your webbrowser and navigate to the URL of your installation
- Login using the selected username without password
- Navigate to Settings, upload you license key file