You are here:   Forum
Register   |  Login

 

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Error when adding a new user
Last Post 04 Nov 2011 04:12 AM by beolafsen. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Resolved
BEOUser is Offline
New Member
New Member
Send Private Message
Posts:7
Avatar

--
03 Nov 2011 05:10 PM
    I have a made a small project for test and use the form autentication. When I try to add users in debug mode I get the error : "the password does not meet the password requirements Check the minimum password length and password complexity". I use the standard forms etc...
    What do I do wrong? Thanks!
    beo
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1251
    Avatar

    --
    03 Nov 2011 06:40 PM
    • Accepted Answer
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    BEOUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:7
    Avatar

    --
    04 Nov 2011 04:12 AM
    Thanks! That solves it..

    beo
    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I have been doing a lot of reading about LS users, roles, permissions, authentication and authorization. My simple question is: Can we not use Windows authentication only? I would simply like to set up a table of users that can access the LS HTML application if their Windows credentials are present in the Users table. So far I have: Added a Desktop Client to my solution and named it 'Administration'.Set Access Control to 'Allow only users and AD groups specified in the Users screen...'Granted access for DebugStarted the application which brings me to the Administration pageBrowsed to 'Users' under AdministrationAdded a user, which is my user account in ADAdministration page found my user account and added it to the Users table as domainname\useraccountIt also pulled my Full Name, so I know the AD account was foundPublished the project Now, when I try to browse to my HTML client in a browser, it asks for credentials. However, using my AD account credentials does not work. No
    Read more...

    Hey, I'm building a LightSwitch 2013 HTML application. when i'm adding an html element to the DOM after timeout, it doesn't get all lightswitch classes that should be added if there wasn't a timout. For example: settimeout(function( $ul = $("<ul></ul>"); $ul.attr("data-role", "listview"); $ul.attr("data-filter", "true"); $(element).append($ul); ),100); The ul will not get all the classes that lightswitch would give if there was no timeout. Any ideas? Thanks.
    Read more...

    I have yet to get Lightswitch 2015 to work in Visual Studio 2015, either community or enterprise. I continue to get an error that the lsxtproj type is not supported when I try to create a new project??  Any suggestions?? mike mike d
    Read more...

    I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
    Read more...

    I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
    Read more...

    1234
    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation