Wednesday, July 25, 2018

Example : Install Web Services on IIS

Configure the Web Server (IIS) Role

1. Start the Server Manager.

2. Expand the
Roles node.

3. Right-click the
Web server (IIS) node and select Add Role Services.

4. On the
Select Role Services dialog, expand the Web Server (Installed) > Application Development (Installed) node

5. Verify
ASP.NET. is installed.

6. Close the
Add Role Services dialog and then close the Server Manager. 

Install Web Services on IIS 

1. Click Start > Computer and then double-click DVD Drive (D:)
Dynamics AX
, and then double click setup.exe.

2. Under
Install, click Microsoft Dynamics AX components, and then click Next.

3. Select
Add or modify components, and then click Next.

4. Select
Web Services on IIS under the Integration Components node, and then click Next.

5. On the
Prerequisite Validation page, resolve any errors. When no errors remain, click Next.

6. On the
Specify Business Connector proxy account information page, enter the password Pa$$w0rd for the proxy account used by the .NET Business Connector. Click Next.

7. On the
Configure IIS for web services page, accept the default values. Setup will create a virtual directory and an application pool for the Microsoft Dynamics AX web services under the selected web site. The application pool will run as the .NET Business Connector proxy user you entered in the previous step.

IMPORTANT: You must restart IIS after Setup installs the web services. Select Restart IIS after installation is completed to automatically restart IIS.

8. Click Next to continue.

9. On the
Specify an AOS account page, select CONTOSO\AX_AOS_Service, and then click Next to continue.

10. On the
Prerequisite Validation page, resolve any errors. When no
errors remain, click
Next.

11. On the
Ready to install page, click Install.

12. After the installation is complete, click
Finish to close the wizard.

Configure Security 

The virtual directory share must be configured for the AOS Service to have full control. To define the security, follow these steps:

1. Click
Start > Computer and navigate to the following path
C:\Program Files\Microsoft Dynamics AX\60.


2. Right-click the
AIFWebServices folder and select Properties.

3. Click the
Sharing tab, and then click Advanced Sharing.

4. Click
Permissions, and then click Add.

5. Enter AX_AOS_Service into the
Enter the object names to select field and click OK.

6. Select the
Allow check box for Full Control, Change, and Read.

7. Click
OK to return to the Advanced Sharing dialog.

8. Click OK to return to the AifWebServices Properties dialog.

9. Click the
Security tab, and then click Edit.

10. Click
Add... and then enter AX_AOS_Service into the Enter the object names to select field and click OK.

11. Select the
Allow check box for Full Control, Modify, Read & execute, List folder contents, and Read.

12. Click
OK to return to the AifWebServices Properties dialog.

13. Click
Close to exit the form.
 
Configure IIS  

1. Start Internet Information Services (IIS) Manager. In the Server
Manager, expand the
Server Manager > Roles > Web Server (IIS)node and then click Internet Information Services (IIS) Manager.

2. In the
Connections pane, expand the SEA-DEV
(CONTOSO\administrator) node and then click
Application Pools.

3. In the
Application Pools pane, right-click the
MicrosoftDynamicsAXAif60 application pool associated with the
Microsoft Dynamics AX web services and then click
Basic Settings.

4. On the
Edit Application Pool dialog, select .NET. Framework
v4.0.30319 from the
.NET Framework version list.
5. Select
Integrated from the Managed pipeline mode list. Notice that
the
Start application pool immediately option is selected. ClickOK to return to IIS Manager.

Validate the Website 

1. In Microsoft Dynamics AX 2012, open System administration > Setup > Services and Application Integration Framework > Web sites.

2. Select the SEA-DEV-Default Web SiteMicrosoftDyanmicsAXAif60 web site that was created automatically by the setup wizard.


3. Click
Validate. Verify the Infolog dialog confirms:

a. The website is configured properly.


b. You can access the computer and the website.


4. Close the
Infolog dialog, and then close the Web sites form 

Regards,
Hossein Karimi

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...