Windows Authentication issue
Hi Windows Identity becoming null after browsing the application for some time. Below is the code i am using to get the Windows User. We are using .NET Framework 3.5 and IIS 7.0 & 7.5. IIdentity...
View ArticlePass clientID to submissin page to submission database table
Hello All,I've implemented a login. When clients log in, they are redirected to a page where they will submit various information. I'd like that information to be inserted into my database along with...
View ArticleUnable to connect provider in Website Administration Tool to create admin login
I'm using the default webform template in VS 2012 Express, and have ran aspnet_regsql to successfully set up a SQL Server DB.But I can't connect to/configure the provider in the Web Administration Tool...
View ArticleURL is inserted with weird string when viewed on mobile phone
I have an asp.net site at http://192.168.254.216:89/Â and use form authentication.When I open a page on my iPhone (or Ipad), it redirects me to the login page, I enter user name and password, then it...
View ArticleHow can I export Active Directory to SQL Table.
Developing an Intranet website, ie. use windows authentication. User can login to the system by using username and password in Active Directory. However, the users are divided into 3 roles. So I have...
View ArticleWeb Application Not Using Custom Membership Provider
I set my application to use my Custom Membership provider below<membership><providers><clear /><add name="AspNetSqlMembershipProvider"...
View ArticleCannot open user default database. Login failed. Login failed for user...
I changed my custom Membership Provider to my database and this error occured. I don't even know how to start dealing with it. Please help. I can still login to my DB server via Management Studio.
View ArticleStoring LDAP fields in a local database [MVC]
I'm using MVC to allow login via LDAP. I'm able to login with a method similar to the one usedhere. The thing is, I want to store some of those fields. Here's a sample of what I have so far :if...
View ArticleASP.NET website administration tool :Cannot open user default database. Login...
I got the error aboce after changing my custom provider and i can't just seem able to make it go away. Please what did i do wrong.
View Articlemobile misscall as password
We connect our mobile phone to a Communication port of computer. Â Mobile is connected with Communication port through data cable. Then we use misscall on that mobile phone as password for logging to...
View ArticleVS 2012: ViewStateUserKey stored as a HttpCookie is secure or not?
This link (http://software-security.sans.org/developer-how-to/developer-guide-csrf) has some info about using the ViewStateUserKey: Starting with Visual Studio 2012, Microsoft adds built-in Cross-Site...
View ArticleDifferent menu bar for different roles
I am new to ASP.Net and i am trying to get a feature working for a app i am trying to build.I have 2 roles and I need them to view 2 menus i have created in the site.master.There are no dynamic pages...
View ArticleValidate Login using jQuery or Javascript
HiI have wired problem, I have one web site, which is developed using HTML and jQuery.Flow of Web site:1) There is one login page. when user entered username and password ajax event call and if user...
View ArticleDesign question - Facebook/Google auth + custom 'preferences' properties
I have a design question. How to implement this scenario? (assume ASP.NET 4.5 and Web Forms)- The user authenticates against Facebook or Google to login - Certain user 'preferences' are custom profile...
View ArticleOpenAuth.RequestAuthentication & localized provider site
When I callOpenAuth.RequestAuthentication("facebook", redirectUrl);it always redirects to the English login page of Facebook. How can the user land on a localized login page, say, the Portuguese login...
View ArticleLogin to website by smartcard certificate
Hi everyoneHere is the situation: we are in a company where users use their smartcards to log into windows and different other servicesI have a website that I want to allow users to login useing their...
View Articleincorrect syntax near WHERE ???
im having a weird problem in here, when i run the page , im getting incorrect syntax near WHERE . if you check my code below i think its not wrong at all .protected void bbb_Click(object sender,...
View Articlecheck if session.sessionid is null
i need to update data in the database , if session.sessionid is null , i have modified the global.asax , to the below , but still getting an error stating : method name expected .void...
View ArticleAES encryption through EF
Hi, I'm making my first ASP.NET app and I was finally able to connect to mysql database through entity framework. However I have a table that uses AES encryption for some fields and I need to save the...
View Articleopenssl_sign in ASP.NET
Is there any Cryptographic function which would simulate openssl_sign($data, $signature, $pkeyid); in ASP.NET? I have a private key which is generated with OpenSSL application...
View Article