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

Top 5 Contributors of the Month
Post New Web Links

Im resetting passwords using forms and emails and they dont work!

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :ASP.Net
I have implemented a form based authentication for a simple website for work using VWD 2005 (I have to use DNFW v2.0.50727). This is working fine, but it never seems to accept my login details. I am using sql server 2000 as this is already on the web server, and I can add new users, new roles etc., but cannot reset a password.When I try an email arrives at my inbox fine, but when I try to login it just fails with the usual 'Your login attempt was not successful. Please try again.'I have deleted the the users and re-added them both by using my own forms and ASP.NET config, but the same is happening. Ive searched the web for something similar but can't seem to find anything. When the update of the password is done, I check the ASPNET database and it is indeed changing (Encrypted).Has anybody ever seen this before? can anyone shed any light on this? Thanks for your help.Greg

View Complete Post

More Related Resource Links

I try To Install Microsoft framework Dont i dont work

Hi i have Tried To Download Microsoft Frame Work 3.5 And every time i start the download I says Half Way Through "Go to Control Panel, Click on Turn On and Off Progams.So i went There Tried to Configure It but I says Not All files where Finshed I need Help ASSP i have a Advent 7110, Window 7 Ultimate.

Links dont work in sharepoint central administration!!

I just installed microsoft sharepoint 3.0,I want to restore a backup of the site which is located in another server.but the links of the restore page in the central administration dont work,I typed the path to the folder containing the backup and press ok,nothing is done.

Ajaxcontrol toolkit dont work


I am working on vs2008 sp1 with language as "VB" and mvc framework

I am using latest control toolkit.

But it gives error like

Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object 

and i dont get ajax features i.e. calender in the textbox.


Co-authoring dont work


Hello, i have sharepoint foundation 2010 on windows server 2008 r2 joined to domain with 2003 level.

And want use co-authoring in word 2010 but didn't work for me.

I upload word file to shared documents library and open it form 2 different computers with 2 different users. But when second user try to open the file, it says that file is in use.

I turn on versioning and check that file is not checked out, but still don't work.

What i miss, were can be the problem ?


Thank you.

UpdatePanel Trigger dont work with Master Page



I got a aspx page using a master page. In the aspx page, i got multiple Content section:

<asp:Content ID="Content1" ContentPlaceHolderID="CPHSubHeader" runat="server">

<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">

<asp:Panel ID="Panel1" runat="server">
            <asp:table id="tblSubHeader" runat="server" width="100%" bgcolor="white">
              <asp:TableRow runat="server">
                <asp:TableCell ID="TableCell1" runat="server" Width="50">
                    <asp:Label runat="server" Text="Area" Font-Names="Arial" Font-Size="14px"></asp:Label>
                <asp:TableCell ID="TableCell2" runat="server" Width="100">
                    <asp:DropDownList runat="server" ID="ddlArea" AutoPostBack="true" OnSelectedIndexChanged="DDLArea_SelectedIndexChanged"></asp:DropDownList>
                <asp:TableCell ID="TableCell3&q

How to Set System.Windows.Controls.WebBrowser.Document Property , navigatetostring,stream DONT WORK


Hi , i search in google , bing , cuil and all of searchs provider for the solution of this problem :


I get HTML content from HTTPWebRequest(because is much requests and if i use WebBrowser control directly i get a lag and video processing unnecessary)


And i need  set System.Windows.Controls.WebBrowser.Document with this text.


"Solution" , use new methods call NavigateToString() or NavigateToStream()

BUT THIS PROBLEM , both DON'T work with <javascript src="something.js"> or <style src="something.css">

Navigates ONLY read and process content INSIDE this tags , no external files (like 'something.js')

Solution i encountred after two weeks of search

Process the text and replace the files by the content of that.

But this i think that is no real solution. (i tested , work , but not perfectly) * I write my own code because that post dont have source code.

for why you need to do that?

because i need interact with users after search , and use html's input to re-search again and process this file with all extern files is too slow

Any solutions?

C# Lenguage

Sorry for bad english, i'am brazilian.


how to make forms authentication work accross www.abc.com and aaa.abc.com


Hi all,

       i am using forms authentication for my website www.abc.com, i wanna use the same website authcookie for aaa.abc.com.

What steps i need to follow

Forms Authentication Won't Work After Deploying My ASP.NET App to the Hosting Server



