AI OnAI Off
Hello Singo
More information about the module can be found here:
The source code is available here so can use this for debugging the cause:
David
Hello Ringo
Thanks for the feedback. The version of EpiRobots you are using has been downloaded 311 times from the Episerver Nuget Feed and is compatible with Episerver CMS 6 R2. It was never tested for use with Episerver CMS 6 so I cannot confirm if it will work or not. However I know of several Episerver CMS 6 R2 projects that are using it sucessfully in production.
As an open source project you are welcome to submit a patch once the source of any issue is found.
David
Hello.
Anyone know how I can debug robots.txt functionality in episerver 6?
After installing this in Package Manger Console:
I am able to view "Manage robots.txt content" in Admin > Tools. All the sites are listed in the dropdown after "Select your site and host to edit the robots.txt file".
However, if I try to "Save" the content of robots.txt I get:
Server Error in '/' Application.
Index was outside the bounds of the array.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
EPiRobots.Resources.Admin.AdminManageRobotsTxt.btnSave_Click(Object sender, EventArgs e) +925
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11762637
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6016
WHat is a good way to debug this to figure out the root cause?