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.
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):
gilak
0 Points
5 Posts
CSSFriendly Menu Not working on publishing to Server 2003+iis6
Dec 13, 2010 04:05 PM|LINK
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.
chayadi
Participant
1173 Points
252 Posts
Re: CSSFriendly Menu Not working on publishing to Server 2003+iis6
Jan 27, 2011 01:41 AM|LINK
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.
This will help other with the same problem in future.
bilal.qadeer
Member
612 Points
157 Posts
Re: CSSFriendly Menu Not working on publishing to Server 2003+iis6
Sep 11, 2011 03:39 PM|LINK
this problem occurs when you upload a publish source.
when we create a publish source it may be miss some important files.
asp.net
venkatanaras...
Member
172 Points
69 Posts
Re: CSSFriendly Menu Not working on publishing to Server 2003+iis6
Nov 23, 2011 04:35 AM|LINK
hi,
http://www.codeproject.com/KB/webforms/Horizontal-Menu-Control.aspx
http://msdn.microsoft.com/en-us/library/ecs0x9w5%28v=vs.80%29.aspx
Venkat Goud.
Mark as Answer if you feel so.
eric1825
Member
186 Points
46 Posts
Re: CSSFriendly Menu Not working on publishing to Server 2003+iis6
Nov 26, 2011 03:47 PM|LINK
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
jarryhunt
Member
2 Points
1 Post
Re: CSSFriendly Menu Not working on publishing to Server 2003+iis6
Jan 04, 2012 10:12 AM|LINK
CSS specifies a priority scheme to determine which best friend quotes style rules apply if more than one rule matches against a particular element.