Runtime Error Server/Client Application

Hello gyus, i need your help. I installed the ArasInnovatorServer with the Documentation and this video: https://www.youtube.com/watch?v=2uof2j-ZjIU&feature=youtu.be Now if type the address of the server in the internet explorer i get a runtime error. Explained in this thread: http://community.aras.com/en/forums/topic/get-sever-error-while-running-aras/ I add the customErrors tag to the web xml file. I found the file in the innovator directory. But doesn't help. Can you please help me?
  • I found the correct file in this directory Innovator/Client. Now i get this message if i visit the innovatorserver webpage. Is it correct that the InnovatorServerConfig file is empty during a new installation?  
    
    Server Error in '/InnovatorServer/Client' Application.
    Root element is missing.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.Xml.XmlException: Root element is missing.
    
    Source Error:
    
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    
    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
    
    <%@ Page Language="C#" Debug="true" %>
    
    or:
    
    2) Add the following section to the configuration file of your application:
    
    &nbsp;
    
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
    
    Stack Trace:
    
    [XmlException: Root element is missing.]
    System.Xml.XmlTextReaderImpl.Throw(Exception e) +88
    System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1087
    System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +185
    System.Xml.XmlDocument.Load(XmlReader reader) +134
    System.Xml.XmlDocument.Load(String filename) +146
    Aras.Web.Configuration.ServerConfig.GetXmlConfigInternal() in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\Aras.Web.Configuration\ServerConfig.cs:213
    Aras.Web.Configuration.ServerConfig.ParseXmlConfig() in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\Aras.Web.Configuration\ServerConfig.cs:263
    Aras.Web.Configuration.ServerConfig.GetServerConfig(String cachedInstanceKey, CreateNewInstanceRT createNewInstance, Object[] parameters) in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\Aras.Web.Configuration\ServerConfig.cs:63
    Aras.Client.Core.ClientConfig.GetServerConfig() in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\Aras.Web.Client\ClientConfig.cs:48
    ASP.default_aspx.init_application() +41
    ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +54
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +260
    System.Web.UI.Page.Render(HtmlTextWriter writer) +39
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4124
    
  • Hi Obi8, It sounds like there is a syntax error somewhere in an XML file, either the web.config file that you updated or the InnovatorServerConfig.xml file. Can you undo your changes to the web.config file and try logging in again? If you get an error, please post it here. Eli
    Eli Donahue Aras Labs Software Engineer
  • I have undone my change to the web.config file. Now i get this message.  
    
    
    Server Error in '/InnovatorServer/Client' Application.
    
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    
    <!-- Web.Config Configuration File -->
    
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    
    <!-- Web.Config Configuration File -->
    
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
    
    
  • Hi Obi8, I just noticed the following line in your previous post:
    Is it correct that the InnovatorServerConfig file is empty during a new installation?
    This is not expected behavior. It sounds like Innovator did not install correctly. I recommend that you uninstall Aras, make sure you have IIS and other required components installed on your server (.NET Framework 3.5 and 4.0 or higher, ASP.NET, etc), and try installing Innovator again. Eli
    Eli Donahue Aras Labs Software Engineer
  • I did a new clean installation. I get the same message and the InnovatorServerConfig is empty.   I forgot some information: OS: Windows Server 2016 x64 DB: SQL Server 2014 ArasPLM: 11 SP12
  • I reinstall windows server, sql server and aras innovator 11, but i get the same message and the innovatorserverconfig file is also empty. Can any one help me?
  • Hi Obi8, It sounds like the installation is not completing successfully. Can you confirm whether the installer finishes with a success or failure message? Also, are you installing Innovator with the default settings (like install path and web alias) or are you using custom settings? Eli
    Eli Donahue Aras Labs Software Engineer
  • The installation went without any problems. There was no error message. The only thing I adjusted was the installation path. The default path referred to ProgramFiles(x86) etc.. I changed this path to C:\ArasPLM\Innovator11\. I adjusted the rest of the settings using the video. I guess these are the default settings.   Video: https://www.aras.com/plm-software/?n=Aras-Innovator-11-Software-Installation-Tutorial