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

Some packages remove an attribute on the assemblyBinding, which causes issues on some setups #29

Open
wwwysocki opened this issue Aug 29, 2016 · 0 comments
Assignees

Comments

@wwwysocki
Copy link
Contributor

wwwysocki commented Aug 29, 2016

Notes:

  1. Because a package removes the configuration setting (as described below), some websites becomes inaccessible.
  2. Currently, two packages are identified with this issue:
  • Composite.Community.TellAFriend
  • Composite.Media.FileDownloadTracker

Repro:

  1. Make a copy of ~/Web.config.
  2. Install one of the packages above (e.g. Composite.Community.TellAFriend)
  3. Compare ~/Web.config with the copy frm Step 1

Expected:

The <assemblyBinding> element keeps its attribute:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
   ...

Actual:

The <assemblyBinding> element loses its attribute:

<assemblyBinding>
  <dependentAssembly>
    <assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
    ...

On some setups, it causes a "server error" and the website becomes inaccessible.

Workaround:

  • Manually add the deleted attribute xmlns="urn:schemas-microsoft-com:asm.v1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants