Solved

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

Posted on 2001-09-06
7
463 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now