Solved

Exchange Server 5.5 Outlook Web Access (OWA) Page Won't Display

Posted on 2001-09-06
7
465 Views
Last Modified: 2007-11-27
We have Outlook Web Access (OWA) [under Exchange Server 5.5] on our server, and for some reason, when you go to it, all you see is the VisualBasic code...not the page itself.

We are unsure how this came to be.  We reloaded our default website, but OWA was working fine after that.  We uploaded the newest service packs, etc....but OWA was working fine after that as well.

However, a few hours ago, we went on to check an account and noticed that all you could see was the VisualBasic scripting.

Here is what shows up on the page when you access it:
=========================================================
% @ LANGUAGE=VBSCRIPT CODEPAGE = 1252 %>
!-- #include file='constant.inc' -->
!-- #include file='lib/session.inc'-->
% SendHeader 0, 1 %>
%
'Microsoft Outlook Web Access
'Logon.asp
'Copyright (c) Microsoft Corporation 1993-1997. All rights reserved.

urlNewWindow  = Request.QueryString("newwindow")

set objRenderApp = Application( bstrRenderApp )

Function isSupportedBrowser()
      ' What browser requested this page?
    szClient = GetUserAgent()

      ' Are we using Microsoft Internet Explorer?
      nPos = Instr(szClient, "MSIE")

      ' Strip everything left of the major version #
      if (nPos > 0) then        
            ' MSIE Agents are of the form "Mozilla/#.# (compatable; MSIE x.#; Platform)"
            szVersion = Right(szClient, len(szClient) - nPos - len("MSIE"))
        else
            ' NS Nav Agents are of the form "Mozilla/x.# (Platform; I; Processor)"
            szVersion = Right(szClient, len(szClient) - len("Mozilla/"))
      end if

      ' Strip everything right of the major version #
      nPos = Instr(szVersion, ".")
      szVersion = Left(szVersion, nPos - 1)       

      ' If your browser is version 3.x or higher, your supported
      if IsNumeric(szVersion) then
            if CInt(szVersion) >= 3 then
                  isSupportedBrowser = true
            else
                  isSupportedBrowser = false
            End If
      Else
            isSupportedBrowser = false
      End If

End Function



%>

HTML>
HEAD>
TITLE>Microsoft Outlook Web Access - Logon/TITLE>

SCRIPT Language="JavaScript">
!--
var L_strMailboxPlease_Message = "Please type in your Mailbox Name.";
var L_strValidMailbox_Message = "Mailbox name contains invalid characters.";
var L_SessionTimedOut_Message = "Your session has timed out.  If you wish to continue, you will need to log back on.";

% If urlNewWindow="1" Then %>
    alert(L_SessionTimedOut_Message);
% End If %>

function sendForm(bAnon) {
    if (!bAnon)
    {
        if (document.logonForm.mailbox.value=="")
        {
            alert(L_strMailboxPlease_Message )
        }
        else if (((document.logonForm.mailbox.value.indexOf("\\") != -1) ||
                 (document.logonForm.mailbox.value.indexOf("/") != -1)) ||
                 (document.logonForm.mailbox.value.indexOf(";") != -1))
        {
            alert(L_strValidMailbox_Message)
        }  
        else
        {
            document.logonForm.submit();
        }    
    }
    else
    {
        document.logonForm.mailbox.value="";
        document.logonForm.submit();
    }
}

function openNewWindow(fileName,windowName,theWidth,theHeight) {
      window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+theWidth+",height="+theHeight)
}


//-->
/SCRIPT>
/HEAD>

BODY background="back.jpg" bgcolor="#ffff99" text="#000000" link="#000000" vlink="#000000">
TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0">
TR>TD VALIGN=TOP ROWSPAN="2">
A HREF="http://www.microsoft.com/outlook" ALT="Microsoft Outlook">
IMG SRC="part1.gif" ALIGN=LEFT HSPACE=0 VSPACE=0 BORDER=0 WIDTH=273 HEIGHT=188 ALT="Microsoft Outlook">
/A>
/TD>TD VALIGN=TOP>
A HREF="http://www.microsoft.com/outlook" ALT="Microsoft Outlook">
IMG SRC="part2.gif" ALIGN=LEFT HSPACE=0 VSPACE=0 BORDER=0 WIDTH=296 HEIGHT=169 ALT="Microsoft Outlook">
/A>
/TD>/TR>
TR>TD>for Microsoft (R) Exchange Server/TD>/TR>
/TABLE>
% if isSupportedBrowser() then %>
form name="logonForm" action="LogonFrm.asp" method="GET" onSubmit="sendForm(false);return(false);">
% If urlNewWindow>"" Then %>
input type="hidden" name="isnewwindow" value="1">
% Else %>
input type="hidden" name="isnewwindow" value="0">
% End If %>

table cellpadding=0 cellspacing=0 border=0 width=100% >

