Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
deployed silverlight app running but login goes nowhere

Answered deployed silverlight app running but login goes nowhere

  • Monday, August 15, 2011 2:24 PM
     
     

    Hey All,

    I have a silverlight 4 app deployed on IIS 6. I can hit the URL from a remote machine. The login screen pops up but when I enter the credentials nothing appears to be happenning.

    I have hard coded the authentication response to be true (I am using a RIA service library).

    It seems that the interaction between the RIA service library isn't happenning.

    The bin folder contains:

    RIAServicesLibrary.Web.dll/pdb
    System.ServiceModel.DomainServices.Hosting.dll
    System.ServiceModel.DomainServices.Server.dll
    MyWeb.Web.dll/pdb

    <?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>
    
      <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
    
      <system.web>
        <compilation debug="true" targetFramework="4.0" />
        <httpModules>
          <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        </httpModules>
    
        <authentication mode="Forms"></authentication>
        <roleManager enabled="true"></roleManager>
        <profile enabled="true">
          <properties>
            <add name="FriendlyName"/>
          </properties>
        </profile>
      </system.web>
    
      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>
      </system.webServer>
    
    </configuration>
    

    Any ideas on what I am doing wrong?

    Maria

All Replies

  • Monday, August 15, 2011 2:58 PM
     
     Answered

    Lesson #1 - look at windows event logs

    errors:

    1) bad config file - fixed
    2) Website was configured for ASP 2 not 4 - fixed
    3) now had 2 diff versions of ASP.Net running

    fix: create new application pool:

    http://weblogs.asp.net/owscott/archive/2006/01/26/Running-multiple-versions-of-the-Framework-in-ASP.NET.aspx

    Maria