Click here to Skip to main content
15,796,025 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 5:22
professionalSteve Naidamast18-Aug-20 5:22 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 6:14
professionalF-ES Sitecore18-Aug-20 6:14 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 6:40
professionalSteve Naidamast18-Aug-20 6:40 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 7:24
professionalF-ES Sitecore18-Aug-20 7:24 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
Steve Naidamast18-Aug-20 8:30
professionalSteve Naidamast18-Aug-20 8:30 
GeneralRe: Why ASP.NET MVC\Core ??? Pin
F-ES Sitecore18-Aug-20 8:54
professionalF-ES Sitecore18-Aug-20 8:54 
AnswerRe: Why ASP.NET MVC\Core ??? Pin
ZurdoDev28-Aug-20 5:55
professionalZurdoDev28-Aug-20 5:55 
QuestionWeb.config Encryption and Decryption Pin
Otekpo Emmanuel15-Aug-20 12:21
Otekpo Emmanuel15-Aug-20 12: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 23:37
mveRichard Deeming16-Aug-20 23:37 
GeneralRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel16-Aug-20 23:45
Otekpo Emmanuel16-Aug-20 23:45 
GeneralRe: Web.config Encryption and Decryption Pin
Richard Deeming16-Aug-20 23:49
mveRichard Deeming16-Aug-20 23:49 
GeneralRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel17-Aug-20 1:53
Otekpo Emmanuel17-Aug-20 1:53 
AnswerRe: Web.config Encryption and Decryption Pin
Otekpo Emmanuel21-Aug-20 5:19
Otekpo Emmanuel21-Aug-20 5:19 
QuestionASP .NET sql database network connection string Pin
Member 1462055331-Jul-20 10:19
Member 1462055331-Jul-20 10:19 
AnswerRe: ASP .NET sql database network connection string Pin
DerekT-P31-Jul-20 10:41
professionalDerekT-P31-Jul-20 10:41 
GeneralRe: ASP .NET sql database network connection string Pin
Member 1462055331-Jul-20 11:05
Member 1462055331-Jul-20 11:05 
GeneralRe: ASP .NET sql database network connection string Pin
F-ES Sitecore1-Aug-20 2:20
professionalF-ES Sitecore1-Aug-20 2:20 
GeneralRe: ASP .NET sql database network connection string Pin
Steve Naidamast16-Aug-20 8:44
professionalSteve Naidamast16-Aug-20 8:44 
QuestionIndividual Accounts in webapi project vs2017 Pin
ganesh.dks28-Jul-20 22:44
ganesh.dks28-Jul-20 22:44 
QuestionUsing Authorize(Roles) in my API controller Pin
jkirkerx20-Jul-20 7:36
professionaljkirkerx20-Jul-20 7:36 
AnswerRe: Using Authorize(Roles) in my API controller Pin
jkirkerx21-Jul-20 7:01
professionaljkirkerx21-Jul-20 7:01 
AnswerWell after another failed day to figure it out ... Pin
jkirkerx21-Jul-20 13:53
professionaljkirkerx21-Jul-20 13:53 
AnswerThink I figured it out Pin
jkirkerx22-Jul-20 13:51
professionaljkirkerx22-Jul-20 13:51 
AnswerHead scratcher here Pin
jkirkerx23-Jul-20 11:33
professionaljkirkerx23-Jul-20 11:33 
AnswerDid the rewrite on both the server and client side, works great now Pin
jkirkerx27-Jul-20 8:48
professionaljkirkerx27-Jul-20 8: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.