tr valign=top>
    td width=2% rowspan=2> /td>

    td width=52% colspan=2 rowspan=2>
    font %=bstrFace%> size=2 color=black>
      Version 5.5 SP4

      !-- 2653.23 -->
    Microsoft (R) Outlook (TM) Web Access is
    a Microsoft Exchange Active Server Application
    that gives you private access to your Microsoft Outlook or Microsoft Exchange personal e-mail
      account so that you can view your Inbox from any Web Browser. It also allows you to view    
    Exchange server public folders and the Address Book from the World Wide Web.
    Anyone can post messages anonymously to public folders or search for users in the
    Address Book. For more information about this Outlook product, a href="JavaScript:openNewWindow('%=bstrVirtRoot%>/help/welcome.htm','inlineHelpWindow',600,500)">click here./a>
      /font>
   


    table width=100%>
    tr valign=top>
    td  align=center valign=middle>
    a href="http://www.microsoft.com/ie">img border=0 src="msie.gif" width=88 height=31 ALT="Microsoft Internet Explorer">/a>
    /td>
    td  align=center valign=middle>    
    a href="http://www.microsoft.com/products">img border=0 src="msprod.gif" width=88 height=31 ALT="Powered by Microsoft products">/a>
    /td>
      /tr>
   

    /table>
      /td>

    td width=2% rowspan=2> /td>

    td align=right  width=24%>
    font %=bstrFace%> size=4>b>Log On?/b>/font>
      /td>td align=left  width=24%>
      INPUT TYPE=text NAME=mailbox VALUE="" MAXLENGTH=60 SIZE=20>
   
font %=bstrFace%> size=2>
    Exchange Users Only:
 Type your alias and then a href="JavaScript:sendForm(false)">
    click here/a> to connect to your personal e-mail account.
 

    /font>
    /td>

    td width=2% rowspan=2> /td>

    /tr>

      tr valign=top>
        td align=right  width=24%>
        font %=bstrFace%> size=4>b>Public?Access?/b>/font>
      /td>td align=left  width=24%>
        font size=2>a href="JavaScript:sendForm(true)">Click here/a> to:

        browse Public Folders,
        find names in the Address Book,
        and post messages anonymously. /font>
        /td>
    /tr>

tr>
td width=2%>/td>
/tr>
/table>

      script language="JavaScript">
            document.logonForm.mailbox.focus()
      /script>

/form>
table width=100%>
tr>
% Else %>
td>
    font %=bstrFace%> size=2>We're sorry. Microsoft (R) Outlook (TM) Web Access requires a
    web browser that supports frames and JavaScript, such as Microsoft
    Internet Explorer 3.0 or Netscape Navigator 3.0. Click  a href="http://www.microsoft.com/ie/download">here/a> to download the latest version of
    a href="http://www.microsoft.com/ie">b>Internet Explorer/b>/a> for free at
    a href="http://www.microsoft.com/ie/download">b>http://www.microsoft.com/ie/download/b>/a>.
/td>
% End If %>


    td rowspan=2 width=2%>/td>
/tr>
/table>

%Set objRenderApp = Nothing%>

/body>
/html>

=========================================================

Does anyone know what we can do to resolve this....what could have caused it?

Thanks!
0
Comment
Question by:Barron5
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:rjcpjc
ID: 6462887
Well, just looking at the code it seems in many places that you are missing a lot of < symbols.  For instance

% @ LANGUAGE=VBSCRIPT CODEPAGE = 1252 %>

should be

<% @ LANGUAGE=VBSCRIPT CODEPAGE = 1252 %>

That might explain the problem, but as to why its happening...that's interesting.  
0
 
LVL 23

Expert Comment

by:slink9
ID: 6463770
Does it happen from all remote systems or just one?  If only one you should look at that system instead of your server.  Maybe a Repair on the browser.
0
 

Author Comment

by:Barron5
ID: 6463918
rjcpjc:  It isn't missing the "<", I must have just missed it when I was doing the copy/paste to here.

slink9: It shows up that way everywhere.  If you were to go to our website for the OWA access, what I've copied above is exactly what you see....no graphics, no layout, no logon box, nothing...just the script above.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 23

Accepted Solution

by:
slink9 earned 50 total points
ID: 6463950
0
 

Author Comment

by:Barron5
ID: 6481118
Slink9:  That did the trick!  Thanks!
0
 
LVL 23

Expert Comment

by:slink9
ID: 6481232
Okay, why a B?
0
 

Author Comment

by:Barron5
ID: 6481326
Sorry, I didn't know it would be a "B", it just gave me options of "Excellent!", "Good", etc.  I thought that since this was a microsoft knowledgebase article that I really should have found myself, it was definately worth a "good".  I think "Excellent!" should be reserved for problems that have no written or known solution and have been solved here.  If I had known it was going to translate it into "A", "B", "C", etc....I would have given you an "A".
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook Free & Paid Tools
Read this checklist to learn more about the 15 things you should never include in an email signature.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question