Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Internal Server Error 500

Discussion in '3CX Phone System - General' started by dscp46, Jun 27, 2016.

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

    Joined:
    Jun 27, 2016
    Messages:
    1
    Likes Received:
    0
    Running v15.0.0, when I click on "Extensions" and then select an extension to manage. I am getting an Internal Server Error 500. Do you have any thoughts? I've restarted all the services and that did not remedy the issue.

    The error detail log shows;
    System.IO.FileNotFoundException: Could not find file 'C:\ProgramData\3CX\Instance1\Data\Ivr\Prompts\Sets\8210986B-9412-497f-AD77-3A554F4A9BDB\SetInfo.xml'.
    File name: 'C:\ProgramData\3CX\Instance1\Data\Ivr\Prompts\Sets\8210986B-9412-497f-AD77-3A554F4A9BDB\SetInfo.xml'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReaderImpl.FinishInitUriString()
    at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
    at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
    at ConfigurationManagementModel.CfgPromptSet.Serialize_BeforeSerialize(Object sender, SerializeEventArgs e)
    at ConfigurationManagementModel.PropertySerializer.Serialize(ICfgItemInternal cfgItem, SerializeParameters serializeParameters)
    at ConfigurationManagementModel.CfgItemBase.Load()
    at ConfigurationManagementModel.CfgItemManager.GetItem(Object hint)
    at ConfigurationManagementModel.CfgCollectionBase..ctor(ICfgItemManager itemManager, Func`2 filter)
    at ConfigurationManagementModel.PSCfgCollection..ctor(ICfgItemManager itemManager)
    at ConfigurationManagementModel.CfgRoot.CollectionConstructor.Create()
    at System.Lazy`1.CreateValue()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Lazy`1.get_Value()
    at ConfigurationManagementModel.CfgCollectionProperty.ConnectToEvents()
    at ConfigurationManagementModel.CfgCollectionProperty.get_Value()
    at ConfigurationManagementModel.CfgRoot.get_PromptSets()
    at ConfigurationManagementModel.CfgExtensionEditor.<InitializeAccessibilities>b__256_17()
    at ConfigurationManagementModel.PropertyAccessibility.GetPropertyAccessibility(ICfgProperty property)
    at ConfigurationManagementModel.CfgItemBase.CheckAccessibilities()
    at ConfigurationManagementModel.CfgItemBase.Initialize()
    at ConfigurationManagementModel.CfgExtensionEditor.Initialize(ICfgItemManager manager)
    at ConfigurationManagementModel.CfgItemManager.GetItem(Object hint)
    at ManagementConsoleJS.Controllers.ExtensionListController.Set(SetEditorPhoneSystemArg arg)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Microsoft.AspNet.Mvc.Controllers.ControllerActionExecutor.ExecuteAsync(MethodInfo actionMethodInfo, Object instance, Object[] orderedActionArguments)
    at Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker.<InvokeActionAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.<InvokeActionFilterAsync>d__53.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.<InvokeAsync>d__44.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.AspNet.Mvc.Infrastructure.MvcRouteHandler.<RouteAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute.<RouteAsync>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.AspNet.Routing.RouteCollection.<RouteAsync>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.AspNet.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at ManagementConsoleJS.Middleware.AuthorizeCorrectlyMiddleware.<Invoke>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.<Invoke>d__3.MoveNext()
    Ok
     
  2. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,575
    Likes Received:
    305
    I saw this sometimes in v14 and the extension was corrupt somehow. I had to delete and recreate.
    Perhaps the devs have more on this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MichaelB

    MichaelB Member
    3CX Support

    Joined:
    Aug 25, 2009
    Messages:
    407
    Likes Received:
    8
    From the exception you provided, seems that Prompt 210986B-9412-497f-AD77-3A554F4A9BDB has missing SetInfo.xml.

    Did you perhaps restored a backup to cause this?

    If so update to RC2 and if problem still persist PM and we will look into it!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.