asp.net Exception: The Local Security Authority cannot be contacted
I have two applications (A)anonymous authentication and (B) windows authentication (A) called Handler from (B)when I use the following code exception ( The Local Security Authority cannot be contacted)...
View ArticleRunning website with both Basic & Forms authentication
I have some code code in App_Code that I want to expose via standard ASP pages/Forms authentication, as well as Web Services/Basic Authentication.Currently the folder layout is something likeMySite...
View ArticleMultiple Application Users
I've search the web for information about having a single user be authenticated across multiple applications. The bulk of what I've found has been just that. However, I don't want any specific user...
View Articleimplement Single Sign On using Security Assertion Markup Language in c#.net
I want to implement Single Sign On using Security Assertion Markup Language in c#.netSingle sign-on (SSO) is a session/user authentication process that permits a user to enter one name and password in...
View ArticleCan you show different records in a gridview based on roles?
Suppose I have a gridview of links. I want different users (or different roles) to view different sets of links (though they may overlap). The gridview is bound to a sqldatasource. Can the records...
View ArticleHow to block access?
Hi,I have a web app and I am using windows authentication. I am putting username in session. I wonder if I can block access of a specific user to the web site. Best Regards.
View ArticleRoles.GetAllRoles(); returns Null Azure
Hello I created a new project and changed the below security providers to utilize azure. I then ran asp.net configurationa and enabled roles. I have created several roles. I can authenticate. I am...
View Articleis it possible to edit the list of roles displaying?
Hi everyone On Step 2 of my 'Create User' Wizard I have a listbox of 4 roles displayed, this allows a superUser to choose a role for the user being created. However I only need to display 3 of the 4...
View ArticleHTTP 401 error when reading some files, pages or images bigger that 1600 bytes
Hi allWhen I run my ASP.NET IIS 6 web application and the application reads gif images from the image folder , some images always with a size around 1600 bytes show in the IIS trace shows a HTTP 401...
View Articlehow to manage asp.net membership and facebook login
hello guys ,i have implement a membership in website , now client wants facebook login also,in my site product sale so i have manage all thing with membership UserId, but how i manage facebook login...
View ArticleReading a file content from code behind
Hi there,Haven't got my code to hand but am hoping with the right help I wont need it (can post later though if I do!).Basically, I've written a search facility on my site, written in asp.net, with...
View ArticleUse membership and facebook login in asp.net
hello ,i am useing membership provider in asp.net and i wahnt to also use facebook loginso how i manage with membershipcan any body tell me how i do thisthanks
View ArticleLoggedInTemplate is not responding? How do I fix this?
So I have a simple log-in form. This is what I have coded in in the code behind using C#:string user = txtUserName.Text.Trim(); string pwd = txtPassword.Text; DataTable dt = new DataTable(); using...
View ArticleCreate an IDENTITY FIELD in aspnet_Users default membership table???
Goal:I want to be able to identify customers,their invoices. etc--using an IDENTITY FIELD that I create(rather than the UserID or the UserNamethat are the ASP.NET defaults.)How can I add an identity...
View ArticleAccess to the path denied
Hello , In the webiste i have done , in the upload page i am getting the following error:Access to the path 'C:\Users\RTG\Documents\Visual Studio 2012\WebSites\Musa\UploadStorage' is...
View ArticleSetting cookies
This is probly a pretty basic question but I'm not sure of the right approach. My database before asp.net membership used an integer primary key for users (riderid). converted to membership but...
View ArticleMatch username and password from Text File
Need help with the code Im working with. The code reads from a text file which contains username and password (e.g. mike mike123) and should match the username "mike" to password "mike123" and redirect...
View ArticleASP.NET Membership No Longer Able to Configure Security in VS2012
I have been using asp.net membership for some years with multiple websites and sql server databases (all modified by the aspnet_regsql tool for use in membership).A couple of weeks ago, I discovered...
View ArticleUsing SqlMembershipProvider UserId as Reference for additional tables
Hello everyone:Instead of creating a custom Membership Provider. I decided to create an additional table in the same database. The additional table uses the UserId from the the SqlMembershipProvider...
View ArticleRedirecting Error code pages.
Hi,I am currently trying to redirect default error codes to a custom error page. I am having a problem redirecting a 403 error. The application is written in asp.net running on iis 7.5.Using this url I...
View Article