×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    Mime type text/html not supported

    Posted by Niclas Borgstrom, drygast@hotmail.com
    on June 15, 2000 at 12:41

    In my deck a call a login to MS Sql server through an asp-page, on this page the content type is declared in the following way: Response.ContentType = "text/vnd.wap.wml", however the SDK aborts with the message 'mime type "text/html" is not supported'. Any ideas?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    RE: Mime type text/html not supported

    Posted by Scott McLain, sjmclain@hotmail.com
    on June 21, 2000 at 17:57

    Don't assume the error is in anyway related to the Sql server issue. If there is any syntax errors in your asp file, the resulting WML file is trash and that is the standard response. Watch out for spaces in your heading when switching between VB script and WML. Cut out as much code as possible to get a clean WML and then just add the pieces back in a little at a time. I'll email you a small ASP which hits an access database and you can see how the spacing is important.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×