| |
 |
|
Developer Instructions for setting up the ELP.Net application on the Windows XP OS
PLEASE NOTE: HARD CODING OF WEB SERVICES NEEDS TO BE CORRECTED.
For the time being you can manually adjust the code by opening the 'ELP.Netv1.*.*'
folder and open the subfolder called 'CompleteSolution' and double click on the file
named 'CompleteSolution.sln'. Look under the ELP_Net_WebApp project and in the
webservices folder, open the file ELP_Net_WebServices.asmx. Everywhere you see
something like this - @"C:\QUTWork\ELP_Net_WebApp" replace it with the location on
your own system where the web application is installed.
Prerequisites
- Microsoft Visual Studio 2003 .NET (ONLY)
- Microsoft .NET Framework 1.1
- Microsoft Internet Information Services
Setup
- Extract the zip file named ELP_Net.zip.
- After extracting the zip file there should now be two folders - 'ELP.Netv1.*.*' and
'ELP_Net_WebApp' NOTE - The 'ELP.Netv1.*.*' folder contains all the ELP.Net implementation
code and the 'ELP_Net_WebApp' folder contains the implementation code for the Web
application used for hosting the embedded web version of ELP.Net.
- Now 'Right' mouse click on the 'ELP_Net_WebApp' folder and select the 'Properties'
menu item.
- From the 'ELP_Net_WebApp Properties' dialog box click on the 'Web Sharing' tab.
NOTE - If the web sharing tab is not visible then ensure Internet Information Services
(IIS) is installed. (Refer to Microsoft instructions to install IIS
http://support.microsoft.com/default.aspx?scid=kb;en-us;839549)
- Click the radio button next to the 'Share this folder' option and then press 'OK' on
the 'Edit Alias' dialog box. NOTE - If you recieve an error please ensure that all
previous versions of 'ELP_Net_WebApp have been removed
- Press 'OK' again to close the 'ELP_Net_WebApp properties' dialog box. NOTE - Please
make sure that the new web folder that you have created allows for anonymous access. To
do this click on the Windows 'Start' button, then the 'Run' button, and type in 'inetmgr'
and press 'OK'. Once the 'Internet Information Services' dialog appears go to the 'Default
Web Site' and right mouse click on the 'ELP_Net_WebApp' virtual directory and then select
'Properties'. Once the 'ELP_Net_WebApp Properties' dialog appears then select the
'Directory Security' tab and press the 'Edit...' button that appears under the 'Anonymous
access and authentication control' section. Once the 'Authentication Methods' dialog box
appears make sure that the 'Anonymous access' checkbox has been checked. Then press 'OK',
then 'OK' again and close the 'Internet Information Services' window.
- Go to and expand the 'ELP_Net_WebApp' folder in Windows Explorer so that you are able
to see all the sub-folders and then right mouse click on the folder called 'Projects' and
select the 'Properties' menu item.
- From the 'Projects Properties' dialog box click on the 'Security' tab. NOTE - If the
security tab is not visible then close the properties dialog box and click on Windows
Explorer's the 'Tools' menu item. Click on the menu item called 'Folder Options...' and
then select the 'View' tab. In the 'Advanced settings' section makes sure the 'Use simple
file sharing (Recommended)' item is unchecked. Click the 'OK' button and go back to step
7.
- In the 'Groups or user names' section click the 'Add' button.
- From the 'Select Users and Groups' dialog box click on the 'Advanced...' button and
then click on the 'Find Now' button.
- Select the 'ASPNET' name and then press the 'OK' button and the 'OK' button again
until you are back to the 'Projects Properties' dialog box. NOTE - If you can't find the
ASP.NET user the location could be incorrect for finding users. Go to Step 9. Repeat that
step but in the 'Select Users and Groups' dialog box click on the 'Locations..' button and
select the computer name at the top of the list and press the 'OK' button. Now click
advanced and then click on the 'Find Now' button. Then Go to Step 11 and continue setup.
- Makes sure the 'ASP.NET Machine Account' is selected in the 'Group or user names'
section. Then allow that user to have Full Control and then press the 'OK' button. NOTE -
You need to give that user full control because the user needs to be able to read, write
and modify files on the server.
- Now open the 'ELP.Netv1.*.*' folder and open the subfolder called 'CompleteSolution'
and double click on the file named 'CompleteSolution.sln'. NOTE - If your system has the
error message Troubleshoot "Visual Studio .NET has detected Web server is not running
ASP.NET 1.1" when you open the file 'CompleteSolution.sln'. Refer to msdn help to fix the
issue. (http://support.microsoft.com/default.aspx?scid=kb;en-us;555132)
- Depending on which project from the Soution Explorer window you set as the startup
project will determine whether you view the windows application or the web application.
The 'DrivingProgram' project is the driver for the windows application and the
'ELP_Net_App' project is for the web application.
|