IIS - redirect for named aspx page not working

Asked By Peter Hemmingsen
17-Nov-09 05:04 AM
Hi

My domain name klubkontoret.dk is redirected to 80.199.79.45 but I get the
following strange behaviour (using IE8):

Address:

http://80.199.79.45 and www.klubkontoret.dk and
http://80.199.79.45/default.aspx correctly shows my default.aspx page.

www.klubkontoret.dk/default.aspx does not work.

http://80.199.79.45/htmlpage1.html and www.klubkontoret.dk/htmlpage1.html
both correctly shows my htmlpage1.html test page.


I would appreciate any hint that can explain why
www.klubkontoret.dk/default.aspx is failing,- thanks.

Peter
FireFox
(1)
XML
(1)
  Brian Cryer replied to Peter Hemmingsen
18-Nov-09 05:57 AM
It evaluates to 194.225.15.19 here.


When I go to this page I see the message:

XML Parsing Error: no element found
Location: http://www.klubkontoret.dk/default.aspx
Line Number 1, Column 1:

so I think the problem is to do with what default.aspx is trying to do. What
are you trying to do on your page? Presumably you are doing some XML
manipulation?
--
Brian Cryer
www.cryer.co.uk/brian
  Peter Hemmingsen replied to Brian Cryer
18-Nov-09 07:48 AM
Hi Brian,

Thanks for your reply. default.aspx is a simple web form. The strange thing
is that it works if you just type:
www.klubkontoret.dk which give you the same page.

It even works if you replace the domain name with the ip address:
http://80.199.79.45/default.aspx

So what could I possible do in default.aspx which fails when using domain
name but not if using ip address?

Peter
  Brian Cryer replied to Peter Hemmingsen
23-Nov-09 05:00 AM
Have you fixed the XML parsing error? I do not know what that error is but
its probably related to the cause of your problem.

FYI: If I use IE and go to .../default.aspx then I simply get "Internet
explorer cannot display the webpage", but if I use FireFox then I get the
XML Parsing Error.

Fix that, once that is fixed then if the problem persists then post back.
--
Brian Cryer
www.cryer.co.uk/brian
Create New Account
help
image / svg+xml IIS i am trying to create dynamic svg-images by using asp. i dont use any doctype. first lines of my asp-file are Response.ContentType = "image / svg+xml". Call Response.Write("<?xml version = ""1.0"" encoding = ""UTF-8""?> ") after these lines i wrote the svg-code. this doesn't work using internet explorer but in firefox it works. so i thried to use php. first lines in php are header("Content-Type: image / svg+xml"); echo '<?xml version = "1.0" encoding = "UTF-8"?> '; after these lines i wrote the svg-code. this this run on both browsers using asp. IIS ASP Discussions ASP.NET (1) Dec (1) Firefox (1) Xml (1) Svg (1) Php (1) Markus wrote on Thu, 20 Dec 2007 06:20:23
using IE through a proxy IIS Platforms Windows XP SP2 Windows Server 2003 SP2 Clients Firefox 3 Firefox 2.0.0.17 Internet Explorer 6.0 SP2 Internet Explorer 7 A third-party 401.2 error is returned. No prompt for a username & password ever appears. When using Firefox (both versions), a prompt does appear. I input the credentials and I am able to Windows; U; Windows NT 5.1; en-US; rv: 1.8.1.17) Gecko / 20080829 Firefox / 2.0.0.17 Accept: text / xml, application / xml, application / xhtml+xml, text / html;q = 0.9, text / plain;q = 0.8, image / png, * / *;q = 0.5Accept Windows; U; Windows NT 5.1; en-US; rv: 1.8.1.17) Gecko / 20080829 Firefox / 2.0.0.17 Accept: text / xml, application / xml, application / xhtml+xml, text / html;q
CSS vs XML IIS I have a web site and was wondering if it can be converted to CSS from XML, or is it already CSS. I'm confused because of poor and insuficient knowledge. I in the process of removing all the VML because it can't be viewed with Firefox nor Safari. I have a few other issues that are not so important at the in advance. Richie P. [RPM] FrontPage Client Discussions Expression Web (1) HyperText (1) MikeThank (1) Firefox (1) Richie (1) Markup (1) Insuficient (1) BWAHAHAHAHA (1) CSS is a method to manage the presentation of HTML on the browser screen. XML has nothing to do with presentation, and everything to do with a systematic description of the hierarchical relationship of the content on the page. Thus, CSS has no effect on XML, since XML contains no presentational markup. What is it you are really wanting to do? And why Sheet. Style information is just used to tell how something is presented XHTML & HTML mean (XML) HyperText Markup Language. These pages present the information You will always need to have a
XML document must have a top level element IIS Hi all, I had a program and always works fine and suddenly it gives me the following message when a pass a xml file to our server program: error code: -1072896680 reason: XML document must have a top level element. line #: 0 I don't know if it is my xml file or it is something else? Here is my client side program: Set xmlDom = CreateObject Microsoft.XMLDOM") XMLDom.async = False xmlDom.load Server.MapPath("05272008ACTest.xml") DataToSend = xmlDom.xml dim xmlhttp set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", "https: / / www.mydomain.com if if xmlHttp.responseXML is nothing then Response.Write("The remote server didn’t return xml content.") Response.End end if Response.ContentType = "text / xml" Response.Write xmlhttp.responsexml.xml Set xmlhttp = nothing %> and 05272008ACTest.xml file is like this
sending xml through a form field, not in body IIS Hi all, I wrote an asp program which can receive xml string from a client program if they send me a xml in the body. It is OK.(Anthony Jones helped me) But now, our client suggests that they are willing to send me xml string through a field, say xml = "<document> firstDoc doc< / document> " So I have to write a testing program to make sure Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open xmlhttp.setRequestHeader "Content-Type", "application / x-www-form-urlencoded" xmltext = "xml = <enrollment> firstDoc doc< / enrollment> " xmlhttp.send xmltext . . . Response.ContentType = "text / xml" Response.Write xmlhttp.responsexml.xml Set xmlhttp = nothing so I have to use the following code on the server side