Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

POSSIBLE RobotsTxtHandler robots.txt file - Unable to update the content there is internal server error when we click on save.

$
0
0

We have 3rd party package which is POSSIBLE RobotsTxtHandler for managing our robots.txt file in our website. And there is this error "The page cannot be displayed because an internal server error has occurred." when we update content or click on save button in all the environments of Episerver and not in local development environment where it saves successfully.

This is error log details:

Operation name    GET RobotsTxtAdmin/Edit

ErrorMessage    Incorrect syntax near the keyword 'Key'.

SELECT Id, ItemType FROM [dbo].[VW_POSSIBLE.RobotsTxtHandler.RobotsTxtData] WHERE Key is null


Event time    8/28/2019, 11:12:05 AM (Local time)   

Message    Object reference not set to an instance of an object.   

Exception type    System.NullReferenceException   

Failed method    POSSIBLE.RobotsTxtHandler.UI.Controllers.RobotsTxtAdminController.Edit

Telemetry type    exception   

Operation name    GET RobotsTxtAdmin/Edit

Problem Id    System.NullReferenceException at POSSIBLE.RobotsTxtHandler.UI.Controllers.RobotsTxtAdminController.Edit

System.NullReferenceException:

  at POSSIBLE.RobotsTxtHandler.UI.Controllers.RobotsTxtAdminController.Edit (POSSIBLE.RobotsTxtHandler, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null)

  at lambda_method (Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)

  at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod (System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

  at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass24_0.<InvokeActionMethodWithFilters>b__0 (System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

  at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

  at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

  at System.Web.Mvc.ControllerActionInvoker.InvokeAction (System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

According to this link https://github.com/markeverard/POSSIBLE.RobotsTxtHandler/issues/11 this error will be resolved if we delete the physical file if it’s available in website. And we tried this but this issue is still there even if file is removed if physically present.

Please help.

 


Viewing all articles
Browse latest Browse all 6894

Trending Articles