Asp .Net Menu won't display child items

Hi,

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,

TB
csscreendump.doc
vbasqlprogrammerAsked:
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.
0
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">
<Items>
     <asp:MenuItem Text = "Home"></asp:MenuItem>
     <asp:MenuItem Text="Studies"></asp:MenuItem>
     <asp:MenuItem Text="Series">
         <asp:MenuItem Text="LOC"></asp:MenuItem>
     </asp:MenuItem>                    
     <asp:MenuItem Text="Pioneer Chronicle"></asp:MenuItem>
</Items>
</asp:Menu>

Open in new window

0
LoftbugCommented:
Hi vbasqlprogrammer,

Took a quick look and found the following:

Your menu loads its javascript from this source path below:
src="/Stores/Goldmine/WebResource.axd?...."

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.

cheers,

 L
0

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.
0
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.
0
LoftbugCommented:
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 http://christadelphianstudies.com/WebResource.axd?...

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.

cheers,

 L
0
vbasqlprogrammerAuthor Commented:
Ok, thank you.  So can I actually tell the server where to generate these pages?
0
LoftbugCommented:
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.
0
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
ASP.NET

From novice to tech pro — start learning today.