Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
QuestionHow to Set multiple items as selected in a ListBox with c# [modified] Pin
waldj200025-Mar-08 2:44
waldj200025-Mar-08 2:44 
GeneralRe: How to Set multiple items as selected in a ListBox with c# Pin
Vimal Raj25-Mar-08 3:54
Vimal Raj25-Mar-08 3:54 
GeneralUse Multiple Sitemap file in ASP.NET Problem Pin
SathyaSiva25-Mar-08 2:41
SathyaSiva25-Mar-08 2:41 
GeneralRe: Use Multiple Sitemap file in ASP.NET Problem Pin
Pete O'Hanlon25-Mar-08 3:01
mvePete O'Hanlon25-Mar-08 3:01 
GeneralRe: Use Multiple Sitemap file in ASP.NET Problem Pin
SathyaSiva25-Mar-08 3:09
SathyaSiva25-Mar-08 3:09 
GeneralClient Application Services... Pin
Illegal Operation25-Mar-08 2:34
Illegal Operation25-Mar-08 2:34 
GeneralUse Multiple Sitemap file in ASP.NET Problem Pin
SathyaSiva25-Mar-08 2:30
SathyaSiva25-Mar-08 2:30 
GeneralUse Multiple Sitemap file in ASP.NET Pin
SathyaSiva25-Mar-08 2:28
SathyaSiva25-Mar-08 2:28 
Hi,

I am using two sitemaps.I wrote code like this

web.sitemap


<sitemap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<sitemapnode url="Default.aspx" title="" description="Home">
<sitemapnode url="Default.aspx" title="Computer" desscription="Computer">
<sitemapnode url="Default.aspx" title="Desktop" description="Desktop">




web1.sitemap
<sitemap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<sitemapnode url="" title="User" description="User">
<sitemapnode url="" title="Forgot Password" description="Forgot Password">
<sitemapnode url="" title="Change Password" description="Change Password">
<sitemapnode url="" title="Login" description="Login">





Web.config

<sitemap enabled="true">
<providers>
<add name="Example" type="System.Web.XmlSiteMapProvider" sitemapfile="~/Web.sitemap">
<add name="Example1" type="System.Web.XmlsitemapProvider" sitemapfile="~/Web2.sitemap">




.aspx page
<asp:sitemapdatasource id="SiteMapDataSource1" runat="server" sitemapprovider="Example">


It showing following error

Server Error in '/MultipleSitemap' Application.
The attribute 'sitemapfile' is unexpected in the configuration of the 'Example' provider.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationErrorsException: The attribute 'sitemapfile' is unexpected in the configuration of the 'Example' provider.

Source Error:

[No relevant source lines]


Source File: c:\Documents and Settings\system3\Local Settings\Temp\Temporary ASP.NET Files\multiplesitemap\85793d13\552d1a9d\App_Web_dbjhdcj7.0.cs Line: 0


How to solve this?
anyone help me please.
QuestionCom interop -&gt; IUnknown from hWnd Pin
Chris Mierzejewski25-Mar-08 1:55
Chris Mierzejewski25-Mar-08 1:55 
QuestionWhat Process at which port? Pin
ptr2void25-Mar-08 1:07
ptr2void25-Mar-08 1:07 
GeneralGenerate Not Repeated Random Integer Values Pin
Edwin Syarief25-Mar-08 0:06
Edwin Syarief25-Mar-08 0:06 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Gareth H25-Mar-08 0:14
Gareth H25-Mar-08 0:14 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Christian Graus25-Mar-08 0:18
protectorChristian Graus25-Mar-08 0:18 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Christian Graus25-Mar-08 0:15
protectorChristian Graus25-Mar-08 0:15 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Vikram A Punathambekar25-Mar-08 2:31
Vikram A Punathambekar25-Mar-08 2:31 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Russell Jones25-Mar-08 3:51
Russell Jones25-Mar-08 3:51 
GeneralRe: Generate Not Repeated Random Integer Values Pin
Christian Graus25-Mar-08 10:03
protectorChristian Graus25-Mar-08 10:03 
QuestionCreate a grid of radiobutton on the fly Pin
Desmond Lim24-Mar-08 23:59
Desmond Lim24-Mar-08 23:59 
GeneralRe: Create a grid of radiobutton on the fly Pin
Gareth H25-Mar-08 0:07
Gareth H25-Mar-08 0:07 
QuestionRe: Create a grid of radiobutton on the fly Pin
Desmond Lim26-Mar-08 16:46
Desmond Lim26-Mar-08 16:46 
GeneralRe: Create a grid of radiobutton on the fly Pin
Gareth H27-Mar-08 0:06
Gareth H27-Mar-08 0:06 
QuestionRe: Create a grid of radiobutton on the fly Pin
Desmond Lim27-Mar-08 15:54
Desmond Lim27-Mar-08 15:54 
GeneralRe: Create a grid of radiobutton on the fly Pin
Gareth H28-Mar-08 2:31
Gareth H28-Mar-08 2:31 
GeneralDownload Pin
ellllllllie24-Mar-08 23:48
ellllllllie24-Mar-08 23:48 
GeneralRe: Download Pin
Christian Graus25-Mar-08 0:08
protectorChristian Graus25-Mar-08 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.