Finally got the site working after moving to Win 10 but would like some insight as to why.

Daniel Main asked on April 2, 2019 20:46

I was having problems last week when attempting to get the site running from VS2017 on my new Win10 box.

It had finally come down to this error:

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Reference.svcmap: Inheritance security rules violated by type: 'LinqToTwitter.MvcOAuthActionResult'. Derived types must either match the security accessibility of the base type or be less accessible.

Source Error: 


[No relevant source lines]

Source File: /App_WebReferences/KenticoLicenseServiceReference/    Line: 1 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3163.0

I found the KenticoLicenseServiceReference reference and as per some hints in other threads I go ahead and exclude it from the project, to my surprise the site compiles up just fine (the KenticoLicenseServiceReference was only referenced in one location and not even used.

So my question is this, what is this for and might there be any fallout from excluding it?

Recent Answers


Rui Wang answered on April 2, 2019 21:57

Did you inherit this solution from someone else? "LinqToTwitter.MvcOAuthActionResult" is not even Ketnico (https://github.com/JoeMayo/LinqToTwitter/wiki/Implementing-OAuth-for-ASP.NET-MVC)

Also, not sure what '/App_WebReferences/KenticoLicenseServiceReference/" is as I can't find it in any of my solutions.

0 votesVote for this answer Mark as a Correct answer

Daniel Main answered on April 2, 2019 22:04

Yep, a 3rd party had developed the site for us and I was hired on a few years ago to fix bugs since I have Angular knowledge.

Makes sense that I could not find any thing about it either, if it is not anything that Kentico actually uses.

Thanks for the info.

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on April 2, 2019 22:09

They may have customized some kind of service based on Kentico's license service which check to see if some features should be available to the license edition. But don't know what they used this for.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.