Groups | Blog | Home
all groups > asp.net mobile > january 2005 >

asp.net mobile : MMIT created aspx not producing wml


ujjc001
1/28/2005 9:06:28 AM
Hello all.
I've downloaded MMIT and tried to make a simple app (.aspx). I've got
the devicefilters in web.config. When I hit the .aspx page with my
phone it only gives html, no wml. Anyone else had this problem? IIS is
all set up with the three file types and regular wml pages work.
Thanks for any help.
Jeff
ujjc001
1/28/2005 9:14:53 AM
I'll try this---
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.aspnet.mobile/browse_frm/thread/945a67b0e5fed26b/71e9310cbcd2e711?q=not+wml&_done=%2Fgroup%2Fmicrosoft.public.dotnet.framework.aspnet.mobile%2Fsearch%3Fgroup%3Dmicrosoft.public.dotnet.framework.aspnet.mobile%26q%3Dnot+wml%26qt_g%3D1%26&_doneTitle=Back+to+Search&&d#71e9310cbcd2e711

but not sure if that's it.
Nokia 3200 and using the emulator from the wilsons site or what ever
it's called (don't have the link handy)
I'll send my code later if no one has any ideas on this. (at work now,
no access to server)
Jeff
ujjc001
1/30/2005 7:54:13 PM
Good news anyone who has this problem. The link above worked. To
recap,
"In you application web.config, add the following:
<browserCaps>
<filter>
<case match="Unknown" with="%{browser}">
preferredRenderingType = "wml11"
preferredRenderingMime = "text/vnd.wap.wml"
preferredImageMime = "image/vnd.wap.wbmp"
</case>
</filter>
</browserCaps>" (AndresS)
AddThis Social Bookmark Button