473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

machineKey values: how?

TK
How can I get my unique key values for the "validationkey" and
"decryptionkey" attributes in a <machineKey> element in my web.config?
Is there any tools I can use for?

Any input would be highly appreciated.
TK

Nov 18 '05 #1
3 1968
TK,

We have sample code for that in the following articles:

312906 HOW TO: Create Keys by Using Visual C# .NET for Use in Forms
http://support.microsoft.com/?id=312906

313091 HOW TO: Create Keys by Using Visual Basic .NET for Use in Forms
http://support.microsoft.com/?id=313091
Note that these articles refer to Forms authentication, but the same
applies to any use of the <machineKey> element.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "TK" <tk****@nospam.emotionalbits.com>
Subject: machineKey values: how?
Date: Fri, 16 Apr 2004 15:24:48 +0900
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ej**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: q255060.ap.plala.or.jp 220.99.255.60
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:226043
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

How can I get my unique key values for the "validationkey" and
"decryptionkey" attributes in a <machineKey> element in my web.config?
Is there any tools I can use for?

Any input would be highly appreciated.
TK


Nov 18 '05 #2
TK
Hi Jim.

That's greatly helpful for me.
Thank you very much!!!

TK

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Cm**************@cpmsftngxa06.phx.gbl...
TK,

We have sample code for that in the following articles:

312906 HOW TO: Create Keys by Using Visual C# .NET for Use in Forms
http://support.microsoft.com/?id=312906

313091 HOW TO: Create Keys by Using Visual Basic .NET for Use in Forms
http://support.microsoft.com/?id=313091
Note that these articles refer to Forms authentication, but the same
applies to any use of the <machineKey> element.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "TK" <tk****@nospam.emotionalbits.com>
Subject: machineKey values: how?
Date: Fri, 16 Apr 2004 15:24:48 +0900
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ej**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: q255060.ap.plala.or.jp 220.99.255.60
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:226043X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

How can I get my unique key values for the "validationkey" and
"decryptionkey" attributes in a <machineKey> element in my web.config?
Is there any tools I can use for?

Any input would be highly appreciated.
TK


Nov 18 '05 #3
Hi TK,

My pleasure. Glad to help.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
From: "TK" <tk****@nospam.emotionalbits.com>
References: <ej**************@tk2msftngp13.phx.gbl> <Cm**************@cpmsftngxa06.phx.gbl>Subject: Re: machineKey values: how?
Date: Mon, 19 Apr 2004 10:42:44 +0900
Lines: 62
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <eu**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: q255060.ap.plala.or.jp 220.99.255.60
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11
.phx.gblXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:227323
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi Jim.

That's greatly helpful for me.
Thank you very much!!!

TK

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Cm**************@cpmsftngxa06.phx.gbl...
TK,

We have sample code for that in the following articles:

312906 HOW TO: Create Keys by Using Visual C# .NET for Use in Forms
http://support.microsoft.com/?id=312906

313091 HOW TO: Create Keys by Using Visual Basic .NET for Use in Forms
http://support.microsoft.com/?id=313091
Note that these articles refer to Forms authentication, but the same
applies to any use of the <machineKey> element.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "TK" <tk****@nospam.emotionalbits.com>
>Subject: machineKey values: how?
>Date: Fri, 16 Apr 2004 15:24:48 +0900
>Lines: 7
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Windows-1252"
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <ej**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: q255060.ap.plala.or.jp 220.99.255.60
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gblmicrosoft.public.dotnet.framework.aspnet:226043 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>How can I get my unique key values for the "validationkey" and
>"decryptionkey" attributes in a <machineKey> element in my web.config?
>Is there any tools I can use for?
>
>Any input would be highly appreciated.
>TK
>
>



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dgermano | last post by:
I need some info to make sure I avoid problems with my webfarms. Currently I'm running 3 separate sites, each with their own webfarm of 2-3 webservers. All of these sites are using the same...
2
by: Zoe Hart | last post by:
In an effort to address ViewState invalid errors, I want to set the machineKey element in web.config on my two web servers. (The load balancer should be keeping a client on a single web server...
3
by: TK | last post by:
How can I get my unique key values for the "validationkey" and "decryptionkey" attributes in a <machineKey> element in my web.config? Is there any tools I can use for? Any input would be highly...
4
by: STech | last post by:
Are there any built in ways to read the MachineKey attributes from the machine.config? Thanks.
7
by: Ron | last post by:
Error Message:Unable to validate data. Stack Trace: at System.Web.Configuration.MachineKey.GetDecodedData(Byte buf, Byte modifier, Int32 start, Int32 length, Int32& dataLength) at...
0
by: Komil | last post by:
Hey Guys, We are using a webfarm environment to host our current site. There are three machine involved in this webfarm. I have copied the same machinekey information that was generated from...
5
by: Nick | last post by:
my web servers had .NET 1.1 on them and today we installed .NET 2.0 to deploy a few new applications. After running aspnet_resiis.exe -i under the 2.0 framework directory all my single signon 1.1...
1
by: Dhruba Bandopadhyay | last post by:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm....
1
by: Jeff | last post by:
Hey ASP.NET 2.0 I'm developing a web portal and are about to move the development environment to a different computer. I wonder if I have to change the machineKey because I changed developed...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.