locked
Having two virtual directories RRS feed

  • Question

  • Guys,

    We are looking at new scenario.

    We have a banking division in our company which wants to open up a dashboard ( not proclarity dashboard) to both employees and clients. The dashboard is a composite page that is created by us which will have proclarity graphs as nuggets on the page.

     

    We want to have two virtual directories rendered by the same PAS server.

    Say ABC virtual directory will be clients and XYZ virtual directory will be for employees.

     

    http://servername/ABC will be how the clients access the dashboard and http://servername/XYZ will be how the employees access the dashboard. Is this possible? I believe yes but wanted to get confirmation. Of course both of them will be accessing the same repository and I believe at any given point in time, we can use the Analytics Server Admin tool to connect to only one virtual directory.

    Please confirm if you have any thoughts.

    Rgds

    Hari

    Tuesday, January 8, 2008 9:37 PM

Answers

  • Hi Hari,

     

    It sounds like you want two different looking PAS entry pages - ABC and XYZ.  And, you probably want them to have different authentication settings.  Here are some instructions that may help.

     

    -Joey 

     

    1. Install PAS on your machine as normal. Create the database, user, etc. Make sure the installation has completed successfully and you have verified everything is working.
    2. Go to the ‘PAS’ installation folder on your machine and copy/paste the folder in the same directory. You should now have 2 folders, one called PAS, and another copy.
    3. Rename the folder whatever is appropriate. This can be ‘PAS2’, etc.
    4. Open up the folder and rename the ‘PASUploads’ directory to whatever you named your new folder appended with ‘Uploads’. So for example if you called the top folder ‘PAS2’, rename this folder ‘PAS2Uploads’.
    5. Now go into the IIS Manager interface and navigate to your website. Right click on the website and choose ‘New  Virtual Directory…’ and start the wizard.
    6. Change the alias to the name of your folder, for example, ‘PAS2’.
    7. Point the path to the new folder you created, ‘PAS2’. By default this is in the ‘c:\inetpub\wwwroot\’ directory.
    8. Make sure ‘Read’ and ‘Run Scripts’ are checked and then click finish on the last screen.
    9. Repeat steps 5-8 but for the ‘PAS2Uploads’ directory. When finished you should have 2 new virtual directories called ‘PAS2’ and ‘PAS2Uploads’ under your website.
    10. Right click on your ‘PAS2’ virtual directory and go to ‘Properties’.
    11. Click on the ‘Configuration’ button and then click on the ‘Options’ tab in the pop up window.
    12. Make sure ‘Enable Parent Paths’ is checked and click ‘OK’.
    13. Once back to the Properties box click on the ‘Documents’ tab.
    14. Remove all entries in the top window and add in ‘ProClarity.asp’ as the only default content page.
    15. Click on the ‘Directory Security’ tab and click the ‘Edit…’ button for ‘Authentication and access control’.
    16. In the dialog window make sure ONLY Basic and Integrated are checked for the security and click ‘OK’.
    17. Once back to the ‘Directory Security’ tab, click ‘OK’ to close the Properties window.
    18. Open up the ‘ProClarity Analytics Server Administration Tool’.
    19. Once the tool opens and you are connected, right click on the ‘Analytics Server Administration Tool’ icon and choose ‘Register ProClarity Analytics Server…’
    20. Choose an appropriate server name (I used PAS2) and then point to the URL of the PAS2 Virtual Directory we just created. So, if the name of your webserver was ‘MyWebServer’ the URL would be ‘http://MyWebServer/PAS2’.
    21. Verify that the server gets created and you can see it in your list. Then, right click on the new server and choose ‘Properties’.
    22. You should get a pop up window that gives an RPC error. Just click the ‘OK’ button and the properties window will pop up.
    23. In the properties window type in the URL of your virtual directory.
    24. Then you will have to type in the database server name, name of the database, and the login for that database. The login is the SQL server login you created during the initial installation of PAS. By default this user was called, ‘PAS’, but you may have changed it.
    25. ****WARNING*** During step 21 you may encounter an MMC error each time you type a letter for the database information. You will have to click ‘OK’ on each error, but you can keep typing one letter at a time. While this may seem strange, it is part of the initial process. I have verified that once you get everything typed in correctly the website works.
    26. You should now be able open a web browser and navigate to your new website. If you want more than just this one copy of PAS on the same machine follow this process for each new PAS website.


    Just a couple of notes. The database you are pointing to in step 24 is normally the same database from your initial installation. If you want to run multiple databases then you will need to make a copy of the database that was installed and restore that on your database server.

    Wednesday, January 9, 2008 5:45 PM