Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: Multiple Classes, same name Pin
Gerry Schmitz16-Jun-20 7:06
mveGerry Schmitz16-Jun-20 7:06 
AnswerRe: Multiple Classes, same name Pin
Patrice T16-Jun-20 8:06
mvePatrice T16-Jun-20 8:06 
AnswerRe: Multiple Classes, same name Pin
Mycroft Holmes16-Jun-20 12:46
professionalMycroft Holmes16-Jun-20 12:46 
AnswerRe: Multiple Classes, same name Pin
Simon_Whale17-Jun-20 2:23
Simon_Whale17-Jun-20 2:23 
AnswerRe: Multiple Classes, same name Pin
#realJSOP21-Jun-20 1:35
mve#realJSOP21-Jun-20 1:35 
GeneralRe: Multiple Classes, same name Pin
Bohdan Stupak29-Jun-20 4:05
professionalBohdan Stupak29-Jun-20 4:05 
AnswerRe: Multiple Classes, same name Pin
Bohdan Stupak29-Jun-20 4:03
professionalBohdan Stupak29-Jun-20 4:03 
QuestionAuthentication Error After migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH14-Jun-20 23:42
Rohith PH14-Jun-20 23:42 
Hi,

Not sure which forum I need to use for this issue. Currently we are using visual studio 2012 ,Community edition ,net framework 4.0. On our workstations, we installed Visual Studio Enterprise 2019 version. We Should migrate our project to.net framework 4.7.2 in VS2019. When I open project in VS 2019 with .net framework 4.7.2, it is giving the run time error as Authentication error (Project was successfully build without any error). Where the same project worked good on VS2012.

It is showing

"


Exception Details: System.UnauthorizedAccessException: Windows Integrated Security is not enabled

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true">, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

Line 115: {
Line 116:
Line 117: throw new UnauthorizedAccessException("Windows Integrated Security is not enabled");
Line 118: }
Line 119:
"

Where i have enabled windows integrated security .

windows authentication as enables and anonymous authentication as disabled.

Can anyone please help me what changes i need to make over here?

modified 15-Jun-20 6:39am.

AnswerRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming15-Jun-20 0:22
mveRichard Deeming15-Jun-20 0:22 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH15-Jun-20 0:32
Rohith PH15-Jun-20 0:32 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming15-Jun-20 0:47
mveRichard Deeming15-Jun-20 0:47 
QuestionRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH15-Jun-20 20:45
Rohith PH15-Jun-20 20:45 
AnswerRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming15-Jun-20 22:24
mveRichard Deeming15-Jun-20 22:24 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH15-Jun-20 22:56
Rohith PH15-Jun-20 22:56 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming15-Jun-20 23:35
mveRichard Deeming15-Jun-20 23:35 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH16-Jun-20 1:02
Rohith PH16-Jun-20 1:02 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming16-Jun-20 1:10
mveRichard Deeming16-Jun-20 1:10 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH16-Jun-20 1:31
Rohith PH16-Jun-20 1:31 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming16-Jun-20 2:29
mveRichard Deeming16-Jun-20 2:29 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Rohith PH16-Jun-20 23:40
Rohith PH16-Jun-20 23:40 
GeneralRe: Authentication Error while migration of .net web application from VS2012 (.net 4.0) to VS2019 (.net 4.7.2)project Pin
Richard Deeming16-Jun-20 23:49
mveRichard Deeming16-Jun-20 23:49 
QuestionProblem with serial port Pin
DanTheBest14-Jun-20 5:48
DanTheBest14-Jun-20 5:48 
AnswerRe: Problem with serial port Pin
OriginalGriff14-Jun-20 8:27
mveOriginalGriff14-Jun-20 8:27 
QuestionHow To Write And Comsume An Async Method Pin
Kevin Marois12-Jun-20 6:47
professionalKevin Marois12-Jun-20 6:47 
AnswerRe: How To Write And Comsume An Async Method Pin
Richard Deeming12-Jun-20 8:09
mveRichard Deeming12-Jun-20 8:09 

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.