Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • louisjrdev 107 posts 344 karma points c-trib
    Feb 26, 2019 @ 16:35
    louisjrdev
    0

    Error Running fresh V8 Install

    Hi all,

    Got an odd issue setting up a new V8 site,

    I setup a new ASP.Net Web Application (Empty) using .Net version 4.7.2 and installed the nuget package, then when i build and run the site through IIS im getting the following error:

    enter image description here

    Any help is much appreciated

  • Jo Kendal 32 posts 194 karma points
    Feb 26, 2019 @ 16:38
    Jo Kendal
    0

    Have you tried adding a reference to that dll, i.e. System.IO.Compression

  • louisjrdev 107 posts 344 karma points c-trib
    Feb 26, 2019 @ 16:41
    louisjrdev
    0

    My project already has a reference to 4.2.0.0 although it is showing another available version to reference which is 4.1.2.0

  • Jo Kendal 32 posts 194 karma points
    Feb 26, 2019 @ 16:48
    Jo Kendal
    0

    I have a fresh install in front of me with no reference to that namespace at all. What are you using it for? Where is it being referenced?

  • louisjrdev 107 posts 344 karma points c-trib
    Feb 26, 2019 @ 16:51
    louisjrdev
    0

    im not using it at all, ive literally not even set up a db yet, it was in as dependent assembly in the web.config

    <dependentAssembly>
        <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
      </dependentAssembly>
    

    i have also tried deleting those lines in web.config but then it goes on to do the same for System.IO

  • Jo Kendal 32 posts 194 karma points
    Feb 26, 2019 @ 16:53
    Jo Kendal
    100

    So - on my fresh install all I have is:

      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.2.3.0" newVersion="1.2.3.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    
  • louisjrdev 107 posts 344 karma points c-trib
    Feb 26, 2019 @ 16:56
    louisjrdev
    0

    Thanks Jo this fixed it, interesting how my install was different though, tried installing a fresh project twice with the same result.

  • Jo Kendal 32 posts 194 karma points
    Feb 26, 2019 @ 16:57
    Jo Kendal
    0

    No worries - no idea why my badge states [notactivated]!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies