Jason Salas' WebLog

On-air and online: making people laugh, making people think, pissing people off

Sponsors

ASP.NET sites that kick ass

Pals with blogs

Podcasts I listen to

Problem getting mobile web content w/MMIT to display on Motorola V710 phones

I’m not sure this is a known bug, but I’ve come across a pretty interesting problem with the Motorola V710 phone in displaying MMIT content – specifically, in not being able to display pages that use paged content.  Static pages or data source-derived mobile WebForms work fine...but on the 2nd to the nth page, I constantly get a System.FormatException thrown with the message “Invalid Length for a Base-64 char array.”

Also, note that I’ve only seen this odd behavior in the Verizon-centric 710 models (so designated by the “V” in the product name), and have yet to see it in the generic 710 models.

 Does anyone know if this is a widely-known issue or does this exist with other mobile devices?  Or has anyone been down this path?

I started a thread on the ASP.NET Forums, but no one seems to know (http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=736723).

Comments

MAXAt said:

i ve same problem with pp2002 emulator, also i am searching solution.
# November 30, 2004 9:47 AM

Jason Salas said:

Hi Max,

Here's something that might help...I got word back from Microsoft on non-supported devices:

----------------------------
Motorola V710 doesn’t show up in the list of supported devices so I hope you have added a config section for this after profiling the device [the device profiler is available at http://www.asp.net/mobile/profile/default.aspx ]. The issue you are seeing happens when the capability “requiresUrlEncodedPostfieldValues” is wrongly set. The default value is false. Please browse to a page which prints the capability value [Response.Write(Request.Browser["RequiresUrlEncodedPostfieldValues"]);] for this device and then reverse it in config.

Note: As the issue is related to post field encoding you do not run into the issue on GET but only on POST [that is why the first browse is working and 2nd to nth pages are throwing].
# November 30, 2004 5:45 PM

Jason Salas said:

SOLVED!!

Thanks much to Kashif Alam at MS for his help for sussing this out. The following blcok goes within the <system.web> element in web.config to get the content to properly render after page postbacks on Motorola V710s:

<!-- ADD-IN SUPPORT FOR NEWER MOBILE DEVICES -->
<browserCaps>
<use var="HTTP_USER_AGENT" />
<filter>
<!-- device support for Motorola V710 -->
<case match="MOT-8700_/00.62 UP.Browser/6.2.3.2.156 \(GUI\) MMP/2.0">
requiresUrlEncodedPostfieldValues="true"
</case>
</filter>
</browserCaps>
# December 3, 2004 4:58 AM

Jason Salas said:

The same problem/fix (those devices not supported as of ASP.NET v.1.1 Device Update 4) applies for Motorola V265 phones, too.
# December 10, 2004 11:34 PM

Ryck Zarick said:

Thanks for the detective work here! My V710 had those errors while trying to access the wap.geocaching.com site. People on the forum there found your solution and geocaching.com has applied it.

I have access to the new Cingular GSM Motorola V3 Razr, and plan to test the above site with it too.

Thanks!

Email addy at my site
# December 11, 2004 1:51 AM

Jason Salas said:

No problem Ryck! You can see what devices are supported by ASP.NET v.1.1 Device Update 4 at http://www.asp.net/mobile/testeddevices.aspx?tabindex=6
# December 11, 2004 1:55 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)