Company logo
SearchMapHome
 
Creating a Web Application on a Client or FEP in Automatic Mode
At least one website is created and available under Websites in the SMC tree.
The server project folder is shared with the Web Application user. You can do this when you modify the server project using the Project Shares expander or externally from Windows. The Web Application user on the client or FEP must be assigned access rights on the server project folder and its subfolders. Otherwise, you cannot work with those folders.
(Only applicable for Server project in distribution) All the projects in distribution with the linked server project are shared with the Web Application user.
1.
In the SMC tree, select Websites > [website].
2.
Click the Management tab.
3.
Click Create Web Application  Add New icon.
A new WebApp page displays.
4.
In the Server Information expander, do the following:
-
Type the full computer name of the server from where you want to obtain the project's information, or click Browse and select the Server name using the Workstation Picker dialog box.
NOTE: The host certificate's Subject name configured for the CCom port settings on a server project must match the server name on the client/FEP. Otherwise, the Web/WindowsApp clients will not work, and SMC displays an error message.
-
If required, edit the Service port to match the Service port number on the server. The default port number is 8888.
-
Click Projects to browse for and select a server project using the Project Information dialog box. Note that outdated projects are not available for selection.
In the Project Information: Web Server Communication expander, the Communication mode and the CCom port numbers are configured according to the selected server project. Also the System name of the selected project and the project path display. However, this is read-only information. The Shared project path field displays the shared project path of the selected server project, if this was shared using Project Shares during server project modification.
5.
In the Project Information: Web Server Communication expander, do the following:
-
(Optional and not required when you have selected the server project using Projects) Click Browse to select a server project using Project Information dialog box. Note that outdated projects are not available for selection.
-
(Optional and not required when the server project folder is shared) Displays the Shared project path of the selected server project, if the Server project folder is shared. However, you can edit this by typing in a new path or browsing for the shared project folder.
NOTE 1: When you save the project, the project path is not validated. Therefore, you must provide the correct shared project path.
NOTE 2: You must provide the Server name before browsing for the shared project. Otherwise, a message displays.
NOTE 3: You can create a Web Application on the remote web server without providing the shared project path. However, in this case, you cannot save an object (for example, a graphic) in the Web/Windows App client.
6.
In the Web application Details expander, do the following:
-
In the Name field, type a unique name for the Web Application.
-
Click Browse for the path where you want to store the Web Application files. The default path is [installation drive:]\[installation folder]\[Websites]\[Website name].
-
Use the default self-signed certificate in the Certificate issued to field. Otherwise, click Browse to open the Select Certificate dialog box. Select a host/self-signed certificate from the Personal tab of the Store location; Local machine certificates or User certificates.
-
Use the default website user that displays, or click Browse to select a user using the Select User dialog box.
NOTE: The Web Application user must be a member of the IIS_IUSRS group. Otherwise, a message displays asking you to add the selected user to the IIS_IUSRS group or to select another user from the IIS_IURS group.
-
Provide the Password of the selected user.
The Web Application is configured.
7.
Click Save  Save icon. For more information, see Modifying and Saving a Web Application on Client/FEP.
8.
A message displays. If the required disk space for creating the Web Application is not available, you must free some disk space.
9.
Click OK.
If confirmed, the data is validated and on successful creation,
— A new Web Application node is created as child of the selected website under Websites in the SMC tree.
— A corresponding child node is created in IIS.
— A Web Application folder containing the ClickOnce and XBAPFullTrust folders is created at the path specified while creating the website.
— A Copy URL button displays allowing you to copy the Web Application URL for https.
— You can click the Web Application URL to launch the web page in the default browser. The thumbnails for web client and Windows App client display. Click the thumbnails to launch the Web/WindowsApp client.
Tips
Make sure that the server name matches the CCom port settings Host certificate provided for the selected project on the server. Otherwise, a message displays informing you about the inconsistency and you cannot work with Web/WindowsApp clients.
Make sure that the root certificate (.cer file) of the host (.pfx) certificate or the self-signed certificate provided in the Host certificate field, in the Communication Security expander of the selected Server project, is available in the Trusted Root Certification Authorities store of the Local machine certificates store on the remote web server (IIS). To do this:
Select the root (.cer) file.
Import the root (.cer) file in the Windows Certificate store location: Local machine certificates/TRCA.
Save the changes.
If the root certificate of the host (.pfx) certificate used for CCom port settings is missing in the TRCA on the Server, during a Web Application creation/editing on remote web server (IIS), a message displays informing you that the host certificate is not valid. In this case, make sure that the root (.cer) is available in the TRCA of the server. However, the root is not available in TRCA on the server, but is available in the TRCA on client or FEP, the Web Application URL will work.