Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

broken asp:treeview image VB.NET

What's missing on our IIS server?
See attached screenshots - one is what it is supposed to look like, the second is what shows on the IIS Server that I deploy using the VS2008 "Copy WebSite..."/ "Remote Site"

The treeview is attached to the Site.map

IIS has .NET Frameworks 1.1, 2.0 and 3.5 all installed
treeview---good.jpg
treeview---bad.jpg
0
GordJones
Asked:
GordJones
  • 5
  • 3
1 Solution
 
jmwheelerCommented:
It appears that your images can't be found.  Are you using an empty image to indent the sub-items?
0
 
jmwheelerCommented:
I would make sure that all of your images are on the IIS server and that they are in the same relative location as it exists locally.
0
 
GordJonesAuthor Commented:
This is the Source for my treeview:

<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1">
</asp:TreeView>
I did not set any specific images. Where are these default images?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jmwheelerCommented:
Sorry, I though you were trying to specify custom images for the TreeView.  I'm not sure what the issue is but the screenshot still looks like it is trying to find an image it can't find.
0
 
GordJonesAuthor Commented:
That's the reason for this post ;)
0
 
jmwheelerCommented:
Have you tried using the Publish functionality of VS2008 rather than the copy website?  Maybe it will include some reference file that you missed when using the copy utility.
0
 
GordJonesAuthor Commented:
Found the answer here: http://www.rosshawkins.net/archive/2006/10/08/webresource.axd.aspx
It is basically that I had some website configutation to tweek.
0
 
jmwheelerCommented:
Glad you found your answer.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now