Click here to Skip to main content
15,881,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 4:22
professionalSteve Naidamast18-Aug-20 4:22 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 5:14
professionalF-ES Sitecore18-Aug-20 5:14 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 5:40
professionalSteve Naidamast18-Aug-20 5:40 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 6:24
professionalF-ES Sitecore18-Aug-20 6:24 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 7:30
professionalSteve Naidamast18-Aug-20 7:30 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 7:54
professionalF-ES Sitecore18-Aug-20 7:54 
AnswerRe: Why ASP.NET MVC\Core ??? Pin
ZurdoDev28-Aug-20 4:55
professionalZurdoDev28-Aug-20 4:55 
QuestionWeb.config Encryption and Decryption Pin
Otekpo Emmanuel15-Aug-20 11:21
Otekpo Emmanuel15-Aug-20 11:21 
Hi there,
I want to encrypt my site web.config file for security purposes and why searching codeproject for this topic, I found this useful link https://www.codeproject.com/Tips/795135/Encrypt-ConnectionString-in-Web-Config

I followed the steps and was able to encrypt the connection strings on my local system.
Now, I copied the web.config file to my host server root directory.

Then on loading the site, I got this error-: Parser Error Message: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: Bad Data.

Then I tried searching the net and codeproject for solution but none was found by me pointing to error why uploaded to server. Maybe am not using the right keywords!

However, I came across a link that suggested I should change
<identity impersonate="true">
Or
<identity impersonate="false">
Which I did but no luck.

But I believe someone here on codeproject has the solution.

So my question is, how can I make this to work after uploading to server?

Note: Am using shared hosting for now so I don't have admin rights to do anything on the server.
Thanks in advance!
AnswerRe: Web.config Encryption and Decryption Pin
Richard Deeming16-Aug-20 22:37
mveRichard Deeming16-Aug-20 22:37 
GeneralRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel16-Aug-20 22:45
Otekpo Emmanuel16-Aug-20 22:45 
GeneralRe: Web.config Encryption and Decryption Pin
Richard Deeming16-Aug-20 22:49
mveRichard Deeming16-Aug-20 22:49 
GeneralRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel17-Aug-20 0:53
Otekpo Emmanuel17-Aug-20 0:53 
AnswerRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel21-Aug-20 4:19
Otekpo Emmanuel21-Aug-20 4:19 
QuestionASP .NET sql database network connection string Pin
Member 1462055331-Jul-20 9:19
Member 1462055331-Jul-20 9:19 
AnswerRe: ASP .NET sql database network connection string Pin
DerekT-P31-Jul-20 9:41
professionalDerekT-P31-Jul-20 9:41 
GeneralRe: ASP .NET sql database network connection string Pin
Member 1462055331-Jul-20 10:05
Member 1462055331-Jul-20 10:05 
GeneralRe: ASP .NET sql database network connection string Pin
F-ES Sitecore1-Aug-20 1:20
professionalF-ES Sitecore1-Aug-20 1:20 
GeneralRe: ASP .NET sql database network connection string Pin
Steve Naidamast16-Aug-20 7:44
professionalSteve Naidamast16-Aug-20 7:44 
QuestionIndividual Accounts in webapi project vs2017 Pin
ganesh.dks28-Jul-20 21:44
ganesh.dks28-Jul-20 21:44 
QuestionUsing Authorize(Roles) in my API controller Pin
jkirkerx20-Jul-20 6:36
professionaljkirkerx20-Jul-20 6:36 
AnswerRe: Using Authorize(Roles) in my API controller Pin
jkirkerx21-Jul-20 6:01
professionaljkirkerx21-Jul-20 6:01 
AnswerWell after another failed day to figure it out ... Pin
jkirkerx21-Jul-20 12:53
professionaljkirkerx21-Jul-20 12:53 
AnswerThink I figured it out Pin
jkirkerx22-Jul-20 12:51
professionaljkirkerx22-Jul-20 12:51 
AnswerHead scratcher here Pin
jkirkerx23-Jul-20 10:33
professionaljkirkerx23-Jul-20 10:33 
AnswerDid the rewrite on both the server and client side, works great now Pin
jkirkerx27-Jul-20 7:48
professionaljkirkerx27-Jul-20 7:48 

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.