Asked by:
CSSFriendly Menu Not working on publishing to Server 2003+iis6

Question
-
User1040236888 posted
Apology for repeated posting. This was posted by error on Configuration and deployment forum:
After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. Deleting CSSFriendlyAdapters.browser in App_Browsers folder improved the layout but the menu was not rendered with css even though the html source shows thet are linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail. I really appreciate any help on this - I canot afford to lose another day on this problem.Monday, December 13, 2010 12:05 PM
All replies
-
User641418711 posted
Hi gilak,
There is no reason the published website have an issue while your development run smothly.
Try to check on your bin folder, is the CSSFriendly.dll is included?
The App_browsers folder has to be there, with the CSSFriendlyAdapters.browser inside.
Wednesday, January 26, 2011 9:41 PM -
User1927750183 posted
this problem occurs when you upload a publish source.
when we create a publish source it may be miss some important files.
Sunday, September 11, 2011 11:39 AM -
User-110526006 posted
hi,
http://www.codeproject.com/KB/webforms/Horizontal-Menu-Control.aspx
http://msdn.microsoft.com/en-us/library/ecs0x9w5%28v=vs.80%29.aspx
Wednesday, November 23, 2011 12:35 AM -
User2077282992 posted
Had this problem too. Are you using 2010 for your IDE? Even though you are targeting an older framework the 2010 IDE will use the 4.0 compiler. When it does this you end up with an extra file in your bin folder "App_Browser.dll". Deleting this file will get it working. See http://cssfriendly.codeplex.com/discussions/232701
In lieu of deleting this file after compiling thru the 2010 IDE, you could just create a cmd file to compile your project and hardcode the compiler path to use the 2.0 framework (both 2.0 and 3.5 frameworks use this same compiler).
Example .cmd file contents (for precompiled output):
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -p "C:\Development\EricHome\ASP.NET2\LionAndLamb" -v / C:\Development\EricHome\ASP.NET2\_Precompiled\LionAndLamb -f
Saturday, November 26, 2011 11:47 AM -
User1349745403 posted
CSS specifies a priority scheme to determine which best friend quotes style rules apply if more than one rule matches against a particular element.
Wednesday, January 4, 2012 6:12 AM