views:

210

answers:

4

Hi every one!

I created a website and used css frienfly adapters for Menu, TreeView and GridView, all was correct, but after publishing it to my great web server, the menus and treeviews didn't load and there is just some bullets!

Please help me, what should I do?

you can see my work: http://jds.cot.ir

left side I have a menu which did not load.

+1  A: 

Did you copy over the App_Browsers folder? I'd check you copied all files over and, if you can, restart the application pool (touching web.config should achieve this).

Dan Diplo
this folder exists, whould I restart the application pool? if yes, how? Do you mean via web.config, I can restart application pool?
Hossein Margani
I restarted the application by copying app_offilne.htm and requesting the url and renaming the file and again requesting the web site, but it is not correct yet.
Hossein Margani
A: 

I found the problem and the solution, I have an error loading one css file:

<link href="/WebResource.axd?d=FmPs0x8PbK0cHdhnI4N-J7cB33HdEr5UOoA_QzdIwqZdeINM8Kod5dxru5SzZMkL0&amp;t=633820044382031250" type="text/css" rel="stylesheet" />

and the content of this css was an error titled:

Specified argument was out of the range of valid values. Parameter name: utcDate

I changed my pc date to one month ago and rebuilt my solution, and upload it again.

And every thing is correct. ;)

Hossein Margani
A: 

Try deleting precompiled.config from the root of the web app on the server. That did it for me. Haven't really looked into what the pros and cons are. Looks like the publisher's precompilation doesn't take into account the control adapters for some reason. I just ran into this in VS2010 beta 2.

scottt732
A: 

Just ran into this in VS2010 final release.

Thanks for the tip.

Wonster