Error when using the <urlMappings> element

N

Nathan Sokalski

I am using the <urlMappings> element in my Web.config file as follows:

<urlMappings enabled="true">
<add url="~/worldnews.aspx"
mappedUrl="~/viewlinks.aspx?category=World+News&section=Main"/>
</urlMappings>

Visual Studio 2005 has

&section

selected, and when I hover over this, it says:

Expecting ';'.

What do I need to change to correct the syntax without changing the URL that
will be mapped to? Thanks.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top