I have CallManager 3.2 and 7940 & 7960 phones. I must of did something with my IIS settings because I can not get the services and information buttons on the phone to work. I keep getting:
<font face="Arial" size=2>error '80028026</font>
<p>
<font face="Arial" size=2>Element not found.</font>
<font face="Arial" size=2>/CCMCIP/global.asa</font>
<font face="Arial size=2>line 34</font>
Here is the the global.asa file. I did not make any changes. Thanks in advace for any assistance you can provide.
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
'You can add special event handlers in this file that will get run automatically when
'special Active Server Pages events occur. To create these handlers, just create a
'subroutine with a name from the list below that corresponds to the event you want to
'use. For example, to create an event handler for Session_OnStart, you would put the
'following code into this file (without the comments):
'Sub Session_OnStart
'**Put your code here **
'End Sub
'EventName Description
'Session_OnStart Runs the first time a user runs any page in your application
'Session_OnEnd Runs when a user's session times out or quits your application
'Application_OnStart Runs once when the first page of your application is run for the first time by any user
'Application_OnEnd Runs once when the web server shuts down
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript RUNAT=Server>
function Application_OnStart()
{
Application.Lock();
Application("numSessionCount") = 0; // init. to 0
try {
var AuPairComObj = new ActiveXObject("AUPAIR.COMAupair.1");
Application("IISMonCookie") = AuPairComObj.RegisterIISApp();
Application("AuPair") = AuPairComObj;
}
catch (err)
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
Application.UnLock();
}
function Session_OnStart()
{
var dirPath = Request.ServerVariables("APPL_MD_PATH").Item;
Application.Lock();
Application("virDirPath") = dirPath;
Application("numSessionCount") = Application("numSessionCount") + 1;
if ( 1 == Application("numSessionCount") ) // first time
{
try {
var AuPairComObj = Application("AuPair");
AuPairComObj.KeepIISApp(Application("IISMonCookie"));
}
catch (err)
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
}
Application.UnLock();
}
function Application_OnEnd()
{
var AuPairComObj = Application("AuPair");
try {
AuPairComObj.UnRegisterIISApp(Application("IISMonCookie"));
}
catch (err)
{
}
}
function Session_OnEnd()
{
Application.Lock();
Application("numSessionCount") = Application("numSessionCount") - 1;
if ( 0 == Application("numSessionCount") )
{
var AuPairComObj = Application("AuPair");
// Unload the application at this directory.
try {
AuPairComObj.TerminateIISApp(Application("IISMonCookie"), Application("virDirPath"));
}
catch (err) // perhaps "stale" AuPair COM object
{
try { // retry one more time
// resync.
AuPairComObj = new ActiveXObject("AUPAIR.COMAupair.1");
Application("AuPair") = AuPairComObj;
Application("IISMonCookie") = AuPairComObj.RegisterIISApp();
AuPairComObj.KeepIISApp(Application("IISMonCookie"));
// retry
AuPairComObj.TerminateIISApp(Application("IISMonCookie"), Application("virDirPath"));
}
catch (err) // too bad, give up!
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
}
}
Application.UnLock();
Session.Abandon();
}
</SCRIPT>
<font face="Arial" size=2>error '80028026</font>
<p>
<font face="Arial" size=2>Element not found.</font>
<font face="Arial" size=2>/CCMCIP/global.asa</font>
<font face="Arial size=2>line 34</font>
Here is the the global.asa file. I did not make any changes. Thanks in advace for any assistance you can provide.
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
'You can add special event handlers in this file that will get run automatically when
'special Active Server Pages events occur. To create these handlers, just create a
'subroutine with a name from the list below that corresponds to the event you want to
'use. For example, to create an event handler for Session_OnStart, you would put the
'following code into this file (without the comments):
'Sub Session_OnStart
'**Put your code here **
'End Sub
'EventName Description
'Session_OnStart Runs the first time a user runs any page in your application
'Session_OnEnd Runs when a user's session times out or quits your application
'Application_OnStart Runs once when the first page of your application is run for the first time by any user
'Application_OnEnd Runs once when the web server shuts down
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript RUNAT=Server>
function Application_OnStart()
{
Application.Lock();
Application("numSessionCount") = 0; // init. to 0
try {
var AuPairComObj = new ActiveXObject("AUPAIR.COMAupair.1");
Application("IISMonCookie") = AuPairComObj.RegisterIISApp();
Application("AuPair") = AuPairComObj;
}
catch (err)
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
Application.UnLock();
}
function Session_OnStart()
{
var dirPath = Request.ServerVariables("APPL_MD_PATH").Item;
Application.Lock();
Application("virDirPath") = dirPath;
Application("numSessionCount") = Application("numSessionCount") + 1;
if ( 1 == Application("numSessionCount") ) // first time
{
try {
var AuPairComObj = Application("AuPair");
AuPairComObj.KeepIISApp(Application("IISMonCookie"));
}
catch (err)
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
}
Application.UnLock();
}
function Application_OnEnd()
{
var AuPairComObj = Application("AuPair");
try {
AuPairComObj.UnRegisterIISApp(Application("IISMonCookie"));
}
catch (err)
{
}
}
function Session_OnEnd()
{
Application.Lock();
Application("numSessionCount") = Application("numSessionCount") - 1;
if ( 0 == Application("numSessionCount") )
{
var AuPairComObj = Application("AuPair");
// Unload the application at this directory.
try {
AuPairComObj.TerminateIISApp(Application("IISMonCookie"), Application("virDirPath"));
}
catch (err) // perhaps "stale" AuPair COM object
{
try { // retry one more time
// resync.
AuPairComObj = new ActiveXObject("AUPAIR.COMAupair.1");
Application("AuPair") = AuPairComObj;
Application("IISMonCookie") = AuPairComObj.RegisterIISApp();
AuPairComObj.KeepIISApp(Application("IISMonCookie"));
// retry
AuPairComObj.TerminateIISApp(Application("IISMonCookie"), Application("virDirPath"));
}
catch (err) // too bad, give up!
{
Response.Write("Err: " + err.number.toString(16) + " desc: " + err.description);
}
}
}
Application.UnLock();
Session.Abandon();
}
</SCRIPT>