Link to home
Start Free TrialLog in
Avatar of brendanlefavre
brendanlefavreFlag for United States of America

asked on

GetAuthenticationInfo Error

I have a simple LightSwitch 2012 application that I am trying to deploy to Azure. The deployment is successful, however when I try to access the site I am getting the following error.

Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: Not Found.

I have tried re-creating the site on Azure, and then re-deploying with similar results

here is the sample application
2013-11-08-09-19-20.png
Avatar of Jean Marie Geeraerts
Jean Marie Geeraerts
Flag of Belgium image

This is actually a default error that lightswitch throws in a number of cases.
To get to the actual issue you can use Fiddler (a free download) to see what the actual error is.
If you could provide an URL where the site is located I can try to connect to it and retrieve the error that is hidden underneath.
I've had a similar issue with my lightswitch application that was on a shared host which I finally got resolved by upgrading my project to V2.
Avatar of brendanlefavre

ASKER

i'll give fiddler a shot

If you could take a look at the url that would be great

demovfieventmanager.azurewebsites.net
ok, I'll have a look at it later when I'm at home, as I can't use fiddler here at work (blocked by the firewall).
What version of LightSwitch is your application in?
this is running LS2012
I have a solution built using the Component One Lightswitch Scheduler, but since I've had trouble deploying, I created a simple application.

here is what I'm getting when I run fiddler

HTTP/1.1 404 Not Found
Cache-Control: private
Content-Length: 2005
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Content-Type-Options: nosniff
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
Date: Fri, 08 Nov 2013 15:26:32 GMT

<!DOCTYPE html>
<html>
    <head>
        <title>The resource cannot be found.</title>
        <meta name="viewport" content="width=device-width" />
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
         @media screen and (max-width: 639px) {
          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
         }
         @media screen and (max-width: 479px) {
          pre { width: 280px; }
         }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
            <br><br>

            <b> Requested URL: </b>/Web/Microsoft-LightSwitch-Security-ServerGenerated-Implementation-AuthenticationService.svc/binary/GetAuthenticationInfo<br><br>

    </body>
</html>

Open in new window

It looks like this the exact same issue I had with my website.
What I did to fix it is upgrade visual studio to the latest update (udate 3 IIRC) and then upgraded my lightswitch application.
I upgraded the project, and was able to successfully publish the site. When I navigate to the url, I get a 403 error. If I add login.aspx to the end of the url, it will successfully authenticate, but then I get a 404 resource not found when it tries to redirect to default.aspx

the url is
vfieventmanager.azurewebsites.net

vfimanager/LogMeIn123!

thanks,
Jason
ASKER CERTIFIED SOLUTION
Avatar of Jean Marie Geeraerts
Jean Marie Geeraerts
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial