Profile Picture

Compile error on code injection

Posted By Wiewiek Sunarko 13 Years Ago
Author
Message
Wiewiek Sunarko
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 6, Visits: 1

I added a code to calculate cummulative sum of the second value in the chart via code injection.  When I hit the "Compile" button, it gave me the following error:

Info:

Compiling...

error CS0006: Metadata file 'C:\WINDOWS\assembly\GAC_MSIL\Nevron.System\10.5.31.12__6a987feae5e496fd\Nevron.Presentation.dll' could not be found

error CS0006: Metadata file 'C:\WINDOWS\assembly\GAC_MSIL\Nevron.System\10.5.31.12__6a987feae5e496fd\Nevron.Chart.dll' could not be found

error CS0006: Metadata file 'C:\WINDOWS\assembly\GAC_MSIL\Nevron.System\10.5.31.12__6a987feae5e496fd\Nevron.Chart.Template.dll' could not be found

Compiled with 3 error(s).

I had checked that the Nevron.*.dll are in GAC and this is what listed for "Referenced Assemblies" (I left it as default).

  • System.dll
  • System.Data.dll
  • System.Deployment.dll
  • System.Drawing.dll
  • System.Windows.Forms.dll
  • [AppDir]\Nevron.System.dll
  • [AppDir]\Nevron.Presentation.dll
  • [AppDir]\Nevron.Chart.dll
  • [AppDir]\Nevron.Chart.Template.dll
  • What do I need to do to get the code injection to work? Should I copy the dll files to the



    Nevron Support
    Posted 13 Years Ago
    View Quick Profile
    Supreme Being

    Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

    Group: Forum Members
    Last Active: Last Year
    Posts: 3,039, Visits: 3,746

    Hello Wiewiek,
    The required Nevron assemblies are in the GAC, however they can't be found properly. You will also have to copy the assemblies to the virtual directory of the SharePoint application (in the Bin folder).

    For example: from the Nevron SharePoint Vision installation folder:
    - for SharePoint 2007 “C:\Program Files\Nevron Software\Nevron SharePoint Vision 2010.1 for MOSS and WSS 2007\Bin”
    - for SharePoint 2010 “C:\Program Files(x86)\Nevron Software\Nevron SharePoint Vision 2010.1 for MOSS and WSS 2010\Bin”

    Copy: Nevron.Presentation.dll; Nevron.Chart.dll; Nevron.Chart.Template.dll; Nevron.System.dll

    Paste the assemblies in: “C:\Inetpub\wwwroot\wss\VirtualDirectories\YourWebApplication\bin”

    Hopefully this helps.



    Best Regards,
    Nevron Support Team





    Similar Topics


    Reading This Topic