You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cannot save/update: Answer(ID=21477): DB API Error while performing update on answer

Accepted answer
28
Views
6
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 6 comments

Content

I wrote an application in C# to update articles in the database. It works fine for us for one of our environments. When we try the other environment. It throws an error:

Cannot save/update: Answer(ID=21477): DB API Error while performing update on answer.

I've checked the permission of the user that is being called and they have full access to everything, I am not sure what could be causing the error?. Is there anything that I am missing or any reason this should not work?

Code Snippet

             using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ConsoleApplication1.RightNowService; //The Service Refrence to the wsdl

namespace SampleClient
{
    class SampleClient
    {
        private RightNowSyncPortClient _service;

        public SampleClient()
        {
            _service = new RightNowSyncPortClient();

            _service.ClientCredentials.UserName.UserName = "USERNAME";
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!