Click here to Skip to main content
15,880,796 members
Home / Discussions / C#
   

C#

 
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 
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 
When the same code was executed in VS2012 it worked without any error and authentication was true
"void Application_AuthenticateRequest(Object sender, EventArgs e)
{
if (Context.Request.IsAuthenticated)
{
Context.User = UserPrincipal.Authenticate(Context.User.Identity as
System.Security.Principal.WindowsIdentity);
Thread.CurrentThread.Name = UserPrincipal.CurrentUser.LoginName;
}

else
{

throw new UnauthorizedAccessException("Windows Integrated Security is not enabled");
}
}
"
The above method is where i'm facing issue. In VS2019 the IsAuthenticated is returning false where it returned true in VS2012 and worked fine.
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 
GeneralRe: How To Write And Comsume An Async Method Pin
Kevin Marois12-Jun-20 9:54
professionalKevin Marois12-Jun-20 9:54 
GeneralRe: How To Write And Comsume An Async Method Pin
Richard Deeming14-Jun-20 23:44
mveRichard Deeming14-Jun-20 23:44 

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.