[OKGIS] IIS displays code instead of page.
Todd Fagin
tfagin at coordinatesolutions.com
Wed Feb 20 14:31:44 CST 2008
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 at gis.gis.ou.edu [mailto:okgis-bounces at 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 at 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> 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."
<http://en.wikipedia.org/wiki/Blaise_Pascal> Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gis.ou.edu/pipermail/okgis/attachments/20080220/ea8336be/attachment.htm
More information about the OKGIS
mailing list