VS 2008 - How To Use Login Control
Jul 21, 2010I m very new in ASP.NET and using VWD 2008, i want to know how to use Login Control ?
View 2 RepliesI m very new in ASP.NET and using VWD 2008, i want to know how to use Login Control ?
View 2 RepliesI am running .net 3.5 sp1
Where do I get the appropriate aspnet_regsql.exe ?
I ran the one in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727 but it says it is not compatible.
This file does not exist in C:WINDOWSMicrosoft.NETFrameworkv3.5
I want to place a login control in a picture which is placed using Image Control
View 8 RepliesI am trying to use a login control using wisual web developer 2008 with a SQL Express database. evrything is on my local machine at the moment.
This is the script I am using:
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
Boolean blnresult;
blnresult = false;
Pass UserName and Password from login1 control to an authentication function which will check will check the user name and password from sql server.
// Then will retrun a true or false value into blnresult variable
blnresult = Authentication(Login1.UserName, Login1.Password);
// If blnresult has a true value then authenticate user
if (blnresult == true)
[Code]....
how can I use the login control which already exist in visual studio 2008 without even writing a line of code ?
View 4 Replieswant to use ligh box effect like i have login control and i want to show login control in ligh box effect so its like if i open on login link login control wil show and same time we can control click anywhere in page ??
View 5 RepliesI am not used to work with SQL Server(usually I just use express). I run it on windows server 2008, iis7.
I have attached the database to my sql server. I made a web site in iis7 but I get this error message.
Cannot open database "Phaeton.mdf" requested by the login. The login failed.
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
Connectionstring I use
<add key="PhaetonConnectionString" value="Data Source=.;Initial Catalog=Phaeton.mdf;Integrated Security=True"/>
how to make login control allow users to login by either username or email address
View 1 RepliesI am doing a simple secured site using the login control. I would like users to be redirected to their dashboard page once they log in, but after that if they choose to browse I do NOT want them redirected based on their login status. I am using the generic template provided in VWD with the basic login setup in the template including the tabbed ASP menu control - nothing fancy, nothing custom. This is intended to be something very simple and quick. Here is the code I am using for the page load...
[Code]....
So if I do this code WITHOUT the "IsPostBack", logged in users are always redirected to their dashboard and cannot see the hompage. However with that IsPostBack test, the redirect after initial login doesn't work.
I know this is extremely basic and simple, but I am restarting with this stuff after a year away, and I need a nudge.
i have a login control . I need to set focus on submit button, every time user pressses enter key.
How can that be done
Just wondered how to enable/disable "log in" button on a login control based on if User Name and Password textboxes are null or not ?
View 1 RepliesI have a ASP.NET Login Control with Forms authentication.Even after successful Login it does not redirects to destination page.But it uses returnURL and stays at same Login page.How to make Login Control to redirect to specified destination page?
View 1 RepliesI have built a login form that does not use the asp.net 'login' control.
in my code behind i have this:
[Code]....
but this does not seem to maintain my user loged in... as soon as the user navigates to the next page he is loged out again...
[Code]....
the page on submit will try to check the credentials on database instead of my web.config like i need. How to achieve that.
While i was using asp.net2.0 login control on IIS6.0 (WINDOWS SERVER2003) ON INTRANET FOR Login it shows login failed even it was working right on asp.net development server. i was using asp.net membership provider for this
View 2 RepliesI used below code for register user. I want use function for insert data into database. if user exist then it’ show message. Now I want show message from button click.
CREATE PROCEDURE [dbo].[Validate_User]
@Username NVARCHAR(20),
@Password NVARCHAR(20)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @UserId INT, @LastLoginDate DATETIME
[CODE]...
I have a login control on the page, but it faild to login and I dont even know how to debug it.
Can you give me a basic knowledge what should be on the web.config for this to work?
I know that the login worked for me for some days, and then stopped....I made some changes on the website.
currently I have a website with authentication using Microsoft.IdentityModel.Web.WSFederationAuthenticationModule. It redirects me to login page (single sign-on outside my website) and upon login, I am redirected to default page.
Now, when I was using CreateUserWizard asp.net control, it seems that upon creation of user, the control tried to use my machine name to login to db server (i.e. '$') instead of using SSO login which has just been done.
Does anybody know how to customize the control to use federation login to connect to db server? In addition, how to set so that the control will use certain specified sql account to login to db server?
In my asp.net 2008 project, I am using the login controls... In the local sql server, there are all the necessary tables and stored procedures which the system creates for the relevant login controls. All working fine. I notice in the webconfig file there is an entry under connections, i.e.:
<add name="LocalSqlServer" connectionString="Data Source= ...
Now I would like to put the project into the Dev server. What do I do in terms
1- putting my web project into the Dev machine so that we can test it on the Dev server?
2- how do I put the login database schema into Dev? Is it just a matter of restoring my local DB into Dev?...
Language-Asp.net(c#) 2008 Sql Server 2005 well i designed a simple login form which checks the user and password with sql server but now i want to make it a little bit more secured basically i want if a user attempts wrong password with more then 3 /5 times. his id or username should be locked(which i will be running a update procedure) or he must be redirect to denied.htm and one more thing he should be able to get only n only 3/5 attempts whether he opens firefox browser,internet explorer ,safari,google chrome or any other browser
View 6 RepliesI am using the asp.net membership on my website and I have a user called DemoUser for someone who has not joined and wants to try out the site. All they can do is look around and search records. Nothing more. If more than one person logs in with this username, will all of these people be counted in how many are online? Or will that username only be counted once even though 20 people might be using it?
View 3 RepliesI am making a small silly game but I am not sure of the best way to do it or where to start.Basically I will send a link to the people who are going to playing and on that page they will enter their name. I am then going to get an email with their name in so I can see they have accepted my challenge The game will then redirect to the next page. Thats not a problem.The problem is the game is going to played over a month and each time they visit the game on any page the website needs to know which player is the one who is playing.The other thing Is there is going to be a clue button for each question if they click the clue button for that question They will loose points. Now I want a way of of telling if a user was to display the clue close the website then come back and answer it.Is cookies the best way? Or maybe a cookie for the persons name and a server side file for each player so I have a record of who showed clues for what questions?
View 13 RepliesI have sql server ex 2008 installed and I can connect via windows authentication and remote sql server authentication. The problem is I create a login for sql authentication on my sql server ex 2008 using mssms 2008. I simply create a database and a table. Create a login and user name for a DB and check the options. I am worried this wont work as i cant see any issue
TITLE: Connect to Server
------------------------------
Cannot connect to JAGGUY2-1PD810ASQLEXPRESS.
------------------------------
ADDITIONAL INFORMATION:
Login failed for user 'jagguy2'. (Microsoft SQL Server, Error: 18456)
------------------------------
BUTTONS:
OK
------------------------------
I've got a website project and I use my own login security and save the user and other info in session variables. Is there any way to know when they are online and offline by their user name I have in a session variable? Or do I need to use another method such as the asp.net user security?
I do know with the asp.net security I can check if a user is authenticated.
I need to pass username from one intranet website to another. User logs into one website, if a clicks a link, it should take him to another website, seamlessly i.e. without logging in again.
Both websites would be on the same domain. I do not want to use querystring.