Load operation failed for query 'GetAuthenticationInfo'. The remote server returned a

Discussion in 'Site Programming, Development and Design' started by sweber85260, Sep 2, 2011.

  1. I'm not sure what I need to do here and I have looked all over the internet with no real answers, and if I have found an answer it was so vague that I didn't know what to do. I have also included my web.config file for review incase one of you notices something. Please help.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
       <system.web>
         <trust level="Full"/>
       </system.web>
      <appSettings>
        <add key="UserCodeAssemblies" value="Application.Common.dll;OnlinePortal.Server.dll;OnlinePortal.ServerGenerated.dll" />
        <add key="ExtensionAssemblies" value="Microsoft.LightSwitch.Extensions.Server.dll" />
        <!-- A value of true will enable diagnostic logging on the server -->
        <add key="Microsoft.LightSwitch.Trace.Enabled" value="false" />
        <!-- A value of true only lets local access to Trace.axd -->
        <add key="Microsoft.LightSwitch.Trace.LocalOnly" value="true" />
        <!-- The valid values for the trace level are: None, Error, Warning, Information, Verbose -->
        <add key="Microsoft.LightSwitch.Trace.Level" value="Information" />
        <!-- A value of true will indicate that logging sensitive information is okay -->
        <add key="Microsoft.LightSwitch.Trace.Sensitive" value="false" />
        <!-- The semi-colon separated list of categories that will be enabled at the specifed trace level -->
        <add key="Microsoft.LightSwitch.Trace.Categories" value="Microsoft.LightSwitch" />
        <!-- A value of true will indicate http requests should be re-directed to https -->
        <add key="Microsoft.LightSwitch.RequireEncryption" value="false" />
      </appSettings>
      <connectionStrings>
        <add name="_IntrinsicData" connectionString="Data Source=tcp:s06.Winhost.com;Initial Catalog=****;Integrated Security=False;User ID=DB_29379_inmatesystem_user;Password=******" />
      </connectionStrings>
      <system.web>
        <!-- LightSwitch trace.axd handler -->
        <trace enabled="true" localOnly="true" requestLimit="40" writeToDiagnosticsTrace="false" traceMode="SortByTime" mostRecent="true" />
        <httpHandlers>
          <add verb="GET" path="trace.axd" type="Microsoft.LightSwitch.WebHost.Implementation.TraceHandler,Microsoft.LightSwitch.Server.Internal,Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </httpHandlers>
        <httpModules>
          <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ServerHttpModule" type="Microsoft.LightSwitch.WebHost.Implementation.RedirectToHttpsModule,Microsoft.LightSwitch.Server.Internal,Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </httpModules>
        <compilation debug="false">
          <assemblies>
            <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="Microsoft.LightSwitch.Base.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </assemblies>
        </compilation>
        <authentication mode="Forms">
          <forms name="OnlinePortal" />
          </authentication>
        <pages>
          <controls>
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          </controls>
        </pages>
        <!-- Setting maxRequestLength to be much greater than default 4096 so that large data may be uploaded e.g. images, docs -->
        <httpRuntime maxRequestLength="102400" />
        <membership defaultProvider="AspNetMembershipProvider">
          <providers>
            <clear />
            <add name="AspNetMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="_IntrinsicData" applicationName="OnlinePortal" requiresUniqueEmail="false" requiresQuestionAndAnswer="false" />
          </providers>
        </membership>
        <roleManager enabled="True" defaultProvider="AspNetRoleProvider">
          <providers>
            <clear />
            <add name="AspNetRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="_IntrinsicData" applicationName="OnlinePortal" />
          </providers>
        </roleManager>
        <profile enabled="True" defaultProvider="AspNetProfileProvider">
          <providers>
            <clear />
            <add name="AspNetProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="_IntrinsicData" applicationName="OnlinePortal" />
          </providers>
          <properties>
            <add name="FullName" />
          </properties>
        </profile>
        <customErrors mode="Off" />
      </system.web>
      <system.codedom>
        <compilers>
          <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <providerOption name="CompilerVersion" value="v4.0" />
            <providerOption name="WarnAsError" value="false" />
          </compiler>
        </compilers>
      </system.codedom>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
          <add name="DomainServiceModule" preCondition="managedHandler" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ServerHttpModule" preCondition="managedHandler" type="Microsoft.LightSwitch.WebHost.Implementation.RedirectToHttpsModule,Microsoft.LightSwitch.Server.Internal,Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </modules>
        <handlers>
          <!-- LightSwitch trace.axd handler -->
          <add name="LightSwitchTrace" path="trace.axd" verb="*" type="Microsoft.LightSwitch.WebHost.Implementation.TraceHandler,Microsoft.LightSwitch.Server.Internal,Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </handlers>
        <defaultDocument>
          <files>
            <clear />
            <add value="default.htm" />
          </files>
        </defaultDocument>
      </system.webServer>
      <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <dataContractSerializer maxItemsInObjectGraph="6553600" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
      </system.serviceModel>
    </configuration>
     
    Last edited by a moderator: Oct 14, 2015
  2. If this is a LightSwitch Application, have a look at this link it may help.

    D
     
    Last edited by a moderator: Oct 14, 2015
  3. I think this may

    I think this may help, I will try when I get home. I created a new database when I launched Light Switch and I should have attached an existing one. I don't know if this will help but I will let you all know.
     

Share This Page