UAProf header doesn't matter. Unknown file format means that WML browser is not able to parse the answer it got from your server through WAP gateway. Check out that markup correctly corresponds to WML standard. Instead <br> you must have <br /> etc.
Gunnar Peipman
-- General Protection Fault
-- Illegal Page Fault
-- Not My Fault
Well... let's go further then. Try to make your form smaller so the markup output takes less space. See what happens. If you have any literal text blocks (text that is not between tags) put text between <p></p> by example. It is only my idea, not somekind
of the truth. [:)]
If it still doesn't work then download device characteristics sheet from
Nokia developers web site. Also try to find there documents about mark-up rendering in devices.
Also, you may find this site device profiling tool sometimes very useful.
Gunnar Peipman
-- General Protection Fault
-- Illegal Page Fault
-- Not My Fault
Sim
Member
70 Points
14 Posts
Strange error in emulator
May 12, 2005 01:00 PM|LINK
In my mobile application some pages works fine, but some of them cause this error:
"Server Error in /
System.FormatException
Invalid length for a Base-64 char array.
Method:FromBase64String
"
i use this online emulator to test my pages: http://www.siemens-club.ru/wap/
What is the problem? Thanks
Qnnn
Contributor
3290 Points
658 Posts
Re: Strange error in emulator
May 12, 2005 01:47 PM|LINK
-- General Protection Fault
-- Illegal Page Fault
-- Not My Fault
Sim
Member
70 Points
14 Posts
Re: Strange error in emulator
May 12, 2005 02:19 PM|LINK
Thanks. I have downloaded this emulator and my site works fine in it. I have write correct URL in UAProf URL field for my nokia 6310.
But on real phone i got strange errors for some pages: something line "unknown file format"
Qnnn
Contributor
3290 Points
658 Posts
Re: Strange error in emulator
May 12, 2005 07:53 PM|LINK
-- General Protection Fault
-- Illegal Page Fault
-- Not My Fault
Sim
Member
70 Points
14 Posts
Re: Strange error in emulator
May 13, 2005 07:25 AM|LINK
Everithing is ok. The document is correct and valid and it can be viewed with emulator :(
Qnnn
Contributor
3290 Points
658 Posts
Re: Strange error in emulator
May 13, 2005 09:57 PM|LINK
Well... let's go further then. Try to make your form smaller so the markup output takes less space. See what happens. If you have any literal text blocks (text that is not between tags) put text between <p></p> by example. It is only my idea, not somekind of the truth. [:)]
If it still doesn't work then download device characteristics sheet from Nokia developers web site. Also try to find there documents about mark-up rendering in devices.
Also, you may find this site device profiling tool sometimes very useful.
-- General Protection Fault
-- Illegal Page Fault
-- Not My Fault
Sim
Member
70 Points
14 Posts
Re: Strange error in emulator
May 14, 2005 07:09 AM|LINK
You was right. I added some literal controls to my page. If we put it in <p></p> - everything works fine.
Thanks.