Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

Error when using the <urlMappings> element

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nathan Sokalski - 20 Jun 2007 00:19 GMT
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.
Signature

Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

Siva M - 20 Jun 2007 07:41 GMT
Mark & as &amp;

> I am using the <urlMappings> element in my Web.config file as follows:
>
[quoted text clipped - 13 lines]
> What do I need to change to correct the syntax without changing the URL that
> will be mapped to? Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.