We can use Office Web Apps (OWA) to enable online editing of Word,excel,power Point, one note, and integration into our own website.
1 ready to work 1.1 operating systems
Windows Server R2 Service Pack 1 (SP1) standard, Enterprise, or Datacenter with Windows Server R2 x64 Edition update installed The 64-bit version
64-bit version of Windows Server Standard or Datacenter
64-bit version of Windows Server R2. To use this operating system, you must use Office Web Apps Server Service Pack 1 (SP1).
1.2 Domain Requirements
Requires two servers, one to do domain control, and one to install OWA.
Pit No. 1th: Note that OWA is not working on a domain-controlled installation
For more information, please refer to the official documentation: Https://technet.microsoft.com/zh-cn/library/jj219435#software
2 Creating a Domain control
Building a domain controller DC for Windows Server 2012
3 Plus Domain
3.1 Add Domain method
First, DNS points to domain control:
Then, start the Add domain:
3.2 Error Handling
If the following error occurs when adding a domain:
The domain join cannot is completed because the SID of the domain you attempted to join is identical to the SID of this m Achine
The solution is as follows:
1. Open command
2. Change Path%windir%\system32\sysprep
3. Running sysprep/oobe/generalize
At this point, the following interface will appear, after completion, will be restarted. Note that the IP may be cleared out here.
4 Installing OWA
Refer to "Office Web Apps Installation Deployment (i)"
5 Test 5.1 Test View
Run/op/generate.aspx ">/op/generate.aspx" >http://<servername>/op/generate.aspx, enter the file name, and then generate link, Test the features of the online look:
5.2 Test Edit
Download Demo:https://code.msdn.microsoft.com/building-an-office-web-f98650d6
Modify the following configuration:
<add key= "Appwopiserver" value= "http://youda.hpe.com:81/api/wopi/files/"/>
Once published, you can test: integration of ASP. NET and Office Web apps.
No. 2nd Pit: I first try to use localhost, the external file path, have not succeeded, post to the website, with the document on this site is successful.
Pit No. 3rd: The edit function of Word in this demo is not yet implemented.
Official Technical Document: Https://wopi.readthedocs.org/en/latest/intro.html
Get your Web site to edit Office documents online