نمایش نتایج 1 تا 5 از 5

نام تاپیک: منظور از این ارور چیست؟

  1. #1
    کاربر دائمی آواتار sam166
    تاریخ عضویت
    شهریور 1388
    محل زندگی
    ???????
    پست
    508

    منظور از این ارور چیست؟

    من یک پروژه asp.net دارم می نویسم به این ارور برخوردم و نمی تونم حلش کنم
    با تشکر
    لطفا مشکل بنده را حل کنید.

    Server Error in '/WebSite10' Application.
    --------------------------------------------------------------------------------

    Only <siteMapNode> elements are allowed at this location.
    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: Only <siteMapNode> elements are allowed at this location.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

    <%@ Page Language="C#‎" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
    <system.web>
    <compilation debug="true"/>
    </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:


    [ConfigurationErrorsException: Only <siteMapNode> elements are allowed at this location.]
    System.Web.XmlSiteMapProvider.BuildSiteMap() +1307
    System.Web.StaticSiteMapProvider.FindSiteMapNode(S tring rawUrl) +130
    System.Web.XmlSiteMapProvider.FindSiteMapNode(Stri ng rawUrl) +86
    System.Web.SiteMapProvider.FindSiteMapNode(HttpCon text context) +106
    System.Web.SiteMapProvider.get_CurrentNode() +61
    System.Web.SiteMapProvider.GetCurrentNodeAndHintAn cestorNodes(Int32 upLevel) +75
    System.Web.UI.WebControls.SiteMapPath.CreateContro lHierarchy() +91
    System.Web.UI.WebControls.SiteMapPath.CreateChildC ontrols() +46
    System.Web.UI.Control.EnsureChildControls() +134
    System.Web.UI.Control.PreRenderRecursiveInternal() +109
    System.Web.UI.Control.PreRenderRecursiveInternal() +233
    System.Web.UI.Control.PreRenderRecursiveInternal() +233
    System.Web.UI.Control.PreRenderRecursiveInternal() +233
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5846
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +188
    System.Web.UI.Page.ProcessRequest() +112
    System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +37
    System.Web.UI.Page.ProcessRequest(HttpContext context) +135
    ASP.main_aspx.ProcessRequest(HttpContext context) +30
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +401
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +117




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

  2. #2
    کاربر دائمی آواتار mmnoody2006
    تاریخ عضویت
    آبان 1387
    محل زندگی
    مازندران
    پست
    547

    نقل قول: منضور از این ارور چیست؟

    سایت مپ وبت مشکل داره

  3. #3
    کاربر دائمی آواتار eyes_shut_number1
    تاریخ عضویت
    اردیبهشت 1386
    محل زندگی
    http://blueco.ir
    سن
    38
    پست
    1,090

    نقل قول: منضور از این ارور چیست؟

    ترتیب المنتهای پدر/فرزند در فایل xml مهمه
    و این که نباید تگی به غیر از <siteMapNode> داشته باشی
    فایلت رو چک کنن اگه این مشکلات رو داره درست کن

  4. #4
    کاربر دائمی آواتار sam166
    تاریخ عضویت
    شهریور 1388
    محل زندگی
    ???????
    پست
    508

    نقل قول: منظو ر از این ارور چیست؟

    این سایت مپی هست که درست کردم




    <?xml version="1.0" encoding="utf-8" ?>
    <siteMap>
    <sitemapnode url="main.aspx"
    title="windows mobile home"
    description="windows mobile home" roles="">
    <sitemapnode url="whatiswinmobile.aspx"
    title="windows mobile overview"
    roles=""/>
    <sitemapnode url="comparedevices.aspx"
    title="compare devices"
    description="compare devices" roles=""/>
    <sitemapnode url="software.aspx"
    title="software features tour"
    description="software features tour"
    roles=""/>
    <sitemapnode url="faq.aspx"
    title="faq asked"
    description="faq asked"
    roles=""/>
    </sitemapnode>

    <sitemapnode>
    <sitemapnode url="device.aspx"
    title="device"
    description="device"
    roles=""/>
    <sitemapnode url="download.aspx"
    title="download"
    description="downloasd"
    roles=""/>
    <sitemapnode url="howto.aspx"
    title="help and how to"
    description="help and how to"
    roles=""/>
    <sitemapnode url="communities.aspx"
    title="communities"
    description="communities"
    roles=""/>
    <sitemapnode url="event.aspx"
    title="event"
    description="envent"
    roles=""/>
    <sitemapnode url="administrator/admin.aspx"
    title="administrator"
    description="administrator"
    roles=""/>
    </sitemapnode>



    </siteMap>

  5. #5
    کاربر دائمی آواتار eyes_shut_number1
    تاریخ عضویت
    اردیبهشت 1386
    محل زندگی
    http://blueco.ir
    سن
    38
    پست
    1,090

    نقل قول: منضور از این ارور چیست؟

    داخل تگ کد [code ] [/ code]بذار که بشه درست دیدش

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •