Monthly Archive: April 2009

Apr 19

“Hashed passwords cannot be decoded.”

While working with C#.Net and ASP.Net memberhsip I get the following error: “Hashed passwords cannot be decoded.” when using the following line: string tempPassword = Membership.Provider.GetPassword(userName, “”); How can I resolve this issue?

Continue reading »

Apr 17

“Communication with the underlying transaction manager has failed.”

Why would the following error message occur?: “Communication with the underlying transaction manager has failed.” I also got the following inner exception in case this helps: {“The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn’t …

Continue reading »

Apr 17

The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)

How do you resolve the following error message: “The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)”

Continue reading »

Apr 17

Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.

How can you resolve the following issue: Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.

Apr 15

What is the best way to redirect a user to the login page?

If I wanted to redirect the user to the login page for some reason (either they are not logged in or we sign them out automatically) what would be the best way to redirect them there? I can manually do a Redirect but I am sure there is probably a more integrated method to do …

Continue reading »

Apr 15

How do you read a parameter from the URL?

I am trying to use the login.aspx page in such a way that when a user tries to access any given page, it will redirect them to the login screen if they are not authenticated and after a successful authentication go back to the page they were trying to access. My issue is that when …

Continue reading »

Apr 10

How can I display HTML tags on a page?

I want to have the browser treat a section of the file as text rather than html code. Is there a way to have a browser treat a section as text and display it as is instead of thinking it is html tags and potentially messing up the page? I am mostly interested in this …

Continue reading »

Apr 09

Resolved: You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key

Q) How to resolve the error message “You must specify a non-autogenerated machine key to store passwords in the encrypted format.” when using ASP.Net membership: When using ASP.Net membership provider you might encounter the error “You must specify a non-autogenerated machine key to store passwords in an encrypted format” like this one: System.Configuration.Provider.ProviderException was unhandled …

Continue reading »