PRB: "Self.Parent.Main_SR is not an object." With Frameset DTC
ID: Q240173
|
The information in this article applies to:
-
Collaboration Data Objects (CDO), version 1.21
-
Microsoft Outlook Web Access, version 5.5 Service Packs 1, 2
SYMPTOMS
Using the Frameset DTC, one can view specific published Public Folders. If the folder picker option is selected in the properties for the Frameset DTC and you then try to navigate to another folder in the generated HTML, you receive the following error message:
"Self.Parent.Main_SR is not an object."
CAUSE
The frame tag in the HTML is missing the NAME= parameter that is needed to be properly referenced by the code present in Outlook Web Access (OWA).
RESOLUTION
Add the name parameter to the frame in the HTML script that the Frameset DTC creates. The following code demonstrates how to do this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type><%@ Language=VBScript %>
<META NAME="GENERATOR" Content="MSHTML 5.00.2314.1000" ></HEAD>
<BODY bgColor=silver>
<!--METADATA TYPE="DesignerControl" startspan
<OBJECT classid="clsid:239E068F-36E1-11D1-9354-00AA00602769" id=Frameset1 style="LEFT: 0px; TOP: 0px">
<PARAM NAME="_ExtentX" VALUE="8308">
<PARAM NAME="_ExtentY" VALUE="1482">
<PARAM NAME="Access" VALUE="anon">
<PARAM NAME="View" VALUE="1">
<PARAM NAME="Store" VALUE="0">
<PARAM NAME="FolderName" VALUE="Web Folder1">
<PARAM NAME="Mode" VALUE="0">
<PARAM NAME="OWAServer" VALUE="jeffgaiis4">
<PARAM NAME="FolderGUID" VALUE="000000001A447390AA6611CD9BC800AA002FC45A0300E1E9BE950045D311A8E000AA00BBAFE80000000000110000">
<PARAM NAME="InlineFrame" VALUE="-1">
<PARAM NAME="OWAFrameLocation" VALUE="1">
<PARAM NAME="FrameOne" VALUE="0">
<PARAM NAME="FrameTwo" VALUE="0">
<PARAM NAME="FrameSourceOne" VALUE="http://">
<PARAM NAME="FrameSourceTwo" VALUE="http://">
<PARAM NAME="FramePercentOne" VALUE="100">
<PARAM NAME="FramePercentTwo" VALUE="0">
<PARAM NAME="FramePercentThree" VALUE="0"></OBJECT>
-->
<!-- The line below is the line that the NAME= parameter is added to reflect the correct frame name. -->
<FRAMESET ROWS="100%, 0%">
<FRAME NAME="main_fr" SRC="http://<webserver>/exchange/root.asp?mode=0&store=0&acs=anon&view=1&obj=000000001A447390AA6611CD9BC800AA002FC45A0300F19D50FFB354D311A8E800AA00BBAFE80000000000110000">
<FRAME>
</FRAMESET>
<!--METADATA TYPE="DesignerControl" endspan-->
</HTML>
MORE INFORMATION
The NAME= parameter must be added again if any properties of the frameset are modified. Everytime the Frameset DTC's properties are modified, this change is lost.
REFERENCES
For more information, please refer to the following file located on the Exchange 5.5 Server CD:
\Server\Support\Collab\FrameDTC\framesetdtc.txt
Additional query words:
OWA "Outlook Web Access"
Keywords : kbCDO121 kbMsg kbVBScript kbGrpMsg kbDSupport
Version : WINDOWS:1.21,5.5
Platform : WINDOWS
Issue type : kbprb