I have strange thing here, my ASP.NET app works fine on my development PC, but when I deploy it on the server, the Forms Authentication won't work. The page is being redirected to the "login.aspx" page, but when I enter a valid username/password and hit the login button, it also goes to the login.aspx page (with no errors and no throw, it keeps like this forever).

I am using the default ASP.NET Membership provider, I have setup the hosting server to be exactly as my PC, so both have same settings of IIS, ASP.NET 4.0 Global Configuration (in IIS), and SQL Server 2005 Express Edition.

I searched for this problem in google and tried several suugestion (like removing the clear() in web.config, manually add the membership/role provider in web.config, change security in the physical folders, etc...) but with no luck.

Below is my web.config (which is working fine in my development PC):

Any ideas?

<?xml version="1.0"?>
  For more information on how to configure your ASP.NET application, please visit
    <add key="TermYear" value="2009"/>
		<add name=&q

Uri does not work when assigned to System.Windows.Forms.WebBrowser



I have this uri http://maps.google.com/maps/api/staticmap?size=622x276&maptype=roadmap%5C&markers=color:red%7Clabel:A%7C%41%52%4C%C3%98%56,SE&sensor=false 

probing a city in sweden called Arlöv (%7C%41%52%4C%C3%98%56)

The uri works perfectly when pasted into IE.

It works when i go through the HTTPRequest

But It does not work when assigned to the System.Windows.Forms.WebBrowser, like so:  

Dim url As String = "http://maps.goog

Infopath Browser Enabled Form - Filters dont work inside repeating table



I have been trying to create a Browser Enabled form to be used as a Sales Order form, the form will work in the following way.

It will pull in info from a sharepoint list with Customer Codes, it will pull in info from another sharepoint list with customer contact information which will be filtered based on which customer is selected.

There will then be a repeating table to place the order items.  The repeating table has 8 columns, 6 of which are lookups against 1 sharepoint list (all the columns are in the same list).

The sharepoint lsit data looks something similar to this:

Item Type                 Item Provider                    Product Relation              Product Description                Delivery Team              Cost
Service                     Us                &

Report with Multiple Valued MDX Parameters dont work if they contain special characters


I have a parameter "Region" with multiple values allowed. Its Dataset is filled with the following query:

{ ([DimIBB].[Region].[Region].ALLMEMBERS ) },
[DimIBB].[Region].CurrentMember.Name <> "Unknown"
FROM [Buchhaltung]

Then I have a Dataset with Query using the above Parameter as "@DimIBBRegion" , which I use i my report:


The displayed text and the values for Region (first query above) are : Mitte, Nord, West, Bayern-Nord, Bayern-Süd, keiner Region zugeordnet

There are no problems for Mitte, Nord, West I can select any combination of them and everthing work. But because o

Routing for Web Forms in ASP.NET 4.0

posted a prototype demonstrating how one could use Routing within Web Forms. This is something you can do today with ASP.NET 3.5 SP1, because of the work we did to separate Routing from ASP.NET MVC. I would have liked to include Web Form Routing as part of the Routing feature when we were working on SP1, but we didn't have the time to do so in a robust manner before SP1 was locked down.

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

Application Architecture in Windows Forms 2.0

Applications have special support in Windows Forms. For starters, you can manage and tailor your application's lifetime, and, when the work flow is disrupted by an unhandled exception, you can choose from several methods of response. Then, there are several application models that you can employ, including Single Document Interface (SDI) and Multiple Document Interface (MDI) applications, each of which can support either multiple-instance or single-instance mode, the former the VS05 default and the latter requiring special consideration. All applications, however, can discover and use a wide variety of information about the system and environment they execute in.

Application Architecture in Windows Forms 2.0-Single-MDI Applications

Consider an MDI application like Microsoft Excel; files opened from the file system (by double-clicking) are all opened as separate child windows within the parent Excel window.7 For the first instance of an MDI application to open a new child window to display the file that was passed to the second instance of the application, the second instance must be able to communicate with the initial instance.

Explained: Forms Authentication in ASP.NET

This module explains how forms authentication works in ASP.NET version 2.0. It explains how IIS and ASP.NET authentication work together, and it explains the role and operation of the FormsAuthenticationModule class.

Using Forms Authentication in ASP.NET - Part 1

Classic ASP developers often had to "roll their own" authentication scheme, however, in ASP.NET much of the grunt work has been taken out. This article outlines how things have changed and how FormsAuthentication can be used to secure a Web site with a minimal amount of code.
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