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

ASP.NET

 
AnswerRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Richard Deeming28-Jan-20 1:04
mveRichard Deeming28-Jan-20 1:04 
QuestionDisplaying two images but code is for single image Pin
UDTWS27-Jan-20 19:33
UDTWS27-Jan-20 19:33 
QuestionDynamically updating the site with progress bar Pin
iinfoque11127-Jan-20 7:46
iinfoque11127-Jan-20 7:46 
QuestionRe: Dynamically updating the site with progress bar Pin
ZurdoDev27-Jan-20 9:00
professionalZurdoDev27-Jan-20 9:00 
AnswerRe: Dynamically updating the site with progress bar Pin
iinfoque11127-Jan-20 18:58
iinfoque11127-Jan-20 18:58 
GeneralRe: Dynamically updating the site with progress bar Pin
ZurdoDev28-Jan-20 0:26
professionalZurdoDev28-Jan-20 0:26 
AnswerRe: Dynamically updating the site with progress bar Pin
David Mujica29-Jan-20 5:57
David Mujica29-Jan-20 5:57 
QuestionHow to I fix "The method or operation is not implemented"? Pin
Member 1140330424-Jan-20 8:59
Member 1140330424-Jan-20 8:59 
When I run my code, when I want to check the user who is logged in (this is a web application), the method called is having an error saying The method or operation is not implemented.

I need help to fix it by implementing the method.

Here is where the error occurs

C#
try
{
	foreach (string caseNumber in userEnteredCaseNumberList)
	{
		EditCandidateCaseModel newCandidate = new EditCandidateCaseModel();
		newCandidate.CaseNbr = caseNumber;
		newCandidate.RequestorInfoID = Convert.ToInt32(requestorItem.Value);
		newCandidate.EntryStaffUserName = Helpers.Authentication.GetADEmail(); //Calls public static string GetADEmmail method
		await CandidateCaseController.PostCandidate(newCandidate);
	}
}
catch (Exception ex)//shows The method or operation is not implemented.
{
 string errorMsg = string.Format("An error has occured in {0}. \nException:\n{1}", "GetCasesButton_Click()", ex.Message);
 ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + errorMsg + "');", true);
}


Method that is called by line 8 with EntryStaffUserName. The error on on this method on line 7

C#
public static string GetADEmail()
{
	string retVal = string.Empty;
        using (var context = new PrincipalContext(ContextType, "COURTS"))
        {
	         UserPrincipal user = new UserPrincipal(context);
                user = UserPrincipal.FindByIdentity(context, IdentityType, Environment.UserName);//this is where there is an issue. I can see UserName has a value
                retVal = user.EmailAddress;
        }
        return retVal;
}

AnswerRe: How to I fix "The method or operation is not implemented"? Pin
Blikkies26-Jan-20 21:48
professionalBlikkies26-Jan-20 21:48 
QuestionHow to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846714-Jan-20 20:41
Member 245846714-Jan-20 20:41 
SuggestionRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Richard Deeming15-Jan-20 0:51
mveRichard Deeming15-Jan-20 0:51 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx15-Jan-20 10:24
professionaljkirkerx15-Jan-20 10:24 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846715-Jan-20 15:17
Member 245846715-Jan-20 15:17 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx16-Jan-20 7:26
professionaljkirkerx16-Jan-20 7:26 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846716-Jan-20 21:04
Member 245846716-Jan-20 21:04 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx17-Jan-20 6:55
professionaljkirkerx17-Jan-20 6:55 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Richard Deeming16-Jan-20 1:33
mveRichard Deeming16-Jan-20 1:33 
JokeRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
ZurdoDev16-Jan-20 3:55
professionalZurdoDev16-Jan-20 3:55 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx16-Jan-20 7:34
professionaljkirkerx16-Jan-20 7:34 
Question.Net Core 2.2.4 - Getting IHostingEnvironment in Program.cs Main Pin
jkirkerx14-Jan-20 10:24
professionaljkirkerx14-Jan-20 10:24 
QuestionHtmlagilitypack -- I'm stuck Pin
Member 175325011-Jan-20 5:40
Member 175325011-Jan-20 5:40 
QuestionHow do I fix System.Net.Mail.SmtException: 'Cannot get IIS pickup directory' error? Pin
Member 1140330410-Jan-20 9:19
Member 1140330410-Jan-20 9:19 
AnswerRe: How do I fix System.Net.Mail.SmtException: 'Cannot get IIS pickup directory' error? Pin
Richard MacCutchan10-Jan-20 11:37
mveRichard MacCutchan10-Jan-20 11:37 
AnswerRe: How do I fix System.Net.Mail.SmtException: 'Cannot get IIS pickup directory' error? Pin
ZurdoDev11-Jan-20 9:03
professionalZurdoDev11-Jan-20 9:03 
QuestionHow do I fix 'object' does not contain a definition for 'Value'? Pin
Member 1140330410-Jan-20 8:27
Member 1140330410-Jan-20 8:27 

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.