Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8220115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:24:37+00:00 2026-06-07T13:24:37+00:00

I am trying to move a LightSwitch 2012 solution using FormsAuthentication between machines, so

  • 0

I am trying to move a LightSwitch 2012 solution using FormsAuthentication between machines, so I added the solution to TFS (using my TFSPreview account) on one machine and checked everything in.

On the new machine I did a fetch, opened the solution and attempted to run. When the application starts, the Loading... screen is displayed and does not disappear. I do not get an error message.

If I take off the ?IsLaunchedByVS=True from the query string then I do see the login screen.

I zipped up the original working source off the old machine, copied it over to the new machine, opened and ran it. This works correctly and I can get in without needing to change the query string.

I’ve run a diff between the two folders, there were a couple of differences in the csproj files around the version number being specified in the references the the lightswitch DLLs, I tweaked these so the version number was specified however there is no change.

I’ve tried this on a third machine, and get the same.

I’ve run Fiddler when trying to load the machine and here I do see a difference. In the GetAuthenticationInfo request the working original code is returnning a TestUser along with the Permissions set as per the project property dialog. In the code fetched out of TFS the User and permissions are nil. This would appear to be the cause of the application not logging in correctly.

I cannot see the cause of this, can anyone give me any pointers?

Code copied from original machine

@GetAuthenticationInfoResponsehttp://tempuri.org/@GetAuthenticationInfoResult aDomainServices i)http://www.w3.org/2001/XMLSchema-instance^
TotalCount��^IncludedResults b9http://schemas.microsoft.com/2003/10/Serialization/Arrays_anyType.type�c:User cehttp://schemas.datacontract.org/2004/07/Microsoft.LightSwitch.Security.ServerGenerated.Implementation
FullName� Test UserName�TestUser
Permissions_string�!LightSwitchApplication:IsAccounts_string�LightSwitchApplication:IsOffice_string�!LightSwitchApplication:IsEngineer_string� LightSwitchApplication:IsManager_string�5Microsoft.LightSwitch.Security:SecurityAdministrationRoles.nil�^
RootResults behttp://schemas.datacontract.org/2004/07/Microsoft.LightSwitch.Security.ServerGenerated.Implementation_AuthenticationInfo_AuthenticationType�Forms_UserName�TestUser

Code from TFS

@GetAuthenticationInfoResponsehttp://tempuri.org/@GetAuthenticationInfoResult aDomainServices i)http://www.w3.org/2001/XMLSchema-instance^
TotalCount��^IncludedResults b9http://schemas.microsoft.com/2003/10/Serialization/Arrays_anyType.type�c:User cehttp://schemas.datacontract.org/2004/07/Microsoft.LightSwitch.Security.ServerGenerated.Implementation
FullName.nil�Name
Permissions.nil�Roles^
RootResults behttp://schemas.datacontract.org/2004/07/Microsoft.LightSwitch.Security.ServerGenerated.Implementation_AuthenticationInfo_AuthenticationType�Forms_UserName

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:24:39+00:00Added an answer on June 7, 2026 at 1:24 pm

    Looks like this is a fault with LightSwitch not copying a file required for launching from Visual Studio.

    See related thread here: http://social.msdn.microsoft.com/Forums/en-US/LightSwitchDev11Beta/thread/902a461e-6597-45ce-ac9e-f7724607070e

    See logged bug here: https://connect.microsoft.com/VisualStudio/feedback/details/753056/lightswitch-in-vs2012rc-does-not-copy-microsoft-lightswitch-design-server-manifest-dll-to-project-output-folder#tabs

    Workaround is to copy: “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\LightSwitch\Server\Manifests\Microsoft.LightSwitch.Design.Server.Manifest.dll” to “{Project}\Bin\Debug\Web\Manifests\Microsoft.LightSwitch.Design.Server.Manifest.dll”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to move some divs using hover, this is my markup: <div class=item dark-grey>
I am trying to move certain groups of files using wildcards to a folder
I'm trying to move a file from one directory to another (in SD Card)
i am trying to move a image in picture box. i added panel to
Im trying to move data from one table to another because the needs of
Im trying to move a system from using morbid to rabbitmq, but I cannot
I'm trying to move a lot of code backwards and forwards between the VS10,
I'm trying to move a table into SQL Azure using SSIS. I have an
I'm trying to move one list item from one side to another. However, it
I'm trying to move the position of the seekbar using a button. Basically I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.