Asp .Net Menu won't display child items


I have dropped the .net menu component onto my aspx page, added some items, and also some child items, and it displays on my laptop fine,  But when uploaded to the web host, it won't display the child items of the menu.  I have attached a screen dump of the error.

If anyone could help that would be great.

Thanks in advance,

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
It doens't look like the .Net menu to me, but I could be wrong.  In any case, the mouseover and mouseout events are calling Menu_HoverStatic(this) and Menu_Unhover(this) respectively and I can't find either in your page.
vbasqlprogrammerAuthor Commented:
Here is the code for the menu just so you can see whats there
<asp:Menu ID="Menu1" runat="server" CssClass="IE8Fix" Orientation="Horizontal">
     <asp:MenuItem Text = "Home"></asp:MenuItem>
     <asp:MenuItem Text="Studies"></asp:MenuItem>
     <asp:MenuItem Text="Series">
         <asp:MenuItem Text="LOC"></asp:MenuItem>
     <asp:MenuItem Text="Pioneer Chronicle"></asp:MenuItem>

Open in new window

Hi vbasqlprogrammer,

Took a quick look and found the following:

Your menu loads its javascript from this source path below:

The problem is that this url is invalid according to your web server which throws a 404 (file not found) error for that url. But if I remove the /stores/ part of the url  and just use "/Goldmine/WebResource.axd?..." it works.

For some reason your web app is adding "/Stores/" to your web-resource url.
Find out how to remove this /stores/ url prefix and your menu should work fine.

Also if you dont come right, post your web.config file for me to see, just remember to remove any security info in it before doing so.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

vbasqlprogrammerAuthor Commented:
Thank you so much Loftbug.  Yes, you are absolutely right.  I have had major troubles with my web host, as the website just stopped working(And websites don't just stop working!) for some reason which they could not explain to me, nor were they interested in sorting the situation out, when clearly it was their server which was the problem.  Anyhow, I had to develop a work around, and the only way around their problem was to create a redirect to another directory which I lablled stores, and put the whole website into that.  And it will e the redirect adding the stores to the url.  I will sort it out.  Thanks again for your help.
vbasqlprogrammerAuthor Commented:
Hi Loftbug,

Could you please tell me where I can file the .adx? file because I can't find it anywhere in my site? Where does visual studio place the file when the site is compiled?

Thanks for your help.
Hi vbasqlprogrammer,

Glad you came right!

Okay to answer your question about the WebResource.axd file. This .axd page is dynamically generated by ASP.NET and is usually accessible from your website root. For example

To test if your webresource.axd page is working you can load your website and view its source, locate the .axd url in the html body and put that url into your browser. If it loads fine then its working.


vbasqlprogrammerAuthor Commented:
Ok, thank you.  So can I actually tell the server where to generate these pages?
The Webresource.axd does have a path attribute you can set in the Web.config file, however I havent tested changing that yet. Maybe try experimenting and see what happens.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.