Click here to Skip to main content
15,884,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: shortcut key for current date in textbox Pin
NeverHeardOfMe26-Aug-10 12:00
NeverHeardOfMe26-Aug-10 12:00 
GeneralRe: shortcut key for current date in textbox Pin
janetb9927-Aug-10 4:29
janetb9927-Aug-10 4:29 
GeneralRe: shortcut key for current date in textbox Pin
NeverHeardOfMe27-Aug-10 6:06
NeverHeardOfMe27-Aug-10 6:06 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:16
janetb999-Sep-10 5:16 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:19
janetb999-Sep-10 5:19 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:33
janetb999-Sep-10 5:33 
GeneralRe: shortcut key for current date in textbox Pin
NeverHeardOfMe9-Sep-10 6:35
NeverHeardOfMe9-Sep-10 6:35 
QuestionMicrosoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer issue Pin
Sudhanshu Mani Tripathi26-Aug-10 2:49
Sudhanshu Mani Tripathi26-Aug-10 2:49 
I have a application that is running live , I want to run the application on my local system so that some changes can be made.
I am attempting to use the Enterprise Library Cryptography block to encrypt a credit password in my ASP.NET 3.5 application. Everything is configured correctly,and not getting any error when I build he application but When I call the DecryptSymmetric () method, I get this error:

The system configuration source is not defined in the configuration file.

[System.Configuration.ConfigurationErrorsException] = {"The system configuration source is not defined in the configuration file."}

Stack trace:
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceFactory.Create()
at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric(String symmetricInstance, Byte[] ciphertext)
at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric(String symmetricInstance, String ciphertextBase64)
at UserControls_LoginUserControl.SetUserAthent


My web.config contains the following (relevant) sections:
<configSections>
<section name="OnLineStudentPortal.Data" type="OnLineStudentPortal.Data.Bases.NetTiersServiceSection, OnLineStudentPortal.Data" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>
<section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</configSections>

<location allowOverride="false" path="Application">
<enterpriseLibrary.ConfigurationSource selectedSource="File Configuration Source">
<sources>
<add name="File Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" filePath="entlib.config"/>
</sources>
</enterpriseLibrary.ConfigurationSource>
</location>

pz let me know What is the solution of the above issue. I am searching it on google from last 4-5 hrs but did not get any solution , please let me know if any body have any other finding or anything I have missed .
AnswerRe: Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer issue Pin
T M Gray26-Aug-10 5:37
T M Gray26-Aug-10 5:37 
GeneralRe: Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer issue [modified] Pin
Sudhanshu Mani Tripathi26-Aug-10 19:48
Sudhanshu Mani Tripathi26-Aug-10 19:48 
QuestionProblem with Wizard Control Pin
AndyASPVB25-Aug-10 11:35
AndyASPVB25-Aug-10 11:35 
QuestionOdd Logon Failure with Enterprise Libraries Exception Handler Pin
DeepToot25-Aug-10 5:04
DeepToot25-Aug-10 5:04 
QuestionSilverlight and aspx pages Pin
future383925-Aug-10 4:11
future383925-Aug-10 4:11 
QuestionBuild DAL for asp.net 3.5 project, List <> or DataSet Pin
vrsanaidu25-Aug-10 1:49
vrsanaidu25-Aug-10 1:49 
AnswerRe: Build DAL for asp.net 3.5 project, List or DataSet Pin
Ennis Ray Lynch, Jr.25-Aug-10 3:50
Ennis Ray Lynch, Jr.25-Aug-10 3:50 
AnswerRe: Build DAL for asp.net 3.5 project, List or DataSet Pin
T M Gray25-Aug-10 11:44
T M Gray25-Aug-10 11:44 
AnswerRe: Build DAL for asp.net 3.5 project, List or DataSet Pin
Richard A. Dalton26-Aug-10 4:32
Richard A. Dalton26-Aug-10 4:32 
QuestionApparent issues with ASP.NET 4.0 and VS 2010 Pin
Talal Sultan23-Aug-10 19:19
Talal Sultan23-Aug-10 19:19 
AnswerRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
R. Giskard Reventlov23-Aug-10 21:34
R. Giskard Reventlov23-Aug-10 21:34 
AnswerRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Eaverae23-Aug-10 22:48
Eaverae23-Aug-10 22:48 
GeneralRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Talal Sultan23-Aug-10 23:17
Talal Sultan23-Aug-10 23:17 
GeneralRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Eaverae23-Aug-10 23:39
Eaverae23-Aug-10 23:39 
AnswerRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Eaverae24-Aug-10 4:58
Eaverae24-Aug-10 4:58 
GeneralRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Talal Sultan24-Aug-10 19:12
Talal Sultan24-Aug-10 19:12 
AnswerRe: Apparent issues with ASP.NET 4.0 and VS 2010 Pin
Eaverae25-Aug-10 0:45
Eaverae25-Aug-10 0:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.