Configuration :: Can't Get The Users To Login

Feb 3, 2011

I have an application wich uses AD for authenticate users, the web.config goes like this:

[Code]....

It's works fine in development environment, the problem is when I've published this app into IIS, I can't get the users to login. I've configured the directory security to Anonimous Access since the user will enter the credentials using forms auth.

View 5 Replies


Similar Messages:

Configuration :: Login Not Finding Users Database?

Nov 24, 2010

I have created a website using Visual Web Developer Express and origonally the database was created in SQL Server Express. My Web host would not accept the .mdf file so I installed SQL 2008 Server Developer and imported my database in the full SQL Server. I then linked my website to the new database and altered the web.config file to point to the new database.

All the pages work well now apart from the Login Web Control which just says login unsuccessful and asks me to login again. When I try this on the actual website I get the following error message

"Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

Its obviouly not finding the Membership/User Table in the new database but I cannot find a way to redirect it. I have tried deleting the Login Web Control and re-inserting but get the same problem.

View 4 Replies

Configuration :: IIS Setting To Allow Anonymous Users And Also Capture System Login Id

Mar 26, 2010

in my aspx.vb page i have written

Label1.Text = Me.Page.User.Identity.Name

when i do view in browser (without publishing to any server) i see label's text as

abcxyz which is correct

but when i publish it, i dont see any text . I have made setting IIS to allow anonymous users so that anyone can open the wesite and see their computer login id

like abcxyz

View 1 Replies

Security :: How To Make Login Control Allow Users To Login By Either Username Or Email Address

Oct 12, 2010

how to make login control allow users to login by either username or email address

View 1 Replies

Security :: ARR Login Fail But When Users Remove All Cookies And Session Data The Login Works Again

Sep 27, 2010

I have two application (one of this is mojo portal): [URL] for some users when they login into "app" then the login in "mojo" doesn't work and viceversa. I've set the machinekey into web.config file. When the users remove all cookies and session data the login works again. The two application are into a Web Farm. Should be ARR the problem?

View 2 Replies

Security :: CAC Login To Web App Without Users Entering ID/PW?

Jan 10, 2010

how to write/use/implement a script that will allow users to enter a web application by clicking a button rather than entering their ID/PW? Seems like a lot of terminology around, SSO, Blind logon, yet all seem to be doable with an ASP script -

Web App contains detailed security for users, not all users are on Win AD, so that is not an option., I'm told (?) Do I need to use a spreadsheet to validate users access to the application, ?

Script that would pass "cookie" info and allow users to enter app without ID/PW. We have a custom logon.asp page the is using forms.

View 1 Replies

Track Users Without Login Info

Oct 8, 2010

I'm trying to build the chat (it is already built here - [URL] The only thing I want to change is: remove login control. Instead of login I want to assign random usernames to people who open my webpage. Also, when somebody closes page and reopens it again in, say 10 minutes, I want this user to have the same username and data.

View 3 Replies

Ensuring The Users Go Through Login Portal?

Jan 25, 2010

VWD 2008 Express. Visual Basic. SQL Server 2005. IIS 6.0.

I have created a page called Login.aspx on my web site. It contains the login control and authenticates logins with SQL tables. The page works. However, I want to configure my site so that no matter what page a user tries to access, they are taken to Login.aspx if they have not been authenticated. How can I configure my site so that users cannot access anything until they have been successfully authenticated through a login on Login.aspx?

View 4 Replies

Security :: Asp Login With Multiple Users?

Jun 25, 2010

I have an asp login control that uses the standard aspnet database structure.I am using my own user identification system to identify a user based on login values that are not in the aspnet database and setting the user's aspnet database login to a universal login user and password.this works fine and I am able to test this by having one machine log in as "User 1" and another login as "User 2" but I am wondering if there is a limit to the number of user's that can be assigned to one username and password in the aspnet database for website access?Will the system reach the max number of user's in the aspnet database?

View 2 Replies

IIS Configuration :: Login Failed Due To Server Configuration

Mar 26, 2014

I was configured an application in IIS,while running it shows login page successfully and i entered the credentials then it was redirected to HomePage with an error of(HomePage not displayed but the URL is rediredcted to HomePage)

Error message 401.2.: Unauthorized: Logon failed due to server configuration.Already i was searched in google and tried to resolve the problem but no use.

View 1 Replies

Users Cannot Login To WebSite After Files Moved

Jun 25, 2010

VWD 2010 Express. Windows 2003 Server. I decided to move my web site from the Inetpub folder on my C: drive to an Inetpub folder on my D: drive to free up space on C:. I moved three web sites. Two of the sites worked fine after the move (I went into IIS 6.0 and changed the home directory of all the sites). One site, which requires authentication using the Windows Active Directory (AD), did not work properly. I could access the site and login with any administrator login. But all other users, although they enter the correct credential, continue to be reprompted for their username and password. The site uses "basic authetication" to check users credentials against the AD. Can anyone think of a reason I would have this peculiar behaviour just because I move a web site's files from C:inetpub to D:Inetpub?

View 6 Replies

Security :: Suddenly IE Users Cannot Login To Website

Jan 23, 2011

asp.net 3.5 IIS7 Hosted on Windows Server 2008 (virtual machine)

I have a website which have been running for about a year without any problems. Users have been able to login etc, but now I get reports about users not able to login while using Internet Explorer. Users using other internet browsers like FireFox, Chrome etc have no trouble logging in.

The website are using the standard Forms authentication.

Also lately another website has been setup in IIS7, but these sites are using application pool. I've stopped this webapplication in IIS, but that doesn't have any effect on my problem

I see that Windows Update have failed to install a lot of patches lately, not sure if that is related to this problem. But some of the windows patches are security patches.

View 5 Replies

Display The Greetings Name In Aspx Page Using C# After The Users Login?

May 24, 2010

after the users login i would like to have a greeting message

eq. WELCOME RONALD MC DONALD. in aspx page...

is this possible? check my codebehind program

string strCmd;
string namesung;
strCmd = "Select EMP_NAME, EMP_NO from user where";
strCmd += " emp_no = ' " + Request.QueryString["user"].ToString() + "'";
namesung = Convert.ToString(mycommand.ExecuteScalar());
Label1.Text = " WELCOME " + namesung.ToString();

in aspx page.

<asp:Label ID="Label1" runat="server" CssClass="font2" Text="Label"></asp:Label>

View 4 Replies

Security :: Allow Users To Register At Site And Login?

Feb 25, 2010

I'm at the point where I want to allow users to register at my site and then allow users to login, so I am trying to get a feel for how everyone is handling this use case.

View 1 Replies

C# - Find The Users Windows Login Username?

Oct 21, 2010

I have an ASP.Net web application running on an IIS server, and I need to find the visitors login username.How can I can find this? When testing locally it found my username using new WindowsPrincipal(WindowsIdentity.GetCurrent());, but it finds NETWORK SERVICE when running the app on the server.

View 1 Replies

VS 2008 - How To Know Which Users Are Online (Login Security)

Aug 5, 2011

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.

View 5 Replies

VS 2005 Login Control To Authenticate Users To Use Website?

Apr 22, 2010

I have been asked to use the login control to authenticate users to use the website. I have a master page which has header pictures and a menu down the left. I have created a login form and configured my web.config file to use form authentication but when I run it, it does not show my master page just the content page. Should my login page not be a content page?

View 39 Replies

How To Access A Facebook Users Details With Their Login Credentials

Sep 16, 2010

I have a site where users can register an account. To do this they have to enter various details about themselves (Name, DOB, Email Address, Password, Username etc..).

However, I would like them to just have to enter their Facebook username/password, and have all this information pulled from their Facebook user account.

How is this possible using ASP.NET 2.0?

View 1 Replies

Security :: How To Restrict Users Who Are Entering The Sites Without Login

Aug 9, 2010

I have a login form and users have to enter their username and password for entering the sites ..

Also now its possible for users to enter the sites without login .. they can select the options in the menu and access them ... But i want to restrict the users ..only allow them to access the menu componets after login ... If they tries to access the contents a text have to display ask them to login

how can i do that... i am using vb.net as my language in the page

View 22 Replies

Security :: Login Goes To Sql Server For Users And To SqlExpress For Roles?

Sep 9, 2010

I have a site witl forms authentication using te login control. I altered my sql server, I added a connectionstring and used the connectionstring in both, <rolemanager> and <Membership>. That part of the web.config is listed below.

The problem is that the login control goed to SQLserver to check the users and their passwords, but it goed to the SQLExpress database for the roles.....

[code]...

View 3 Replies

Best Approach To Allowing Users To Create Accounts And Allow Them To Login Later

Aug 27, 2010

What is the best approach to allowing users to create accounts and allow them to login later?am thinking of passing all the user information into an attached SQL database, so that when users login l can lod their profilee and allow them to add data on their profile

View 1 Replies

Webforms - Login Control Rejects Users Who Exist?

Apr 16, 2010

I'm having some trouble with the ASP.NET 2.0 Login Control.

I've setup a database with the aspI.net regsql tool.I've checked the application name. It is set to "/".

The application can access the SQL Server. In fact, when I go to retrieve the password, it will even send me the password. Despite this, the login control continues to reject logins.

I added this to the web.config:

<membership defaultProvider="AspNetSqlProvider">
<providers>
<clear/>
<add name="AspNetSqlProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>

And I added the following to my connection strings:

<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=IDC-4EXCALIBUR;Initial Catalog=allied_nr;Integrated Security=True;Asynchronous Processing=True"/>

(Note the "remove name" is to get rid of the default connection string in the App_Data directory.)

Why won't the login control authenticate users?

View 2 Replies

Security :: Not To Show The Login Page When Users Are Logged In?

Apr 11, 2010

I have a Login.aspx in my application.

After users logged in, if they press "back" in the browser, it goes to the Login.aspx page.

But I don't want to show users the Login.aspx page when they are logged in. how to restrict users to see the login.aspx page if they are logged in??

I am using sql role based membership provider and standard login control provided by Visual web developer 2008.

View 7 Replies

Security :: User Login Fails When Authenticating A Users?

Apr 25, 2010

I have a website that requires users to login, but I am having problems when authenticating a users.I create a user which works fine, I then test the login on the development machine and everything works fine the user is logged in.But if a try to login the user in via the live website (same database) I get errors stating that the login attempt has failed.I don't understand why it would work on the development machine but won't work with the live version of the website.

View 5 Replies

Security :: Login Users With Active Directory Authentication VB.NET?

Nov 5, 2010

I want to know how to do Active Directory Authentication in my intranet web application,

So far I created a simple login page and I am using the login control. my questions are how do I configure the application, how do I interface the login control so it will take the user to next page once they input their usual active directory username and password.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved