Adding Additional Vaults Fail

rated by 0 users
This post has 5 Replies | 2 Followers

Top 25 Contributor
Posts 80
Points 1,075
Phil Posted: Fri, Feb 12 2010 12:35 PM

So, I thought I knew what I was doing.  Apparently, I do not.  Here is what I am trying to accomplish: Adding an additional vault that will store "sensitive" files that I want segregated from the rest of the files in the system.

Here is how I went about failing to accomplish it: Step 1, Create an additional Vault.

1. I created a new folder on my system : c:\sensitive

2. I took the contents of c:\program files\aras\vaultserver and pasted them into a new directory: c:\program files\aras\vaultsensitive.

3. I created a virtual directory under the current Aras hiarchy so that my virtual directory is located at http://myComputer/Innovator/vaultsensitive

4. I compared the new virtual directory settings to the virtual directory settings for http://myComputer/Innovator/vault (working default)

5. I changed the VaultServer.config file in the new directory to have the correct name and file path. I left the <appserverURL> tag the same.

6. I logged into Innovator and added the additional vault providing http://myComputer/Innovator/vaultsensitive/VaultServer.aspx .

7. When going to http://myComputer/Innovator/vaultsensitive/VaultServer.aspx in a web browser, I receive the dreaded : "Object reference not set to an instance of an object".

8. I throw things.

 

Now, being a .NET developer professionally myself, I am very familiar with the stupid error received in my step 7. It would seem to me that my VaultServer object is null..but I do not know why. I am assuming that when the object is instantiated with the Context object, the Context object may also be null. But, I wouldn't really know why that would be.

Anyhow, long story short: I need help! Thank you!

  • | Post Points: 20
Top 10 Contributor
Posts 199
Points 1,180
Bill replied on Fri, Feb 12 2010 1:48 PM

First, I would use the installer to set up the second vault finishing with the steps outlined in section 6.7 Configuring Alternate Vaults Installations of the install guide.

Second, did you check the path in \VaultServer\vaultserver.xml.

Third, is the Execution Permissions on the virtual application set to "Scripts Only"?

Last, did you define the new vault in the database?

-Bill

  • | Post Points: 20
Top 25 Contributor
Posts 80
Points 1,075
Phil replied on Fri, Feb 12 2010 1:57 PM

 

I did not change anything in the path under \VaultServer\vaultserver.xml because I didn't change anything on the default vault. I just want to add an additional vault.

The execute permissions are indeed set to "Scripts Only".

Last, when you ask about defining the new vault in the database, I assume you intend me to use Aras and create a new Vault Item. I did do that.

I suppose I can try using the installer....I was unaware you could use the installer to simply add additional vaults. 

  • | Post Points: 20
Top 10 Contributor
Posts 199
Points 1,180
Bill replied on Fri, Feb 12 2010 2:24 PM

1) vaultserver.xml is used to find the vaultserverconfig.xml.  You are likely still pointing to the original vault.

2) The installer allows you to install the tier seperatly.  Once installed, you need to run through the steps in section 6.7.

-Bill

  • | Post Points: 20
Top 25 Contributor
Posts 80
Points 1,075
Phil replied on Fri, Feb 12 2010 2:36 PM

In my new directory.....(vaultsensitive), I have its own vaultserver.xml. However I changed this vaultserver.xml file to not point back to vaultserverconfig.xml.

I simply made this vaultserver.xml to have the same xml scheme as vaultserverconfig.xml.  I obviously changed the appropriate properties in the file.

So to clarify: I have a directory that has all of the files (VaultServer.aspx,vaultserver.xml,bin folder,etc...)  contained in the orinal vault directory. I simply changed to the vaultserver.xml file to be modeled after vaultserverconfig.xml (with the appropriate changes).

I then created a virtual directory and pointed it to this new directory I created above.    

 

  • | Post Points: 5
Top 25 Contributor
Posts 80
Points 1,075
Phil replied on Fri, Feb 12 2010 3:24 PM

Ok, I went ahead and just installed another vault using the installer program. That seems to be working but unfortunately it does not solve my initial reason for configuring the additional vault in the first place.

It seems as if though when a user (with vault set to default vault) opens a file, Aras happily makes a copy and tosses it into the default vault. However, I really need to have all specific items stored a particular vault, and to stay there. Regardless of who opens them. I need this segregation for backups and storage of sensitive data.

  • | Post Points: 5
Page 1 of 1 (6 items) | RSS