Click here to Skip to main content
15,884,353 members
Articles / Web Development / HTML

ASP.NET Reports Starter Kits Porting from Windows to Linux (Race to Linux)

Rate me:
Please Sign up or sign in to vote.
3.30/5 (4 votes)
30 Sep 20055 min read 33.7K   19  
ASP.NET Reports Starter Kit Porting from Windows to Linux using Mainsoft's Grasshopper
@ECHO OFF

REM Change the ROOT_PATH to point to the location where RPT.exe is located  
@SET ROOT_PATH = "C:\Program Files\ASP.NET Starter Kits"

REM %1 Target Directory (local path on this local IIS server)
REM %2 Existing web site on Local IIS Server
REM %3 Name of Virtual Directory to create for Reports Application (existing one will be modified)
REM %4 Database Name on local DB server
REM %5 SQL user name for %4 as db owner
REM %6 SQL password for user specified by %5
REM %7 SQL "sa" password

IF x==%1x GOTO USAGE
IF x==%2x GOTO USAGE
IF x==%3x GOTO USAGE
IF x==%4x GOTO USAGE
IF x==%5x GOTO USAGE
IF x==%6x GOTO USAGE
IF x==%7x GOTO USAGE

@cd  %ROOT_PATH%

@call RPT.exe INSTALL_OPTION=FULL WEB_FILES_DIR="ReportsWebVBVS" DB_FILES_DIR="SQL Scripts" TARGET_DIR=%1 IIS_SERVER=localhost WEB_SITE=%2 VDIR=%3 DB_CONNECTION=SQL DB_SERVER=localhost DB_NAME=%4 DB_OWNER_LOGIN=%5 DB_OWNER_PWD=%6 SQL_ADMIN_USER=SA SQL_ADMIN_PWD=%7 LOG_FILE=installLog.txt
GOTO END

:USAGE
ECHO *******************************************************************************
ECHO * 
ECHO * Please edit the ROOT_PATH variable in LocalFullInstall.bat before running it
ECHO * 
ECHO * Usage:
ECHO *    LocalFullInstall.bat targetpath site webvdir mobilevdir
ECHO *                           dbname dbowner dbownerpwd sapwd
ECHO * 
ECHO *    targetpath   - Path where all the web files will be copied
ECHO *    site         - Existing web site on local IIS server
ECHO *    webvdir      - Virtual directory name for Reports Web
ECHO *    dbname       - Database name
ECHO *    dbowner      - SQL login for dbowner 
ECHO *    dbownerpwd   - dbowner password
ECHO *    sapwd        - SQL "sa" password
ECHO *    
ECHO *******************************************************************************
pause

:END

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect
Australia Australia
"Impossible" + "'" + " " = "I'm Possible"

Started programming when i was a kid with 286 computers and Spectrum using BASIC from 1986. There was series of languages like pascal, c, c++, ada, algol, prolog, assembly, java, C#, VB.NET and so on. Then shifted my intrest in Architecture during past 5 years with Rational Suite and UML. Wrote some articles, i was member of month on some sites, top poster(i only answer) of week (actually weeks), won some books as prizes, rated 2nd in ASP.NET and ADO.NET in Australia.

There is simplicity in complexity

Comments and Discussions