Debug info file name not set

Discussion in 'CRM / Helpdesk / App Integration' started by JHedges, Jul 24, 2014.

Thread Status:
Not open for further replies.
  1. JHedges

    Joined:
    Jun 10, 2014
    Messages:
    4
    Likes Received:
    0
    Hi,

    I've been making a (for me) very complicated IVR system for our support staff, and it has been going very well. However after around 200ish builds of the IVR, I can no longer build and then execute debug submissions.

    In the Errors_Debug.log there are lines like:

    One for each ASPX of the IVR. This suddenly happened from one build to the next, I tried researching how to fix but was unsuccessful. Additionally, I looked around to see if I could specify this file, but came up empty-handed.

    I really need to get the debugger going, please help! Thanks.
     
  2. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Hi there!

    This seems to be a bug, which happens when the error occurs at the beggining, I'll investigate it...

    But the real issue you're experiencing is something else, the problem is that this bug doesn't let you know what you're doing wrong.

    The page that you're executing is this:
    SupportIVR_ErrorHandler_DebugInfo.aspx

    That means that you're experiencing an error, so the handler is triggered, and then another error happens.

    You need to fix the first error to continue working. In order to diagnose the problem, please take a look at the log "3CXIvrServer.log", pretty sure there you have the root cause. This article explains a bit more on troubleshooting VAD apps:
    http://www.3cx.com/blog/docs/troubleshooting-vad-applications/

    Hope the information helps, if you still can't get over it send me a PM so I get into your server and check the issue.
     
  3. JHedges

    Joined:
    Jun 10, 2014
    Messages:
    4
    Likes Received:
    0
    Hi, Thank you for the reply.

    I do see an issue in the 3cxIVRServer.log:
    Redacted my ODBC UN and Pass for obvious reasons. From the look of the string it is the setting of all the project variables. However I'm not certain which of these is failing it out -- is it the session.dnis=852MethodGETError-404 dropping this out or something along the line?

    Your help is much appreciated!
     
  4. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Yes, that error code 404 means that the file was not found, and the file in question is:
    SupportIVR_Debug_288/SupportIVR_DebugInfo.aspx

    Can you confirm if the deployment is working? Do you see that file into the proper folder?
     
  5. JHedges

    Joined:
    Jun 10, 2014
    Messages:
    4
    Likes Received:
    0
    The deployment works without issue if I change the Incoming Rule to use the 851 (Release) build of the IVR. If I use the 852 (Debug) build it errors out, as we see. The SupportIVR_DebugInfo.aspx is present in the proper folder, and as far as I can tell permissions are OK. The timestamp suggests that it is created by the VAD at the same time as the other aspx.

    Looking at the code it looks to be mostly auto-generated by your process. Nothing custom or special is really in it, save for the flow name. It seems to be parsed in some way, as the below code is handled; unless this is equally present in other sections:
    Code:
    catch (Exception exc)
        {
          errorDescription = getErrorDescription(exc);
          using (FileStream stream = File.Open(Server.MapPath("Errors_Debug.log"), FileMode.Append, FileAccess.Write, FileShare.ReadWrite))
          {
            using (StreamWriter writer = new StreamWriter(stream))
            {
              writer.Write("-------------------------------------\n" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff") + "\n" + exc.ToString() + "\n\n");
            }
          }
        }
    
    Thank you for your continued assistance -- it rocks :).
     
  6. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Please send me a PM so we schedule a TeamViewer session to check the issue...
     
  7. elennaro

    Joined:
    May 31, 2017
    Messages:
    2
    Likes Received:
    0
    Hi, we have exactly the same error.
    Could you please tell how did you fix it?
     
  8. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,361
    Likes Received:
    109
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. elennaro

    Joined:
    May 31, 2017
    Messages:
    2
    Likes Received:
    0
    Thank you for the reply @edossantos

    I mean this error:


    and this one in ""3CXIvrServer.log":

     
  10. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,361
    Likes Received:
    109
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    elennaro likes this.
Thread Status:
Not open for further replies.