This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SUPPORT Q&A - Another problem

DenizEralp - Monday, June 18, 2007 9:23 AM:

I managed to get rid of the previous problem by defining subfolders as applications.

But now, I am getting another error:

Server Error in '/InnovatorServer/Client' Application.

Could not find file "C:Program FilesArasInnovatorInnovatorClientInnovator.xml".

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.IO.FileNotFoundException: Could not find file "C:Program FilesArasInnovatorInnovatorClientInnovator.xml".

Source Error:

Line 106:  
Line 107:  Try
Line 108:    dom.load(phys_path & "Innovator.xml")
Line 109:  Catch e As System.Xml.XmlException
Line 110:    GetClientConfigPath = phys_path & default_xml

Source File: C:Program FilesArasInnovatorInnovatorClientscriptsincludeutils.aspx    Line: 108

 



snnicky - Tuesday, June 19, 2007 2:25 AM:

Hello.

Both C:Program FilesArasInnovatorInnovatorClient and C:Program FilesArasInnovatorInnovatorServer folders must contain innovator.xml file.

That file must contain a path to Innovator configuration file. Sample of the innovator.xml content:

++++
<ConfigFilePath value="C:InnovatorConfig.xml"/>
--------

The Innovator configuration file contains information which must be not accessible via Internet. For example database connection settings.

Thus you have to create Innovator configuration file, create innovator.xml file with a path to the configuration file and put innovator.xml into Client and Server folders. Please make sure you put Innovator configuration file in a "safe" place (not accessible via one of the IIS virtual folders).



DenizEralp - Wednesday, June 20, 2007 3:56 AM:

First, I would like to thank you for all your help :) 

I have used the arasInnovatorSetup.msi file for the setup. I did not encounter any problems during installation.

But, no virtual directories were installed in IIS. I had to add c:program filesarasInnovatorInnovator to Default Web Site manually.

Installation created a directory structure as follows:

 Directory of C:Program FilesArasInnovator

20.06.2007  10:22    <DIR>          .
20.06.2007  10:22    <DIR>          ..
27.03.2007  11:00            32.768 ChangeGUID.exe
18.06.2007  14:28    <DIR>          DB
19.06.2007  18:47    <DIR>          Innovator
27.03.2007  11:00             1.768 InnovatorInstaller.xml
18.06.2007  14:49               782 InnovatorServerConfig.xml
18.06.2007  14:44    <DIR>          InstallDll1
18.06.2007  14:28    <DIR>          InstallDll2
18.06.2007  14:57    <DIR>          InstallDll3
18.06.2007  16:41    <DIR>          VaultServer
18.06.2007  14:48               306 VaultServerConfig.xml
18.06.2007  14:48                93 virtualdirs.xml

 There were no file called Innovator.xml in any directories. So, I manually created one with the following content:

  <ConfigFilePath value="C:InnovatorConfig.xml" />

There were no InnovatorConfig.xml file either. So, I renamed the InnovatorServerConfig.xml as InnovatorConfig.xml and copied it to the destination C:InnovatorConfig.xml.

After doing all of these, when I open localhost/InnovatorServer, I can see the blank login window with the error:

Aras Innovator client has failed to initialize.
Please, contact your system administrator to review your .NET security settings.

I have used the sdns.exe tool to apply security settings for localhost/InnovatorServer. But I am still getting the same error.

I would appreciate your help.

Regards,

Deniz



DenizEralp - Tuesday, June 19, 2007 5:21 AM:

Is there a sample InnovatorConfig.xml file that I can get in order to customize for my settings?

Bill - Friday, June 22, 2007 5:27 PM:

Hi Deniz,

It concerns me that no IIS directories were created, but I will let that go for now.

There should be 3 virtual directories that you created

/InnovatorServer/Client

/InnovatorServer/Server

/InnovatorServer/vault

There should be 2 files named Innovator.xml

C:Program FilesArasInnovatorInnovatorClientInnovator.xml

C:Program FilesArasInnovatorInnovatorServerInnovator.xml

Each file should contain the same contents

<ConfigFilePath value="C:Program FilesArasInnovatorInnovatorServerConfig.xml" />

There should also be a file called VaultServer.xml

C:Program FilesArasInnovatorVaultServerVaultServer.xml

This file should contain this contents

<ConfigFilePath value="C:Program FilesArasInnovatorVaultServerConfig.xml" />

Please confirm these settings, restart IIS, and try to log in again.

Also, what version of .NET did you set the Innovator virtual directories to run under?

-Bill



snnicky - Tuesday, June 19, 2007 7:26 AM:

Could you please clarify how you installed Innovator manually ?
I mean Innovator installer setups virtual directories in IIS, InnovatorServerConfig.xml, innovator.xml files.

Where did you get Innovator files from ? I ask because there might be a sample there.

If you install Innovator using its installer then InnovatorServerConfig.xml is created in C:Program FilesArasInnovator folder.
 



DenizEralp - Wednesday, June 20, 2007 3:52 AM:

First, I would like to thank you for all your help :) 

I have used the arasInnovatorSetup.msi file for the setup. I did not encounter any problems during installation.

But, no virtual directories were installed in IIS. I had to add c:program filesarasInnovatorInnovator to Default Web Site manually.

Installation created a directory structure as follows:

 Directory of C:Program FilesArasInnovator

20.06.2007  10:22    <DIR>          .
20.06.2007  10:22    <DIR>          ..
27.03.2007  11:00            32.768 ChangeGUID.exe
18.06.2007  14:28    <DIR>          DB
19.06.2007  18:47    <DIR>          Innovator
27.03.2007  11:00             1.768 InnovatorInstaller.xml
18.06.2007  14:49               782 InnovatorServerConfig.xml
18.06.2007  14:44    <DIR>          InstallDll1
18.06.2007  14:28    <DIR>          InstallDll2
18.06.2007  14:57    <DIR>          InstallDll3
18.06.2007  16:41    <DIR>          VaultServer
18.06.2007  14:48               306 VaultServerConfig.xml
18.06.2007  14:48                93 virtualdirs.xml

 There were no file called Innovator.xml in any directories. So, I manually created one with the following content:

  <ConfigFilePath value="C:InnovatorConfig.xml" />

There were no InnovatorConfig.xml file either. So, I renamed the InnovatorServerConfig.xml as InnovatorConfig.xml and copied it to the destination C:InnovatorConfig.xml.

After doing all of these, when I open localhost/InnovatorServer, I can see the blank login window with the error:

Aras Innovator client has failed to initialize.
Please, contact your system administrator to review your .NET security settings.

I have used the sdns.exe tool to apply security settings for localhost/InnovatorServer. But I am still getting the same error.

I would appreciate your help.

Regards,

Deniz