Re: [OKGIS] IIS displays code instead of page.

Chronological Thread 
  • From: "Brett Williston" <>
  • To: "Oklahoma GIS Community" <>
  • Subject: Re: [OKGIS] IIS displays code instead of page.
  • Date: Wed, 20 Feb 2008 14:47:19 -0600
  • Domainkey-signature: a=rsa-sha1; q=dns; s=rocoselector;; c=nofws; h=Received:Message-ID:From:To:References:In-Reply-To:Subject:Dat e:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeO LE; b=XnFMS8eKqCExlJIeqSdQ3WfveT7+gWF988B43w7WoGSrfqFoSAzXzVN0LE609Kz2Tn9 P5bAlQdySbyGQqm3BDBCnyGWXg7p6cLpbk0k5ZktyaWgcuo3TF9P78RbYdB9S;
  • List-archive: <>
  • List-id: Oklahoma GIS Community <>

Title: IIS displays code instead of page.
Just a few suggestions. These may help or not.
Do you have any other applications that may be using port 80? Mapserver?
Can you access the page when typing the url, http://localhost:80 ?
Try disabling the internal firewall. This may be blocking port 80.
Lastly, disable your anti-virus software.
Just a few things to try to help rule out the culprit.
Brett Williston
IT Director
Rogers County Courthouse
219 S. Missouri
Claremore, OK 74017
(918) 342-1362
----- Original Message -----
From: Todd Fagin
Sent: Wednesday, February 20, 2008 2:31 PM
Subject: RE: [OKGIS] IIS displays code instead of page.



I have IIS and installed on my computer and I can test the page for you. 


When you say “installed,” what exactly do you mean?  Did you merely download the file and try to open it with a web browser.  If so, that isn’t going to work.  You will need to build the page, using something like Visual Studio.


For instance, I have numerous webapps on my computer. If I just try to open a random asp site, I get an error message like the one below:


XML Parsing Error: not well-formed

Location: file:///C:/TEMP/ASPNET%20Data%20Tutorial%201%20VB/AllProducts.aspx

Line Number 1, Column 2:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="AllProducts.aspx.vb" Inherits="AllProducts" %>



However, if I open the webapp in Visual Studio and build it, the application runs fine. 


If this is your problem, I suspect the problem may actually not be with IIS.


This certainly isn’t my forte, but I can give it a shot nonetheless.


Todd Fagin


Coordinate Solutions, Inc.

501 N.E. 15th St.

Oklahoma City, OK 73104

405.740.4324 (voice)

904.471.5548 (fax)




From: [] On Behalf Of David W. Wheelock
Sent: Wednesday, February 20, 2008 1:28 PM
To: Oklahoma GIS Community
Subject: [OKGIS] IIS displays code instead of page.


I recently installed ArcGIS Server (AGS) on my personal workstation to use as a testing and development box.  However, I encountered a problem the very first time I tried to start ArcGIS Server Manager and haven't been able to get past it.  Basically, it just gave me an error message, which I won't recount here.  I contacted ESRI support and went through some testing with them.  At the end of that the analyst suspected it was an IIS (Internet Information Server) problem and sent me a simple test file to use as a test web page.  He gave me instructions to install it in a location unrelated to ArcGIS Server.  When I installed it and browsed to in in a web browser, it show the code instead of performing the action and displaying the page that the code defines.

The ESRI analyst concluded that this must be an IIS problem, configuration or something.  That's odd since I only just installed IIS in the process of installing AGS.  I certainly haven't made any customizations to the IIS configuration that I'm aware of.

I asked our webmaster about this and she hadn't encountered this problem and didn't have any suggestions.

Have any of you encountered this problem and know the answer?
If not, do you know any good IIS forums or tech sites that I could submit this query to?


David Wheelock     Application Specialist

Oklahoma Department of Agriculture, Food and Forestry
2800 North Lincoln Boulevard
Oklahoma City, OK 73105-4298
Phone: (405) 522-5477 FAX: (405) 522-3590

"We are usually convinced more easily by reasons we have found ourselves,
than by those which have occurred to others."

Archive powered by MHonArc 2.6.16.