Errors while trying to set up first time.

Errors while trying to set up first time.

  • Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0246: The type or namespace name 'CommunityServer' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:

    Line 60:       </controls>

    Line 61:       <namespaces>

    Line 62:         <add namespace="CommunityServer.Controls.Extensions"/>

    Line 63:       </namespaces>

    Line 64:     </pages>

    First I thought may have been missing bin files but after adding multiple files I get another error about IKernal.

    Help Please.

  • What version of Analytics are you installing? Is this being installed in a virtual directory? Has it ever worked?

    Thanks
    Jana

    Sent from my iPhone

    On Nov 10, 2011, at 3:47 PM, "Billy" <bounce-BillyS@communities.telligent.com> wrote:

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0246: The type or namespace name 'CommunityServer' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:

    Line 60:       </controls>

    Line 61:       <namespaces>

    Line 62:         <add namespace="CommunityServer.Controls.Extensions"/>

    Line 63:       </namespaces>

    Line 64:     </pages>

    First I thought may have been missing bin files but after adding multiple files I get another error about IKernal.

    Help Please.

  • Jana

    It is 3.6 first time install. So it has never been working.

    I am following the instructions for installl here.  telligent.com/.../3387.aspx

    I have MyCommunityWebsite on the server working fine.  It is on a web server with several other websites.  Then I install the web portion of analytics as an application (not a virtual directory) under MyCommunityWebsite. Naming it "TelligentAnalytics"  I set up the Database on seperate server and configure permissions as the instructions state.  But when i get to the part to install license I need to navigate to the webstie i am getting errors when trying to bring up the analytics page.

    I get the Compile error - So I tried moving dll from the bin of the MyCommunityWebsite into the bin of TelligentAnalytics but after copying several dll I finally got another error about the IKernal.  

    Thanks

  • What is going on here is the community web.config is propagating to the analytics web.config since it’s an application under it in IIS. You need to either </clear> the namespaces in the Telligent analytics config (at the top), or tell the root site to not propagate to its child apps

  • Thanks for the reply I will try it

    What is the easiest way to stop the root site from propagating to the child apps?

    Thanks again.

  • Still having some troubles getting analytics to work.

    I thought i was using the correct option in the config to not propagate to child apps

     <location path="." inheritInChildApplications="false">

       <system.web>

        ...

       </system.web>  

     </location>

    But that did not help.  Still was getting same erros for missing DLLs.

    and like before if i add the missing DLLs then i get stuck on an error about IKernel

    the Details of that error -- Ninject.Core.ActivatiionException: Error activating IKernel: no matching bindings are available, and teh type is not self--bindable (or implicit bindig is disabled)

    Any more advise would be appreciated.

    Thanks

  • I've seen this method fail before - Try to add <clear/> 's to the analytics config in each section above - aspdotnetfaq.com/.../how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx ... looks like you tried the second method here, which should have worked. :(

    I would try the <clear/> method to see if you get any difference. If you want to confirm this is indeed the problem, you can setup a separate site in IIS (not an application under another one) and make sure it works.

  • I seperated the analytics site out and still getting some issues. I got another could not load file or assembly for the Ninject.Core this time. So i copied the dll from the community site then I got another SqlRoleProvider error and changed it to enabled=false in the webconfig.  Now I finally am getting a Telligent analytics page with warninf of NO SITE but i assume this is because it has never been configured yet.  ?? I can log in with the webconfig user and password...I am assuming it will work so what should the next steps be to make this work as a child app under the website?

  • Yes, no site is expected.

    Did you try the <clear/> route?

  • No i have not tried that... how and where in the config file is that set  

  • I'd start here: see if this will do it. Add this clear as the first line inside of the modules and handlers section (assuming iis7+)

    <httpModules>

    <clear/>

    <httpHandlers>

    <clear/>

  • The clear changes did not make a difference on the analytics site.  Still the same errror on the analytics page wanting or missing files lke original post.

  • What is the exact error you are getting right now?

  • Try Adding this in the pages section:

    <namespaces>

          <remove namespace="Telligent.Evolution.Controls.Extensions" />

    </namespaces>

  • Could not load file or assembly 'communtiyserver.components' or one of its dependencies.  The system cannot find the file specified.

    It is the same thing I was experiencing before.  If i strart copying dll from the community bin to replace the missing ones in analytics then I can move on to the next warning or the missing file.  Looks like it is going through the community config and erroring on everythign analytics does not have.