0% found this document useful (0 votes)
52 views17 pages

Tech Note 985 - Adding IIS Handler Mappings AFWeb and Related Reports

This document provides instructions for adding IIS handler mappings to resolve issues opening AFWeb and related reports from the WIS Administration tab. The problem is caused by missing handler mappings for .NET Framework 4.0 on the WIS server. Adding handler mappings for *.aspx, *.axd, and the .NET 4.0 ISAPI DLLs to the AFWeb virtual directory fixes browsing and report errors. Following the 14 step solution adds the required handler mappings.

Uploaded by

profilemail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views17 pages

Tech Note 985 - Adding IIS Handler Mappings AFWeb and Related Reports

This document provides instructions for adding IIS handler mappings to resolve issues opening AFWeb and related reports from the WIS Administration tab. The problem is caused by missing handler mappings for .NET Framework 4.0 on the WIS server. Adding handler mappings for *.aspx, *.axd, and the .NET 4.0 ISAPI DLLs to the AFWeb virtual directory fixes browsing and report errors. Following the 14 step solution adds the required handler mappings.

Uploaded by

profilemail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Adding IIS Handler Mappings: AFWeb and Related Reports

Tech Note 985


Adding IIS Handler Mappings: AFWeb and Related Reports

All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Topic#: 002812
Created: October 2013

Introduction
This Tech Note is part of a series of Diagnostic Tech Notes focused on IIS Handler Mapping issues. See the References section at the
end of this Tech Note for links.

Application Versions
Wonderware Information Server 2012 R2 (5.x)

Windows 2008 R2 Server

Windows 2008 SP2

Problem
Opening the AFWeb and/or AFWeb Reports from the WIS Administration tab fails.

Cause
Wonderware Support has discovered a problem with some machines using IIS 7.x: There are some missing Handler Mappings to .NET
Framework 4.0.

Note: This issue happens only on WIS 5.0 (System Platform 2012 R2). In WIS 5.0, the AFWebPool uses the .NET Framework Version
4.0.

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 1: SV AppLICatIOn POOL UsInG .NET VErsIOn 4.0

Browsing Trend from the ActiveFactory/Reports section of portal fails (Figure 2 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 2: HTTP ErrOr fOr Data SOurCE ManaGEr

The Problem also occurs when browsing ActiveFactory/Reports from the portal (Figure 3 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 3: HTTP ErrOr fOr REpOrt ManaGEr

Browsing Query from ActiveFactory section of portal (Figure 4 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 4: ACtIvEFaCtOrY QuErY REpOrt FaILs

Browsing ActiveFactory/Reports/Select INSQL section fails (Figure 5 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 5: SELECt InSQL REpOrt FaILs

Browsing Selected INSQL Content unit in the Table Weaver section fails (Figure 6 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 6: BrOwsInG TabLE WEavEr FaILs

Solution
1. On the WIS Server, click Start/Run and type Inetmgr.

2. Highlight the AFWeb virtual directory

3. Double-click Handler Mappings in the right pane.

4. Right-click any blank area and click Add Script Map (Figure 7 below).

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 7: Add SCrIpt Map

5. Type the following information (Figure 8 below):

• Request Path = *.aspx


• Executable = %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
• Name = PageHandlerFactory-ISAPI-4.0_32bit

6. Click OK.

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 8: Add PaGEHandLErFaCtOrY MappInG

7. Click Yes.

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports
FIGurE 9: Add thE ISAPI EXtEnsIOn

8. Repeat steps 1-7 above with the following information for Step 5 (Figure 10 below).

• Requested Path = *.aspx


• Executable = %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
• Name = PageHandlerFactory-ISAPI-4.0_64bit

FIGurE 10: PaGEHandLErFaCtOrY MappInG

9. Repeat steps 1-7 above with the following information for Step 5 (Figure 11 below).

• Requested Path = *.axd


• Executable = c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]
Adding IIS Handler Mappings: AFWeb and Related Reports
• Name = AXD-ISAPI-4.0_32bit

FIGurE 11: AXD-ISAPI MappInG

10. Repeat steps 1-7 above with the following Information for Step 5 (Figure 12 below).

• Requested Path = *.axd


• Executable = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
• Name = AXD-ISAPI-4.0_64bit

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 12: AXD-ISAPI MappInG

11. Clicking ActiveFactory/Reports should now appear correctly (Figure 13 below):

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 13: ACtIvEFaCtOrY/REpOrts

12. Clicking ActiveFactory/Reports/Trend should now appear correctly (Figure 14 below):

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 14: ACtIvEFaCtOrY/REpOrts

13. Clicking ActiveFactory/Reports/Select InSQL should now appear correctly (Figure 15 below):

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 15: ACtIvEFaCtOrY/REpOrts/SELECt InSQL

14. Clicking Table Weaver/InSQL/AFRWSTrend reports should now appear correctly (Figure 16 below):

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports

FIGurE 16: TrEnd REpOrts

References
Click the following links to view other Handler Mapping Tech Notes:

Tech Note 984 Adding IIS Handler Mappings: Checklist

Tech Note 986 Adding IIS Handler Mappings: ArchestrA Reports

K. Nourbakhsh, E. Xu

Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also
technical information on our software products at Wonderware Technical Support.

For technical support questions, send an e-mail to [email protected].

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]


Adding IIS Handler Mappings: AFWeb and Related Reports
Back to top

©2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying, recording, broadcasting, or by any information storage and retrieval system, without permission in writing from Invensys Systems, Inc.
Terms of Use.

file:///C|/inetpub/wwwroot/t002812/t002812.htm[11/8/2013 9:35:41 AM]

You might also like