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


Chronological Thread 
  • From: "Brett Williston" <brett@rogerscounty.org>
  • To: "Oklahoma GIS Community" <okgis@gis.gis.ou.edu>
  • 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; d=rogerscounty.org; 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: <http://gis.ou.edu/pipermail/okgis>
  • List-id: Oklahoma GIS Community <okgis.gis.ou.edu>

Title: IIS displays code instead of page.
David,
 
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.
 
 
Respectfully,
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.

David,

 

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

 

When you say “installed,” what exactly do you mean?  Did you merely download the asp.net 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)

www.coordinatesolutions.com

 

 

 


From: okgis-bounces@gis.gis.ou.edu [mailto:okgis-bounces@gis.gis.ou.edu] 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 asp.net 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 asp.net 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?

Thanks,
David

David Wheelock     Application Specialist     david@oda.state.ok.us

Oklahoma Department of Agriculture, Food and Forestry
2800 North Lincoln Boulevard
Oklahoma City, OK 73105-4298
Phone: (405) 522-5477 FAX: (405) 522-3590
http://www.oda.state.ok.us

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




Archive powered by MHonArc 2.6.16.

§