By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,506 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,506 IT Pros & Developers. It's quick & easy.

Linking to a file on a local server with the Web.sitemap

P: n/a
I am trying to link to a file on a local server for my company's
intranet with the Web.sitemap so it can be downloaded from my menu.
However, no matter how I word it, I always get
"System.Configuration.ConfigurationErrorsException : The 'url' property
had a malformed URL".

The node looks like this:

<siteMapNode url="file://host-server/shared folder/subfolder/
filename.ext" title="Title Name"/>
Does the sitemap not like that type of link? Or does it have a
different way of doing it?

I've tried it with back slashes instead of forward slashes with the
same result, as well as omitting the "file:" and only putting in the
path to the file with the same result.

Any ideas?

Thank you!

Feb 21 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.