Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception if no strictCompatibilityModeVersion is defined in app/web.config (Redis only) #165

Closed
MichaCo opened this issue Jun 12, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@MichaCo
Copy link
Owner

MichaCo commented Jun 12, 2017

In version 1.1.0 the strictCompatibilityModeVersion setting has been added to the Redis configuration.

Unfortunately, if nothing is defined for this setting if configured via app/web.config, an error is thrown that the version string is not valid.

Workaround: Until fixed, set the strictCompatibilityModeVersion to a valid version string, e.g. "3.0"

  <cacheManager.Redis xmlns="http:https://cachemanager.michaco.net/schemas/RedisCfg.xsd">
    <connections>
      <connection id="redisConfig" allowAdmin="true" strictCompatibilityModeVersion="3.0">
        <endpoints>
          <endpoint host="localhost" port="6379" />
        </endpoints>
      </connection>
    </connections>
  </cacheManager.Redis>

see also #164

@MichaCo MichaCo added the bug label Jun 12, 2017
@MichaCo MichaCo self-assigned this Jun 12, 2017
MichaCo added a commit that referenced this issue Jun 12, 2017
Sanity check for expiration in OutputCache
@MichaCo MichaCo added this to the 1.1.1 milestone Jun 12, 2017
@MichaCo
Copy link
Owner Author

MichaCo commented Jul 2, 2017

Fixed in 1.1.1

@MichaCo MichaCo closed this as completed Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant