.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Site Login

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :ASP.Net


I m using site login Control in my login.ascx file and disaplaying login control in Div so if there is login link in page and i click on that then Login Div will popup which is site login.


My i know how i can handle erros like username or password is incorrect on client side instead server side? 

View Complete Post

More Related Resource Links

Visual Web Developer 2010 Express "Copy Web Site" using different login


I created a site and am trying to grant another pesron access to upload changes to it without giving them my super-user login.

I made a login for her but I can't test whether it works or not because no matter how much I "disconnect" in the Copy Web Site page of VWD 2010, reconnecting to the same site always logs in as my superuser account without prompting me for a login again.

How do I test is the account it set up correctly before having her try to upload to it?    I want to force the login to remote site dialog to pop up again to test her account.

Any ideas?

Login page for whole site


Hi all,


I've been searching and trying to get this now for hours, so i though i'd come here.

For my website, there will be an admin site. I want to create users in my website database, i have a logins table with a hashed password column. The problem i have is making sure that every request if not already logged in send the user to the login page.


I have a page Login.aspx which i have created, but if i enter http://website/admin/news.aspx it bypasses the login screen and shows the page!!


Does anyone know how i can do this? i have created Login.aspx myself and verified that the username and password enetered are correct.




send the login credentials from site to another server



  i have a site which uses windows credentials to login and in the site i have link to ssrs server.

when i select the report it asks for authentication which i want to skip and send the same user

crendentials to the ssrsserver to access the report.

can anyone suggest on this..

It's possible to using sharepoint services 3.0 hosted site without authentication login ?

It's that any way to able user read / write by without login authentication for sharepoint services 3.0. because i'm having problem when external user need to access to our sharepoint pages, but their can login to it.

Cookies used in login to SharePoint site

I am trying to logon to my remote site while using SharePoint Designer 2007 and my login fails each and every time.  I loaded Fiddler to see what is going on and can see that there is a cookie being passed which contains an invalid pwd.  I have deleted all the stored cookies in IE, but still see the invalid pwd being sent to the host.  If the cookies are not stored in the IE files, where might they be stored?

Small site embedded login validating against Active Directory and redrecting to SharePoint site


I am only finding pieces of this information. 

Challenge: Have a standard page with a login box in the corner that is exposed on the web.  The login will validate an employee against AD and also redirect them to a site collection.

I have found information on claims based authentication and the AD Membership provider.  I have also found information on form based login pages.  Most of these examples though just modify the SharePoint form login.  I want to create just a small login box on a page that is already created.  The one thing that I can't seem to find any really solid information on is the redirect to a site collection.

Can anyone tie all of this together for me?  Am I using the correct terminology and heading down the right path.

Any help is greatly appreciated.

A Login Site for a Few Friends to Upload Pictures - Help Please


Good Day,

I am new to the ASP and MS Visual Web Developer.  So can we please keep this conversation in a ASP VB for Dummies Dialog!

I have
 1 - Created a Registration Page using The CreateUserWizard in it's most basic form
 2 - Created a Login Page using the Login Control in it's most basic form
 3 - I created a folder on my IIS7 / ASP Hosting Account's Server called photos which is technically "~/photos" (if I am correct)
  set that folder up for write permissions
 4 - I have a page (uploadphoto.aspx) with a FileUpload control and a Button when clicked uploads a file (*.jpg) to the photos folder (I mentioned above).

So I have this working, and it's basic.  What I want to change, sounds simple, but yet I have no Idea on how to do it. Which is:

 1a. When a Visitor creates a user name (at registration), i need a subfolder created under the photos folder that will be equal to the users login name
  (example - I register as samcook, so now a folder named samcook will be created which would technically be "~/photos/samcook"

 I will then build a web page that will include pictures from the samcook folder (this part I know how to do also)

 Please help, I have been reading the forums for 2 days and still have no

Moss public facing site login



   is there a way to completely prevent login for a public facing Moss site? I have extended the web application so I have separate authentication providers and what I would like to do is prevent any login ability to the public facing side and all content authoring be completed through extended web app which is only available internally.

User who are all login the site


hi all,

       I want to know the list of users who are all login the sites ,if any body know how to do please reply me

How to use Login Control in already created Web Site Project ?



actually i have already created my web site project.Now i want to use login control in my project.So can you please guide me how i can use it in my existing project? 

pdf files in document library cause second login on secure sharepoint site


in somewhat of a twist to the previous kb 943280 I have clients accessing my wss 3.0 site over ssl.

they attempt to go into their document libraries and are able to receive the ms type documents and their associated icons show up.

however in attempt to get to the pdf documents they're asked to login again, and if they bypass the login they can access the pdf file fine, it just doesn't draw the pdf icon.

I do have the icon correctly installed, for me as site owner the icon displays fine and I do not get asked to login again.

What I have seen with the other users is that they're using Vista home and/or business with the 256bit encryption while I am using the 128 bit encryption.

This site was also previously on a hosted site, not requiring ssl, but no one had the second login issue which makes me think I am missing a server option that should be on my machine.

Thanks in Advance!

User login and Admin login on the same site



I have a login page for my users. And I want my admin login to have its own page. Right now I have to login as an admin in the same page as the users.

How can I have 2 login on my site? I get an error if I have authentication forms on both my web.configs.


Login problem with new asp site


 I am new to asp.net. I have created a test site and copied to www.eddiepricetest.com but when I try to login and create a new user account i get the below error. When I do this locally on my pc it works but when I copy to the web server i get the error. Any ideas?



Server Error in '/' Application.

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)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

SQLExpress database file auto-creation error:

The connection string specifies a local Sql Server Express instance using a database location within the application's App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the data

Need to use httpmodule & FBA such that site has a default login when it is accessed.


scenario :

I have a web-application with windows authentication AND as anonymous access to entire site. Due to the issue that anonymous users can not create records on a list (that has eventhandlers or workflows), I am looking at changing the site to Forms-based-authentication and then have automatically sign-in as some user (example: 'siteuser' etc).

Upon checking it looks like I have to use httpmodule and FBA to overcome to the error. I am looking some detailed steps to convert the site to FBA (currently site has just default zone and the site will be always anonymous) and using httpmodule to impersonate as some user.


how to set user prompt for login for a SP site????

how to set user prompt for login id and password for a sharepoint site

is it a brower settings? or we have to perform any actions in sharepoint????

Login check Using javascript for sharepoint site


Hi ,

          I am supposed to create new userid and password in sharepoint domain. There may be many login users. i need to check the login using javascript in ascx control. Can anyone tell me how to do this?

FYI ...If i have five userlogins ..then the 5 users can be able to login by this page. after the login it should be redirect to some other page too.

Thanks In Advance

Varathan GS

login is redirecting to live site...


When I login to my site in visual studio, it used to login to the local machine. Now for some reason I don't know, I'm being redirected to my live website. What should I check for this?

Also, on my live site, 2 logins aren't working.  They were working earlier today. My administrative login and one of my other logins. I'm told that the credentials are incorrect when this is not the case. I know exactly the credentials and I have my table open with sql server management studio. I'm staring right at them and getting the wrong login error message.

Silly me. These logins were deactivated by accident when I recently deactivated a number of bounced emails. Problem solved.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend