Hi there!
I´ve created an ASP page with exactly the content below:
--------------------------
----------
----------
----------
----------
----------
----------
------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<%
text="<note>"
text=text & "<to>Tove</to>"
text=text & "<from>Jani</from>"
text=text & "<heading>Reminder</headin
g>"
text=text & "<body>Don't forget me this weekend!</body>"
text=text & "</note>"
set xmlDoc=Server.CreateObject
("Microsof
t.XMLDOM")
xmlDoc.async=false
xmlDoc.loadXML(text)
xmlDoc.Save("test.xml")
%>
</body>
</html>
--------------------------
----------
----------
----------
----------
--------
I have uploaded this "XML_test.asp" to the remote server and tried to run the page with my browser.
It did NOT create the test.xml document (I got a "500 Internal Server Error" page.)
What should I do to make it work, please?
Thanks!
What is the version of IIS do you use ?
Do you have any stack strace of the error displayed in the browser page (or else does error showing is turned on in IIS settings ?)
thanks you in advance for the answers