Professional Documents
Culture Documents
1) Configuration in Windows XP
4. Provide Full Control access to the Users object of enBank and enCardServer
folders.
7. Right click under ‘Default web Site’ node and click on New->Virtual Directory.
It will open the Virtual Directory creation wizard.
8. Click on Next to provide some name to your virtual directory and click on
Next and provide the path of the folder for which virtual directory needs to
be created.
9. Now on clicking on Next it will show access permission window. Check the
Read, Write and Browse options for Bank site and also make sure that ‘Run
Scripts’ and ‘Execute’ are ticked for Encard2Server. Now click on ‘Next’ and
then ‘Finish’ and the virtual directory will be listed under ‘Default Web Site’
folder.
10.In the properties dialog, choose the options as shown in the screenshots.
14.The ASP.NET Tab of Properties Dialog. Select the version as 2.0.50727. If its
is not listed, install it.
15. Following the same steps create Virtual Directory for the folder enCardServer
listed under the Default WebSite in IIS. After configuration of Virtual
Directories IIS should look like this
17. Reset the IIS using the command ‘iisreset’ from the run command or by
directly going to the IIS directory. Now right click the IIS root node and go
to All Tasks Restart IIS.
<add key="enCardServerURL"
value="http://192.168.1.68/enCardServer"/>
<add key="enCardCabURL_XP"
value="http://192.168.1.68/enCardCAB_XP.CAB#version=4,0,0,604"/>
<add key="enCardCabURL_Vista"
value="http://192.168.1.68/enCardCAB_Vista.CAB#version=4,0,0,604"
/>
Here ‘enCardServer’ is the name of the folder for which we created the virtual
directory (other than bank site). Whereas ‘enCardCAB_XP.CAB’ and
‘enCardCAB_Vista.CAB’ are the CAB files that we copied under wwwroot.
19. Change the Connection String in the file to show the correct DB.
Here Data Source refers to the server address where database resides.
Catalog refers to the database name. User ID and Password are the
credentials to access the database. The User ID should have read, write and
delete permission.
20. Now open ODBC Data Source Administrator to create a System DSN with the
following credentials.
23. Provide Full Control access to the Users object of Current.esc file.
Problems faced:
28. “Failed to access IIS metabase. User not available.” Error message appeared
29. The file Metaacl.vbs was missing from the C:\Inetpub\AdminScripts. The file
can be downloaded from http://support.microsoft.com/?kbid=267904
32. After the website loaded, was not able to browse any of the links in the page.
This problem was solved by providing Full Access permission to the enBank
folder’ User object.
35. To solve the problem, provide Full Access permission to the Current.esc file’
User object.
Steps for IIS (version 7.5.xx) Configuration in Windows 7
3. Provide Full Control access to the Users object of enBank and enCardServer
folders.
5. Create an application pool for your application (existing application pools can
also be used). Application pools are used to provide a single domain to
every web site. We can assign one application pool to many web sites but in
that case if one web site gets corrupted it will affect other web sites also. To
create application pool right click on the ‘Application pool’ node and click on
the ‘Add Application Pool’.
6. Under Default Website, an Application needs to be created. To create the
application right click on ‘Default Web Sites’ and click on ‘Add Application’.
7. Provide the name, application pool and physical path for your application and
click on ‘OK’. The application will be listed under Default Web Sites.
8. Go to the ‘Control Panel-> Programs and Features’ and click on the ‘Turn
Windows Features on or off’.
9. In the ‘Turn Windows Features on or off’ window, set the options as in the
following screenshot.
11. Reset the IIS using the command ‘iisreset’ from the run command or by
directly going to the IIS directory. Now right click the IIS root node and go
for stop and start.
<add key="enCardServerURL"
value="http://192.168.1.68/enCardServer"/>
<add key="enCardCabURL_XP"
value="http://192.168.1.68/enCardCAB_XP.CAB#version=4,0,0,604"/>
<add key="enCardCabURL_Vista"
value="http://192.168.1.68/enCardCAB_Vista.CAB#version=4,0,0,604"
/>
13. Change the Connection String in the file to show the correct DB.
Here Data Source refers to the server address where database resides.
Catalog refers to the database name. User ID and Password are the
credentials to access the database. The User ID should have read, write and
delete permission.
14. Now open ODBC Data Source Administrator to create a System DSN with the
following credentials.
1. IIS 6.0 comes with ASP.NET disabled by default, and followings are the steps
to enable it.
a. Click Start, put your mouse over Control Panel, and click Add/Remove
Programs.
d. In this window, select "ASP.NET" (which will put a checkmark next to it) and
click "OK", then "Next" and "Finish".
e. At this point your ASP.NET pages should work, and we're just going to make
sure that the Web Service Extension is enabled in the IIS Manager. Now, load
IIS from the Administrative tools in the Control Panel by clicking Start ->
Administrative Tools -> IIS Manager (or loading the Control Panel, entering
the Administrative Tools folder, and double clicking IIS Manager).
f. Expand your computer name and click on "Web Service Extensions". Make
sure "ASP.NET" has a checkmark next to it, and that means that it's enabled.
4. Provide Full Control access to the Users object of enBank and enCardServer
folders.
6. Application pools are used to provide a single domain to every web site. We
can assign one application pool to many web sites but in that case if one
web site gets corrupted it will affect other web sites also. To create the
application pool go through the following steps:
a. Right click on the Application Pool node under the IIS and click on the
New-> Application Pool.
b. It will take you to “Add New Application Pool” window. If the ID that appears
in Application pool ID box is not the ID that you want, type a new ID.
c. Under Application pool settings, click the appropriate setting. If you click Use
existing application pool as template, in Application pool name box, right-click
the application pool that you want to use as a template.
c. Now click on next and provide some name under the description field.
d. Click on Next. It will take you to ‘IP Address and Port Settings window’.
Provide the IP Address and port no. for the web site. If no IP address
is provided, web site will run only on local system. No two applications
can have the same port no. so make sure that you provide different
port no. to different applications. If the web sites are mapped to the
same domain controller, we can have the same port no. for web sites.
e. Now click on Next button and it will take you to ‘Web Site Home
Directory’ Window. Here provide the path for the web site folder.
f. Now click on Next and provide permissions for read, write, execute
and run script.
g. Now click on Next to create the application. This will list the application
under the ‘web site’ node.
8. Now to change the application settings right click on the application and go to
the properties. Name, IP Address, Port can be changed under the ‘Web Site’
tab.
11. Reset the IIS using the command ‘iisreset’ from the run command or by
directly going to the IIS directory. Now right click the IIS root node and go
for stop and start.
<add key="enCardServerURL"
value="http://192.168.1.68/enCardServer"/>
<add key="enCardCabURL_XP"
value="http://192.168.1.68/enCardCAB_XP.CAB#version=4,0,0,604"/>
<add key="enCardCabURL_Vista"
value="http://192.168.1.68/enCardCAB_Vista.CAB#version=4,0,0,604"
/>
13. Change the Connection String in the file to show the correct DB.
14. Now open ODBC Data Source Administrator to create a System DSN with the
following credentials.
NOTE: To know the difference between Application and Virtual Directory, please refer to:
http://www.iisworkstation.com/2008/05/difference-between-virtual-directory.html