% Option Explicit ' ' $Id: errorInSetup.asp,v 1.1.1.1 2003/03/09 22:45:57 peter Exp $ ' ' ' ' @author Peter Theill peter@theill.com ' %>
initialization failed
It seems like you are missing a small critical step. In order to make this chat work you will have to open and modify your "global.asa" file. This file contains information about global objects necessary for ConquerChat to run properly.
<% ' does user have a "global.asa" file already? Dim globalAsaAvailable Dim fs, readme Dim filename: filename = Server.MapPath("/global.asa") Set fs = Server.CreateObject("Scripting.FileSystemObject") globalAsaAvailable = fs.FileExists(filename) If (globalAsaAvailable) Then ' show currently available global.asa file ' Set readme = fs.OpenTextFile(filename) ' Response.Write("") ' Do While (NOT readme.AtEndOfStream) ' Response.Write(Server.HTMLEncode(readme.readLine) & "") ' readme.Close Else ' user does not have a global.asa file ' Set readme = fs.GetFile(Server.MapPath("global.asa")) ' readme.Copy(filename) End If Set fs = Nothing %>
") ' Loop ' Response.Write("
<% If (globalAsaAvailable) Then %>
It seems like your system already have a "global.asa" file in the root of
your web server. You should open this file with your favourite text-editor
and paste in these lines exactly as show below. Paste the lines into the
beginning or end of your files to avoid problems.
<OBJECT RUNAT=Server SCOPE=Application ID=conquerChatUsers PROGID="Scripting.Dictionary"> </OBJECT> <OBJECT RUNAT=Server SCOPE=Application ID=conquerChatRooms PROGID="Scripting.Dictionary"> </OBJECT> <OBJECT RUNAT=Server SCOPE=Application ID=conquerChatMessages PROGID="Scripting.Dictionary"> </OBJECT><% Else %> Your system does not have a "global.asa" file. Take the file from your "conquerchat" directory and copy it to the root of your web server. It's very important since IIS won't use the settings if it's not located in this folder. <% End If %>
If you still cannot get the chat to run after having performed the steps above, please take a look at the ConquerChat FAQ or ask in the ConquerChat Forum.
System-details:
Scripting Type: <%= ScriptEngine %>
Scripting Version: <%= ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion & "." & ScriptEngineBuildVersion %>
Browser: <%= Request.ServerVariables("HTTP_USER_AGENT") %>