Another problem

rated by 0 users
This post has 6 Replies | 1 Follower

Top 150 Contributor
Posts 10
Points 0
DenizEralp Posted: Mon, Jun 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 Files\Aras\Innovator\Innovator\Client\Innovator.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 Files\Aras\Innovator\Innovator\Client\Innovator.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 Files\Aras\Innovator\Innovator\Client\scripts\include\utils.aspx    Line: 108

 

  • | Post Points: 0
Top 50 Contributor
Posts 39
Points 85
snnicky replied on Tue, Jun 19 2007 2:25 AM

Hello.

Both C:\Program Files\Aras\Innovator\Innovator\Client and C:\Program Files\Aras\Innovator\Innovator\Server 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).

Top 150 Contributor
Posts 10
Points 0
Is there a sample InnovatorConfig.xml file that I can get in order to customize for my settings?
  • | Post Points: 0
Top 50 Contributor
Posts 39
Points 85
snnicky replied on Tue, Jun 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 Files\Aras\Innovator folder.
 

Top 150 Contributor
Posts 10
Points 0

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 files\aras\Innovator\Innovator to Default Web Site manually.

Installation created a directory structure as follows:

 Directory of C:\Program Files\Aras\Innovator

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 http://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 http://localhost/InnovatorServer. But I am still getting the same error.

I would appreciate your help.

Regards,

Deniz

 

  • | Post Points: 0
Top 150 Contributor
Posts 10
Points 0

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 files\aras\Innovator\Innovator to Default Web Site manually.

Installation created a directory structure as follows:

 Directory of C:\Program Files\Aras\Innovator

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 http://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 http://localhost/InnovatorServer. But I am still getting the same error.

I would appreciate your help.

Regards,

Deniz

  • | Post Points: 0
Top 10 Contributor
Posts 199
Points 1,215
Bill replied on Fri, Jun 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 Files\Aras\Innovator\Innovator\Client\Innovator.xml

C:\Program Files\Aras\Innovator\Innovator\Server\Innovator.xml

Each file should contain the same contents

<ConfigFilePath value="C:\Program Files\Aras\Innovator\InnovatorServerConfig.xml" />

There should also be a file called VaultServer.xml

C:\Program Files\Aras\Innovator\VaultServer\VaultServer.xml

This file should contain this contents

<ConfigFilePath value="C:\Program Files\Aras\Innovator\VaultServerConfig.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

  • | Post Points: 0
Page 1 of 1 (7 items) | RSS