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

B

Bryan

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top