Solved

GetAuthenticationInfo Error

Posted on 2013-11-08
7
1,483 Views
Last Modified: 2014-11-12
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
0
Comment
Question by:brendanlefavre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 39633486
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.
0
 

Author Comment

by:brendanlefavre
ID: 39633517
i'll give fiddler a shot

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

demovfieventmanager.azurewebsites.net
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 39633525
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?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:brendanlefavre
ID: 39633594
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

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 39633669
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.
0
 

Author Comment

by:brendanlefavre
ID: 39633970
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
0
 
LVL 8

Accepted Solution

by:
Jean Marie Geeraerts earned 500 total points
ID: 39640893
Hi, have you added a /Client at the end of your url to navigate to your client project?
In the new version of LightSwitch multiple clients are possible (silverlight and html) and the silverlight client by default is put in "Client".

So to start your application it would normally look something like vfieventmanager.azurewebsites.net/Client

When I use above URL I immediately get to  the application without the need of a login apparantly.
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question