Posted by yclee (203.126.102.98) on July 03, 2000 at 07:16:02:
In Reply to: ASP, IIS and WAP posted by yclee on July 03, 2000 at 07:14:38:
: I'm having problem with my wap application when browsing thru actual handphone.
: I've set the MIME content type in my IIS Server as below:
: .wbmp image/vnd.wap.wbmp
: .wml text/vnd.wap.wml
: .wmlc application/vnd.wap.wmlc
: .wmls text/vnd.wap.wmlscript
: .wmlsc application/vnd.wap.wmlscriptc
: In the asp file:
: %Response.ContentType = "text/vnd.wap.wml" %
: ?xml version="1.0"?
: !DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"
: wml
: card id="card1" title="Welcome" newcontext="true"
: onevent type="ontimer"
: go href="shop.asp"/
: /onevent
: timer value="20"/
:
: testing 1 2 3....
: /p
: /card
: /wml
: It can be viewed in a emulator that i've downloaded.
: But when i connect thru hand phone, the following error occur:
: The root element declared in the DTD is not the same as the document root element.
: I really run out of idea why this is happening. Please help