开发者

App_Browsers ignored

开发者 https://www.devze.com 2023-01-03 05:49 出处:网络
I\'m using Mobile Device Browser File ( http://mdbf.codeplex.com/ ) for my ASP.NET MVC 2 application.

I'm using Mobile Device Browser File ( http://mdbf.codeplex.com/ ) for my ASP.NET MVC 2 application.

Locally, with VS 2010 web server, everything works fine开发者_如何学运维 : I use Firefox with User Agent Switcher, and it is detected as a mobile device.

However, when I upload the application to my hosting provider, it isn't working anymore.

As it is a shared hosting provider, I can't do many things to "debug"...

Anyone knows if there is special permissions to put on the App_Browsers folder, or anything I could test ?


It seems if you delete the App_Browsers.dll file the issue resolves it's self.

See: http://www.5limes.com.au/blog/index.php/vs-2010-web-publishing-issue-with-the-browser-files.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号