2011-12-24 8 views
7

मैं अपने नेविगेशन लिंक बनाने में मदद के लिए अपने एएसपीनेट एप्लिकेशन के web.sitemap का उपयोग करता हूं। इस तरह यदि मेरा नेविगेशन बदलता है, तो मैं web.sitemap को अद्यतन करता हूं, और यह स्वचालित रूप से मेरा नेविगेशन बनाता है। हालांकि एएसपीनेट 3.5 से 4.0 तक अपग्रेड करने के बाद मुझे अपनी web.sitemap फ़ाइल से संबंधित समस्याएं आ रही हैं। एएसपीनेट 4.0 में अपग्रेड करने के बाद मेरे वेब.sitemap से उत्पन्न लिंक कभी-कभी डोमेन नाम के बाद अजीब अक्षर डाले जाते हैं (उद्देश्य पर टूटी हुई लिंक क्योंकि मेरी सीमा 2 है):एएसपीनेट 3.5 से 4.0 में अपग्रेड वेब। साइटमैप समस्याएं

http //www.cheatsheetwarroom.com/ (ए (jUhJqoX4zAEkAAAAN2VlZTM2N2MtOWU5Mi00OWUyLTllZTUtMTY4MDY3ZGM2MTM2hMR-oHFFNS-DvXxMDadonaHu8pk1))/कल्पना फुटबॉल/एनएफएल/मुक्त/रैंकिंग/अपराध/चल-backs.aspx

आप यह मेरा Sitemap page (यदि वह टूट जब तुम को भी हो पर लिंक को समझते हुए देख सकते हैं इसे देखो)।

इस कारण की समस्या यह है कि निम्न विधि (जो साइटमैप नोड के यूआरएल के पैरामीटर के रूप में लेती है) मेरे आवेदन के दौरान किसी भी नोड्स के लिए वापस लौटने लगती है, भले ही मैं उन नोड्स को इंगित करता हूं जो मुझे पता है मेरी web.sitemap फ़ाइल में:

SiteMapNode myNode = SiteMap.Provider.FindSiteMapNode("~/fantasy-football/nfl/free/rankings/player-rankings.aspx"); 

यह शायद क्योंकि फंकी web.sitemap अब द्वारा उत्पन्न यूआरएल स्पष्ट नोड्स मैं तलाश कर रहा हूँ से मेल है। चूंकि मेरे कई मेनू नियंत्रण वर्तमान पृष्ठ को web.sitemap फ़ाइल में नोड्स की तुलना करने पर आधारित हैं, इसलिए मेरे अधिकांश नेविगेशन ब्रेक होते हैं। एएसपीनेट 3.5 पर वापस लौटने पर, सब कुछ फिर से काम करता है।

मुझे स्टैक ओवरफ़्लो पर this suggested solution मिला जो बताता है कि समस्या 'कुकीज' मोड से संबंधित है। हालांकि, जैसा कि आप नीचे मेरे web.config में देख सकते हैं मैं कुकीज़ के उपयोग को मजबूर कर रहा हूं। तो, या तो सुझाया गया फिक्स पूरी तरह से काम नहीं करता है या मैं कुकीज़ के उपयोग को सही ढंग से मजबूर नहीं कर रहा हूं। मुझे ध्यान रखना चाहिए कि web.config फ़ाइल (किसी भी रूप या फैशन में) को अपडेट करना कभी-कभी समस्या को ठीक करता है, केवल इसे सतह पर रखने के लिए।

मेरे web.config

<?xml version="1.0"?> 

<!-- 
    For more information on how to configure your ASP.NET application, please visit 
    http://go.microsoft.com/fwlink/?LinkId=169433 
    --> 

