Telligent Community 7 as a virtual application causes problems

Telligent Community 7 as a virtual application causes problems

This question is answered

Hi,

We are trying to utilize telligent community 7 in our existing web site and I successfully installed it in dev area.

However, if it is in the virtual application e.g. www.mysite.com/telligentcommunity7/, it causes the following problems :

1. Sign out hangs: www.mysite.com/telligentcommunity7/logout.aspx says Signing out of Telligent... and stays the same page forever.

2. Unable to generate my api keys: If I click Generate button, the page is refreshed, but nothing happens.

I have no problem if I create a site, not a virtual application.

Please help!

Thanks

Verified Answer
  • Thanks for the fiddler trace.  I had one of our devs look over it and he advised to name the virtual application in all lowercase letters (i.e. "telligentevolution" instead of "TelligentEvolution") and all it with this lowered path (www.site.com/telligentevolution).

    Let me know if that works.

All Replies
  • Howdy,

    I'm not able to reproduce the problem and I'm not aware of any issues with Telligent Community being an application under a site.  Just to double check, you created an application and not a virtual directory, right?  I created an application under a site and pointed it to my 7.0 install.  From there I can join the site, create an api key, and log out.

    1. When you sign out, you should end up on the /logout.aspx page but you should be signed out.  Are you seeing yourself still signed in?  The logout page does an ajax call to refresh its contents after you sign out so the contents should end up with a "Sign in" link and a "Return home" link.

    2. I'm really not sure about this one, I don't know what would prevent an API key from being generated.  I'm curious to know what you're using the key for.  Are you planning to make REST calls from an external application as that user?  In 7.0, when making REST calls in the context of the site, no API key is needed, the platform fills in the necessary information automatically.

    Let me know what you find out!

    Blake

  • Thanks for your response Blake,

    To be more specific, here is how I set up my environment.

    In the screen shot, I have two websites, SimpleWeb and TelliengetCommunity7. SimpleWeb is running TC7 as a virtual application while TelligentCommunity7 is running it without a virtual application.

    For SimpleWeb, I created a skeleton web site that has only one page and i have the host entries in my host file (127.0.0.1 simpleweb.com, 127.0.01 www.simpleweb.com). Also, I installed TC7 using  this link http://telligent.com/support/telligent_evolution_platform/community/w/community7/24664.install-telligent-community.aspx

    For the problem 1, I enabled the javascript debugger in IE today and was able to get the extra information.

    If I did not enable javascript debugging options in IE, Sign out page just hangs without telling me anything.

    Also, I was not able to update my profile and it says "An error occurred while saving. Please review your changes and try again".

    However, I was able to create a new user and new group so I think those problems are happening on the specific area.

    For the problem 2: Yes, we are planning to call REST API from the external application so I need to create the API KEY that has Admin permission.

    If you look at the screen shot below, I was able to create a API Key, admin4 if it was not in a virtual application; however, if it is in a virtual application, I could not create a new API KEY.  In that case, nothing happens if I click "Generate" button.

    To summerize it, I have no problem with TC7 if it is the own web site (TelligentCommuinty7 in my setup). But, within a virtual application, some functionalities are not working.

    Actually, we should finish this probject ASAP, but we are stuck with those problem.

    Please let me know if you need any information from me to investigate the problem.

    Thanks


  • Thanks for the details, I'll do some research.  In the meantime, have you tried clearing your cookies?

  • One other thing to consider is that the web.config of the SimpleWeb site may be conflicting with the Telligent Community web.config.

    If neither of those suggestions work, can you send me a fiddler trace reproducing both issues using the virtual application?

  • Hi Blake,

    I always clear browser cache and cookies when I switch between those two sites.  Also the reason, I created SimpleWeb was I had those problem with our production site and I also thought it might be conflicting with the TC web.config. To narrow down the problem, I already commented out the elements that could be conflicting with TC web.config.

    This is what I have in web.config in simpleweb

    <?xml version="1.0"?>

    <!--
      For more information on how to configure your ASP.NET application, please visit
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->

    <configuration>
      <!--<connectionStrings>
        <add name="ApplicationServices"
             connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
             providerName="System.Data.SqlClient" />
      </connectionStrings>-->

      <system.web>
        <compilation debug="true" targetFramework="4.0" />

        <!--<authentication mode="Forms">
          <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
        </authentication>-->

        <!--<membership>
          <providers>
            <clear/>
            <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
                 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
                 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
                 applicationName="/" />
          </providers>
        </membership>

        <profile>
          <providers>
            <clear/>
            <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
          </providers>
        </profile>

        <roleManager enabled="false">
          <providers>
            <clear/>
            <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
            <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
          </providers>
        </roleManager>-->

      </system.web>

      <system.webServer>
         <modules runAllManagedModulesForAllRequests="true"/>
      </system.webServer>
    </configuration>

    Unfortuntely, I already tried your suggestions, but none of them worked.

    I will try to grab a fiddler trace.

    Thanks

  • Hi Blake,
     
    I am attaching fiddler traces
     
    Thanks
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 12:52 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     

    One other thing to consider is that the web.config of the SimpleWeb site may be conflicting with the Telligent Community web.config.

    If neither of those suggestions work, can you send me a fiddler trace reproducing both issues using the virtual application?

  • They didn't come through on the email, you might try zipping it and attaching it via the website.

  • I 7zipped fiddler traces, but I cannot find the attachment option in the Rich Formatting window.
     
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:33 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     

    They didn't come through on the email, you might try zipping it and attaching it via the website.

  • Click the Options tab at the top
     
    Blake Smith
    Software Development Engineer
    o: 214.420.9961 | m: 214.436.6388
     
    From: hkim [mailto:bounce-hkim@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 4:46 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    I 7zipped fiddler traces, but I cannot find the attachment option in the Rich Formatting window.
     
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:33 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     

    They didn't come through on the email, you might try zipping it and attaching it via the website.

  • Blake,
     
    As you advised, I was able to find File Attachment option, but those trace files are bigger than 1024 KB so it did not allow me to upload.
     
    Is there any other option you could suggest?
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:51 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    Click the Options tab at the top
     
    Blake Smith
    Software Development Engineer
    o: 214.420.9961 | m: 214.436.6388
     
    From: hkim [mailto:bounce-hkim@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 4:46 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    I 7zipped fiddler traces, but I cannot find the attachment option in the Rich Formatting window.
     
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:33 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     

    They didn't come through on the email, you might try zipping it and attaching it via the website.

  • I am not sure if your email system is blocking all attachments, but let me zip it and attach it again.
     
    Let me know if it goes through.
     
    Hyuk
     
    From: hkim [mailto:bounce-hkim@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 4:22 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    Blake,
     
    As you advised, I was able to find File Attachment option, but those trace files are bigger than 1024 KB so it did not allow me to upload.
     
    Is there any other option you could suggest?
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:51 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    Click the Options tab at the top
     
    Blake Smith
    Software Development Engineer
    o: 214.420.9961 | m: 214.436.6388
     
    From: hkim [mailto:bounce-hkim@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 4:46 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     
    I 7zipped fiddler traces, but I cannot find the attachment option in the Rich Formatting window.
     
     
    Hyuk
     
    From: Blake "Howdy" Smith [mailto:bounce-bsmith@communities.telligent.com]
    Sent: Wednesday, October 17, 2012 2:33 PM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Telligent Community 7 as a virtual application causes problems
     

    They didn't come through on the email, you might try zipping it and attaching it via the website.

  • I sent you a message on how to send me the trace.

  • Thanks for the fiddler trace.  I had one of our devs look over it and he advised to name the virtual application in all lowercase letters (i.e. "telligentevolution" instead of "TelligentEvolution") and all it with this lowered path (www.site.com/telligentevolution).

    Let me know if that works.

  • Blake,

    As you advised, I made it all lower cases and it now works like a charm.  Thanks you!

    However, I think you guys should update the installation instruction where it says "TelligentEvolution" rather than all lowercase. (telligent.com/.../24664.install-telligent-community.aspx)

    Thanks again.

  • Glad to hear.  Thanks for the feedback, I updated the install document to call out using a lowercase application name.