Problems setting up a WAP site in ASP

Discussion in 'Classic ASP' started by Doxasta, Mar 28, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Third time lucky !!

    Hi,


    I reacently changed my hosting company to discountasp. I loaded my WAP site from the original host onto my new web space. My opening page is an asp page. Looking at it through a Nokia phone simulator is fine, but when I try to look at it through my Nokia phone I get a 'File Format Unknown' error.

    The site used to work fine with my phone through my original host and I haven't changed anything. To make sure I created a test.asp page with next to nothing on it, but get the same error.

    Does anyone have any ideas on this?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Hi Thanks for those two pointers.


    With regard to the code, I'm pretty sure that it's fine as I've had the same code working on a different host's server.


    As for the second point, I've got <% response.ContentType = "text/vnd
    .wap.wml" %> set up on all my code pages, but I'm not sure if I've got access to setting up filetypes on the discountASP server.


    Is this something I can do or do I have to sak support to sort it for me?


    Simon
     
  4. OK...





    By putting the % response.ContentType = "text/vnd
    .wap.wml" %> at the top of the page seems to have worked.





    Thanks a lot.


    Simon.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page