<configuration> 

    <!-- Note Custom CSWR Section --> 
    <configSections> 
    <section name="cheatSheetWarRoom" type="BP.CheatSheetWarRoom.CheatSheetWarRoomSection"/> 
    </configSections> 

    <!--Custom Section--> 
    <cheatSheetWarRoom defaultConnectionStringName="LocalSqlServer" enableAdvertisements="true" applicationState="prod"> 
    <contactForm mailTo="[email protected]" mailCC="[email protected]"/> 
    <sheets pageSize="25" providerType="BP.CheatSheetWarRoom.DAL.SqlClient.SqlSheetsProvider" enableCaching="true" cacheDuration="300" defaultSportCode="FOO" defaultQBsPerSheet="35" defaultRBsPerSheet="50" defaultWRsPerSheet="50" defaultTEsPerSheet="35" defaultKsPerSheet="32" defaultDEFsPerSheet="32"/> 
    </cheatSheetWarRoom> 

    <!--Point to external connection string--> 
    <connectionStrings configSource="configuration\connstrings\ConnStringsProd.config"/> 

    <!--This ensures this section isn't read by child apps--> 
    <location path="." inheritInChildApplications="false"> 


    <system.web> 

     <healthMonitoring enabled="true"> 
     <eventMappings> 
      <clear/> 
      <!-- Log ALL error events --> 
      <add name="All Errors" type="System.Web.Management.WebBaseErrorEvent" startEventCode="0" endEventCode="2147483647"/> 
      <!-- Log application startup/shutdown events --> 
      <!--<add name="Application Events" type="System.Web.Management.WebApplicationLifetimeEvent" startEventCode="0" endEventCode="2147483647"/>--> 
     </eventMappings> 
     <providers> 
      <clear/> 
      <!-- Provide any customized SqlWebEventProvider information here (such as a different connection string name value --> 
      <add connectionStringName="LocalSqlServer" maxEventDetailsLength="1073741823" buffer="false" name="SqlWebEventProvider" type="System.Web.Management.SqlWebEventProvider"/> 
     </providers> 
     <rules> 
      <clear/> 
      <add name="All Errors Default" eventName="All Errors" provider="SqlWebEventProvider" profile="Default" minInstances="1" maxLimit="Infinite" minInterval="00:00:00" custom=""/> 
      <!--<add name="Application Events Default" eventName="Application Events" provider="SqlWebEventProvider" profile="Default" minInstances="1" maxLimit="Infinite" minInterval="00:00:00" custom=""/>--> 
     </rules> 
     </healthMonitoring> 

     <!--Session Timeout--> 
     <sessionState timeout="60"/> 

     <!-- Autentication --> 
     <authentication mode="Forms"> 
     <forms name="CSWRFORMAUTH" protection="All" path="/" loginUrl="~/error/AccessDenied.aspx" timeout="2592000" cookieless="UseCookies"/> 
     </authentication> 

     <!-- Roles --> 
     <roleManager enabled="true"/> 

     <!--Membership--> 
     <membership defaultProvider="CSWR_MembershipProvider" userIsOnlineTimeWindow="15"> 
     <providers> 
      <add name="CSWR_MembershipProvider" connectionStringName="LocalSqlServer" applicationName="/" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Encrypted" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral,&#xA;    PublicKeyToken=b03f5f7f11d50a3a"/> 
     </providers> 
     </membership> 

     <!--Anonymous Users--> 
     <anonymousIdentification cookieless="UseCookies" enabled="true"/> 

     <!--Profile Info--> 
     <profile defaultProvider="CSWR_ProfileProvider"> 
     <providers> 
      <add name="CSWR_ProfileProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> 
     </providers> 
     <properties> 
      <add name="FirstName" type="String"/> 
      <add name="FavoriteTeam" type="String"/> 
      <add name="EmailNotifications" type="Bool" defaultValue="true"/> 
      <group name="SiteSettings"> 
      <add name="LastFootballCheatSheetID" type="Integer"/> 
      <add name="LastRacingCheatSheetID" type="Integer"/> 
      <add name="FiguredOutReordering" type="Boolean" defaultValue="false"/> 
      </group> 
     </properties> 
     </profile> 

     <!-- Keys for encrypting and decrypting passwords, generated at the website www.aspnetresources.com/tools/keycreator.aspx --> 
     <machineKey validationKey="B8C7F65D22B69591SDFSDFSDF68331064D46D3B43F7DB71F6AA6EE854475E10B92C030D7D41D75B3AB50F1B7B0F85126E68FFFE1F0114B825E6DD34D284D10" decryptionKey="3B168CB07DFD5F5FB7EAFDSDFDSSDF8BD41ABFB37D4537" validation="SHA1"/> 

     <!-- Custom Error Pages --> 
     <customErrors mode="Off" defaultRedirect="~/Error/Error.aspx"> 
     <error statusCode="408" redirect="~/Error/Error.aspx?code=408"/> 
     <error statusCode="505" redirect="~/Error/Error.aspx?code=505"/> 
     </customErrors> 

     <!--Sitemap--> 
     <siteMap defaultProvider="CSWR_SiteMapProvider" enabled="true"> 
     <providers> 
      <add name="CSWR_SiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/> 
     </providers> 
     </siteMap> 

     <!-- Pages --> 
     <pages theme="Web20" masterPageFile="~/MasterPages/Web20Master/Frame.master"> 
     <controls> 
      <add tagPrefix="captcha" namespace="WebControlCaptcha" assembly="WebControlCaptcha"/> 
      <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/> 
      <add tagPrefix="cswr" src="~/usercontrols/HoverImage.ascx" tagName="HoverImage"/> 
      <add tagPrefix="cswr" src="~/usercontrols/SEOPager.ascx" tagName="SEOPager"/> 
      <add tagPrefix="cswr" src="~/usercontrols/UserProfile.ascx" tagName="UserProfile"/> 
      <add tagPrefix="cswr" src="~/usercontrols/AdGenerator.aspx" tagName="AdGenerator"/> 
      <add tagPrefix="cswr" src="~/usercontrols/Football/PlayerRankingItemTemplate.aspx" tagName="PlayerRankingItemTemplate"/> 
      <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
     </controls> 
     </pages> 

     <compilation debug="false" targetFramework="4.0" /> 


     <!--<httpHandlers> 
     <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha"/> 
     </httpHandlers>--> 
    </system.web> 
</location> 

    <location path="EditProfile.aspx"> 
    <system.web> 
     <authorization> 
     <allow roles="Member"/> 
     <deny users="*"/> 
     </authorization> 
    </system.web> 
    </location> 

    <system.net> 
    <mailSettings> 
     <smtp deliveryMethod="Network" from="[email protected]"> 
     <network defaultCredentials="true" host="localhost" port="25"/> 
     </smtp> 
    </mailSettings> 
    </system.net> 


    <system.webServer> 
    <modules runAllManagedModulesForAllRequests="true"/> 
    <handlers> 
     <add name ="CaptchaImage" verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha"/> 
    </handlers> 
    </system.webServer> 

</configuration> 

मेरे web.sitemap

<?xml version="1.0" encoding="utf-8" ?> 
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > 

    <siteMapNode url="~/default.aspx" title="Fantasy Cheat Sheets" description="Create customized fantasy draft cheat sheets for various fantasy sports including NFL football and NASCAR racing, or free."> 

    <siteMapNode url="~/register.aspx" title="Register" description="Register to unlock the full power of CheatSheetWarRoom." /> 
    <siteMapNode url="~/sitemap.aspx" title="Sitemap" description="View all pages of our website provided as hyperlinks for easy navigation." /> 
     <siteMapNode url="~/faq.aspx" title="FAQ" description="Get answers to frequently asked questions." /> 
     <siteMapNode url="~/about.aspx" title="About" description="Read about what drove the creation of our cheat sheet creation tools." /> 
     <siteMapNode url="~/contact.aspx" title="Contact" description="Contact us with any queries or suggestions you may have." /> 
     <siteMapNode url="~/passwordrecovery.aspx" title="Password Recovery" description="If you've forgot your password, validate yourself and we'll sent it to you." /> 
     <siteMapNode url="~/editprofile.aspx" title="Edit Profile" description="Edit your personal profile to keep your personal information current." /> 
     <siteMapNode url="~/admin/Users/UserStats.aspx?" title="Admin" roles="Administrator" description="An entry point into the administration menu." /> 

    <!-- **************** --> 
    <!-- Fantasy Football --> 
    <!-- **************** --> 

    <siteMapNode url="/FantasyFootball" title="Fantasy Football" description="These pages are relevant to fantasy football." roles="*" link="false"> 

     <!--Fantasy Football Landing Page--> 
     <siteMapNode url="~/fantasy-football/nfl/cheat-sheets.aspx" title="Fantasy Football Cheat Sheets" description="Prepare for your 2011 NFL fantasy football draft by creating customized fantasy football cheat sheets, for free."></siteMapNode> 
     <!--Fantasy Football Help--> 
     <siteMapNode url="~/fantasy-football/nfl/cheat-sheet-help.aspx" title="Football Cheat Sheet Help" description="Explore all features for creating fantasy football cheat sheets."/> 


     <siteMapNode url="~/fantasy-football/nfl/trophies/cheap-trophies.aspx" title="Cheap Fantasy Football Trophies" description="These cheap fantasy football trophies are of the highest quality."></siteMapNode> 
     <siteMapNode url="~/fantasy-football/nfl/trophies/funny-trophies.aspx" title="Funny Fantasy Football Trophies" description="Add a comedic touch to your league with a funny fantasy football trophy."></siteMapNode> 



     <!--Fantasy Football Cheat Sheet Creation--> 
      <siteMapNode url="/FantasyFootballCreateSheetCreation" title="Fantasy Football Cheat Sheet Creation" description="The creation of cheat sheets." roles="*" link="false"> 
       <siteMapNode url="~/fantasy-football/nfl/create/custom-sheet.aspx" title="Custom Fantasy Football Cheat Sheet" description="Use this free, custom fantasy football cheat sheet to easily create your NFL fantasy player rankings using drag and drop."></siteMapNode> 
     <siteMapNode url="~/fantasy-football/nfl/create/editsheet.aspx" title="Edit Fantasy Football Cheat Sheet" showNode="false"></siteMapNode> 
     <siteMapNode url="~/fantasy-football/nfl/create/newsheet.aspx" title="New Fantasy Football Cheat Sheet"></siteMapNode> 
     <siteMapNode url="~/fantasy-football/nfl/create/managesheets.aspx" title="Manage Fantasy Football Cheat Sheet"></siteMapNode> 
     <siteMapNode url="~/fantasy-football/nfl/create/configureprint.aspx" title="Configure Printable Fantasy Football Cheat Sheet" roles="Member, SupplementalSource, Administrator"></siteMapNode> 
     </siteMapNode> <!-- Close Fantasy Football Cheat Sheet Creation --> 

     <!-- Fantasy Football Free --> 
     <siteMapNode url="/FantasyFootballFree" title="Free Fantasy Football Resources" roles="*" link="false"> 


     <!-- Fantasy Football (Offensive) Player Rankings--> 
     <siteMapNode url="~/fantasy-football/nfl/free/rankings/player-rankings.aspx" roles="*" title="2011 NFL Player Rankings"> 
      <siteMapNode url="/FantasyFootballFreeRankingsOffense" title="Offensive Positions" link="false" roles="*"> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/quarterbacks.aspx" title="Quarterback Rankings" description="View our free quarterback rankings in preparation for your 2011 fantasy football draft." /> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/running-backs.aspx" title="Running Back Rankings" description="View our free running back rankings in preparation for your 2011 fantasy football draft." /> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/wide-receivers.aspx" title="Wide Receiver Rankings" description="View our free wide receiver rankings in preparation for your 2011 fantasy football draft." /> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/tight-ends.aspx" title="Tight End Rankings" description="View our free tight end rankings in preparation for your 2011 fantasy football draft." /> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/kickers.aspx" title="Kicker Rankings" description="View our free kicker rankings in preparation for your 2011 fantasy football draft." /> 
      <siteMapNode url="~/fantasy-football/nfl/free/rankings/offense/defenses.aspx" title="Defense Rankings" description="View our free defense rankings in preparation for your 2011 fantasy football draft." /> 
      </siteMapNode> 
     </siteMapNode> <!-- Close Fantasy Football Player Rankings --> 

     <!-- Printable Fantasy Football Cheat Sheets--> 
     <siteMapNode url="~/fantasy-football/nfl/free/printable/cheat-sheets.aspx" title="Printable Fantasy Football Cheat Sheets" roles="*"> 
      <siteMapNode url="/FantasyFootballFreePrintableCheatSheetsOffense" title="Offensive Positions" link="false" roles="*"> 
      <!--All-in-One--> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/cheat-sheet-with-roster.aspx" title="Printable Fantasy Football Cheat Sheet With Roster" roles="*"/> 
      <!--By Position--> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/quarterbacks-cheat-sheet.aspx" title="Printable Quarterbacks Cheat Sheet" roles="*"/> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/running-backs-cheat-sheet.aspx" title="Printable Running Backs Cheat Sheet" roles="*"/> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/wide-receivers-cheat-sheet.aspx" title="Printable Wide Receivers Cheat Sheet" roles="*"/> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/tight-ends-cheat-sheet.aspx" title="Printable Tight Ends Cheat Sheet" roles="*"/> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/kickers-cheat-sheet.aspx" title="Printable Kickers Cheat Sheet" roles="*"/> 
      <siteMapNode url="~/fantasy-football/nfl/free/printable/offense/defenses-cheat-sheet.aspx" title="Printable Defenses Cheat Sheet" roles="*"/> 
      </siteMapNode> <!-- Close Printable Fantasy Football Cheat Sheets OFFENSE --> 
     </siteMapNode> <!-- Close Printable Fantasy Football Cheat Sheets--> 

     <!-- Fantasy Football Links --> 
     <siteMapNode url="~/fantasy-football/nfl/free/links.aspx" title="Fantasy Football Links" description="This page contains links to various fantasy NFL football websites categorized by type." /> 

     </siteMapNode> <!-- Close Printable Fantasy Football Free --> 

     </siteMapNode> <!-- Close Fantasy Football --> 

    <!-- ************** --> 
    <!-- Fantasy Racing --> 
    <!-- ************** --> 
    <siteMapNode url="/FantasyRacing" title="Fantasy Racing" description="These pages are relevant to fantasy racing." roles="*" link="false"> 

     <!-- Fantasy Racing Landing Page --> 
     <siteMapNode url="~/fantasy-racing/nascar/cheat-sheets.aspx" title="Fantasy Racing Cheat Sheets" description="Prepare for your 2011 NASCAR fantasy racing draft by creating customized fantasy racing cheat sheets, for free."></siteMapNode> 
     <siteMapNode url="~/fantasy-racing/nascar/cheat-sheet-help.aspx" title="Racing Cheat Sheet Help" description="Explore all features for creating fantasy racing cheat sheets."/> 
     <!-- Fantasy Racing Cheat Sheet Creation --> 
     <siteMapNode url="/FantasyRacingCreateSheetCreation" title="Fantasy Racing Cheat Sheet Creation" description="The creation of cheat sheets." roles="*" link="false"> 
     <siteMapNode url="~/fantasy-racing/nascar/create/custom-sheet.aspx" title="Custom Fantasy Racing Cheat Sheet" description="Use this free, custom fantasy racing cheat sheet to easily create your fantasy NASCAR driver rankings using drag and drop."></siteMapNode> 
     <siteMapNode url="~/fantasy-racing/nascar/create/editsheet.aspx" title="Edit Fantasy Racing Cheat Sheet" showNode="false"></siteMapNode> 
     <siteMapNode url="~/fantasy-racing/nascar/create/newsheet.aspx" title="New Fantasy Racing Cheat Sheet"></siteMapNode> 
     <siteMapNode url="~/fantasy-racing/nascar/create/managesheets.aspx" title="Manage Fantasy Racing Cheat Sheet"></siteMapNode> 
     </siteMapNode> <!-- Close Fantasy Racing Cheat Sheet Creation --> 

     <!-- Fantasy Racing Free --> 
     <siteMapNode url="/FantasyRacingFree" title="Free Fantasy Racing Resources" roles="*" link="false"> 
     <!-- Links --> 
     <siteMapNode url="~/fantasy-racing/nascar/free/links.aspx" title="Fantasy Racing Links" description="This page contains links to various fantasy NASCAR racing websites categorized by type." /> 
     <!--Fantasy NASCAR Driver Rankings--> 
     <siteMapNode url="~/fantasy-racing/nascar/free/rankings/drivers.aspx" title="2011 NASCAR Driver Rankings" description="Use this free, custom fantasy racing cheat sheet to easily create your fantasy NASCAR driver rankings using drag and drop." /> 
     <!--Free Fantasy NASCAR Cheat Sheets--> 
     <siteMapNode url="~/fantasy-racing/nascar/free/printable/drivers-cheat-sheet.aspx" title="Free Printable Fantasy Racing Cheat Sheet" description="This free, printable fantasy racing cheat sheet includes all drivers for the 2011 fantasy NASCAR draft." /> 
     </siteMapNode> <!-- Close Fantasy Racing Free --> 

    </siteMapNode> <!-- Close Fantasy Racing --> 


    <!-- Legal --> 
    <siteMapNode title="Legal" roles="*"> 
      <siteMapNode url="~/Legal/Disclaimer.aspx" title="Disclaimer" description="Read our legal disclaimer to learn about who we are AND AREN'T affiliated with."/> 
      <siteMapNode url="~/Legal/PrivacyPolicy.aspx" title="Privacy Policy" description="Your privacy is important to us and we won't share this information."/> 
      <siteMapNode url="~/Legal/TermsOfService.aspx" title="Terms of Service" description="Our Terms of Service provide you with rules dictating how you can use our website."/> 
     </siteMapNode> <!--Close Legal--> 


    <!--Administrative--> 
    <siteMapNode url="/AdminMain" roles="Administrator" title="Admin" showNode="false"> 

     <siteMapNode url="~/admin/summary.aspx" roles="Administrator" title="Stats" description=""> 
     <!--Users--> 
     <siteMapNode title="Users" roles="Administrator" url="/Users" description=""> 
      <siteMapNode url="~/admin/users/manageusers.aspx" roles="Administrator" title="Manage Users" description="" /> 
      <siteMapNode url="~/admin/users/edituser.aspx" roles="Administrator" title="Edit User" description="" /> 
     </siteMapNode> 
     <!--Football--> 
     <siteMapNode title="Football" roles="Administrator" url="/Football" description=""> 
      <siteMapNode url="~/admin/sports/football/sheetsettings.aspx" roles="Administrator" title="Sheet Settings" description="" /> 
      <!--Players--> 
      <siteMapNode title="Players" roles="Administrator" url="/FootballPlayers" description=""> 
      <siteMapNode url="~/admin/sports/football/players/manageplayers.aspx" roles="Administrator" title="Manage Players" description="" /> 
      <!--Stats--> 
      <siteMapNode title="Stats" url="/FootballStats" roles="Administrator" description=""> 
       <siteMapNode url="~/admin/sports/football/players/stats/manageplayerseasonstats.aspx" roles="Administrator" title="Manage Player Season Stats" description="" /> 
       <siteMapNode title="Import" roles="Administrator" description=""> 
       <siteMapNode url="~/admin/sports/football/players/stats/import/importseasonstats.aspx" roles="Administrator" title="Import Season Stats" description="" /> 
       <siteMapNode url="~/admin/sports/football/players/stats/import/mapplayerids.aspx" roles="Administrator" title="Map PlayerIDs" description="" /> 
       </siteMapNode> 
      </siteMapNode> 
      </siteMapNode> 
      <!--Supplementals--> 
      <siteMapNode title="Supplementals" roles="Administrator" url="/FootballSupplementals" description=""> 
      <siteMapNode roles="Administrator" url="~/admin/sports/football/supplementals/managesupplementalsheets.aspx" title="Manage Supplemental Sheets" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/football/supplementals/editsupplementalsheet.aspx" title="Edit Supplemental Sheet" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/football/supplementals/ranksupplementalplayers.aspx" title="Rank Supplemental Players" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/football/supplementals/managesupplementalsources.aspx" title="Manage Supplemental Sources" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/football/supplementals/scraperankings.aspx" title="Scrape Rankings" description="" /> 
      </siteMapNode> 
     </siteMapNode> 
     <!--Racing--> 
     <siteMapNode title="Racing" roles="Administrator" url="/Racing" description=""> 
      <siteMapNode url="~/admin/sports/racing/sheetsettings.aspx" roles="Administrator" title="Sheet Settings" description="" /> 
      <!--Drivers--> 
      <siteMapNode title="Drivers" roles="Administrator" url="/RacingDrivers" description=""> 
      <siteMapNode url="~/admin/sports/racing/drivers/managedrivers.aspx" roles="Administrator" title="Manage Drivers" description="" /> 
      <!--Stats--> 
      <siteMapNode title="Stats" url="/RacingStats" roles="Administrator" description=""> 
       <siteMapNode url="~/admin/sports/racing/drivers/stats/managedriverseasonstats.aspx" roles="Administrator" title="Manage Driver Season Stats" description="" /> 
      </siteMapNode> 
      </siteMapNode> 
      <!--Supplementals--> 
      <siteMapNode title="Supplementals" roles="Administrator" url="/RacingSupplementals" description=""> 
      <siteMapNode roles="Administrator" url="~/admin/sports/racing/supplementals/managesupplementalsheets.aspx" title="Manage Racing Supplemental Sheets" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/racing/supplementals/ranksupplementalplayers.aspx" title="Rank Supplemental Players" description="" /> 
      <siteMapNode roles="Administrator" url="~/admin/sports/racing/supplementals/editsupplementalsheet.aspx" title="Edit Supplemental Sheet" description="" /> 
      </siteMapNode> 
     </siteMapNode> 
     <!--Health--> 
     <siteMapNode title="Health" roles="Administrator" url="/Health" description=""> 
      <siteMapNode roles="Administrator" url="~/admin/health/manageexceptions.aspx" title="Manage Exceptions" description="" /> 
     </siteMapNode> 
     </siteMapNode> 


     </siteMapNode> 

     <siteMapNode title="Errors"> 
     </siteMapNode> 

    </siteMapNode> 


</siteMap> 

मैं एक वर्ष का बड़ा हिस्सा तो किसी भी मदद की सराहना की जाएगी के लिए इस समस्या को हल का पीछा करते हुए किया गया है।

+0

एक और अधिक संक्षिप्त, पूर्ण उदाहरण में नीचे इस पोस्ट ट्रिम। जैसा कि यह अभी खड़ा है, यह एक [पाठ की दीवार] (http://uncyclopedia.wikia.com/wiki/Wall_of_Text) (या कोड) है और आप जो पूछ रहे हैं * बिल्कुल * समझना मुश्किल बनाता है। – casperOne

+1

मैंने अपना प्रश्न अधिक संक्षिप्त बनाने की कोशिश की। मैं यह सुनिश्चित करने के लिए कि मेरी प्रासंगिक जानकारी प्रदान की गई है, मेरा पूरा web.config और web.sitemap शामिल करना चाहता था। – bperniciaro

+0

हाय :-) क्या आपको कभी इस समस्या का समाधान मिला? ऐसा लगता है कि जिस साइट पर हम काम करते हैं, उसमें से एक समस्या यह समस्या है। – Rasmus

उत्तर

1

समस्या विशेष रूप से anonymousIdentification के लिए कुकीज़ के उपयोग के साथ झूठ बोलती प्रतीत होती है। यह उरी में स्ट्रिंग के प्रारूप द्वारा देखा जा सकता है।

ए (XXXX): यह अनाम-आईडी है। इसका उपयोग आपके आवेदन तक पहुंचने वाले (अनाम) उपयोगकर्ता को पहचानने के लिए किया जाता है।Source

आपका web.config लेकिन उस विकल्प को अक्षम और केवल UseCookies करने के लिए सेट दिखाने के लिए प्रतीत होता है।

आप कुकीज का उपयोग करने के लिए सत्र को भी मजबूर कर सकते हैं।

<sessionState mode="InProc" cookieless="UseCookies" timeout="60" /> 

अधिक जानकारी: http://msdn.microsoft.com/en-us/library/h6bb9cz9.aspx

+0

धन्यवाद benni_mac_b। जैसा कि आपने सुझाव दिया है, मैंने तत्व द्वारा अपडेट किया है और आप सही हैं कि cookieless के लिए डिफ़ॉल्ट मान "झूठा" प्रतीत होता है। समस्या क्षणिक रूप से गायब हो गई है (जैसा कि यह web.config अपडेट के बाद पहले किया गया है) इसलिए मैं यह देखना जारी रखूंगा कि यह चिपक गया है या नहीं। – bperniciaro

+0

साइटमैप नोड्स के संबंध में, मुझे विश्वास नहीं है कि एक एक्सटेंशन छोड़ना समस्या का कारण है। जब URL को Discombobulated नहीं मिलता है FindSitemapNode() विधि केवल एक्सटेंशन के बिना नोड्स लौटता है। जिन नोड्स में एक्सटेंशन नहीं हैं वे उद्देश्य से इस तरह हैं क्योंकि वे श्रेणियों का प्रतिनिधित्व करते हैं और संबंधित पृष्ठ नहीं हैं। जब साइटमैप वृक्षदृश्य द्वारा उत्पन्न होता है तो वे बिना लिंक के नोड्स बन जाते हैं। – bperniciaro

+0

पहली टिप्पणी में उल्लिखित सत्रस्टेट को अपडेट किया गया। Web.config को बदलना आम तौर पर समस्या को अस्थायी रूप से ठीक करता है ताकि सत्यापन जारी रखा जा सके। लेकिन संकेत सकारात्मक हैं। – bperniciaro

संबंधित मुद्दे