Strange Error in Authorization Rules

Strange Error in Authorization Rules

Old forum URL: forums.lhotka.net/forums/t/6621.aspx


rob.polak posted on Tuesday, March 17, 2009

Error: "Unable to find an entry point named 'nonexistent_dummy' in DLL 'MSVCR80.dll'."
Class: AuthorizationRules
Detailed Error Image : http://img18.imageshack.us/img18/4884/errc.jpg
CSLA Version: 3.6.1

    public static bool CanGetObject(Type objectType)
    {
      bool result = true;
      var principal = ApplicationContext.User; <- Errors out here
      var allow = Csla.Security.AuthorizationRules.GetAllowGetRoles(objectType);
      if (allow != null)
      {
        if (!Csla.Security.AuthorizationRulesManager.PrincipalRoleInList(principal, allow))
          result = false;
      }

The error occurs on the bolded line.  The strange part is that I am not using any of the authorization rules.  

Any clue what would cause this error?

Thanks!

Copyright (c) Marimer LLC