Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > must declare the variable '@hostname'
 

must declare the variable '@hostname'

I guess it must be silly in my environment (I'm not a "heavy" developper) but I get the following error message when doing a MSI install of the server or the source environment...

must declare the variable '@hotsname' 

I tried command line MSI install but without much success

msiexec /i taskvisionsource_1.1.0.0.msi hostname="CBEZENCO01"


Any idea where shall I look ?

(PS I have VS.Net and VS.Net 2003 Beta installed on my XP machine. MSDE is running).
MigrationUser 1  Wednesday, February 12, 2003 6:44 AM
This is a bug in the .sql script within the MSI that is executed against the database. The variable is case sensitive and I found it declared as @hostName (or something like that). To see what I'm talking about, go to the subfolders where it was installed (Program Files\TaskVision) and look for .sql files. 
MigrationUser 1  Wednesday, February 12, 2003 8:38 PM
I have the same problem. But the after the error message box apears with this message the instaler cleans the directory where were it was installing.

What can I do?
MigrationUser 1  Friday, March 28, 2003 4:33 AM

The real simple solution formust declare the variable '@hostname'

this error comes about because your sql server is set to be case sensetive. in the script the variable declared is @hostName not @hostname note the difference in capital N and n. the solution is to reinstall your sql with default settings or change the colletion to SQL_Latin1_General_CP1_CI_AI. you can do this by running

start /wait <dvd path>\setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=password SQLCOLLATION=SQL_Latin1_General_CP1_CI_AI

make sure you run tis command from 'setup bootstrap' folder. you do this by typing cdm at command prompt then using cd command to navigate to 'setup bootstrap' folder. If you have sql2000 you need to reinstall.

vatozanab  Thursday, May 10, 2007 5:54 AM
It might be an open door but: The errormessage indicates that you declare the variable as hotsname not hostname
Rogier van de Roer  Wednesday, June 06, 2007 1:47 PM

You can use google to search for other answers

Custom Search

More Threads

• Terrarium RTC Chat in Beta!
• Terrarium - new user
• æ— æ³•打开文件 C:\Program Files\Terrarium Server [Beta 1]\\website\chartdata\33b4a0ad-aefb-4661-8e5b-7152b87f0ecc.gif 以进行导出ã€
• The server is not responding. Please try again.
• How to get the latest version
• To work with Autocomplete
• Documentation links
• printing textbox in a customize paper size
• Not so smooth re-introduction of Terrarium
• Altering Task Vision Source