I posted the previous 2 parts of our case deployment in 2012:
Today I post the 3rd part: Deploy the case on a server which installed Windows Server 2008 R2.
The main point which we should be very careful is the different between in cases of you deploy the ASP.NET with Silverlight on Windows Server and on Windows XP / Windows 7, which is that we should consider more security settings on Windows Server version, it means we might never met some troubles on Windows 7 but they are normal on Windows Server.
OK, let us check the first problem: if you deploy the case on Windows server, when you done all steps which were mentioned in previous 2 posts, you will find all Silverlight web page still not work, for example, you will only see the empty page, not any Silverlight page content display.
The reason is about Security.
In previous part 2, after you unzip SLApp.xap, and changed Silverlight Client side configuration file, and zipped whole folder files into a new SLApp.zip file, The Windows Server system actually changed the file security information, this is the big difference with when you do the same procedure in Windows 7.
Please check the following screen shot, the new SLApp.zip file has a different icon with old SLApp.xap file.
Right click the file and check the properties, click Security tab, you can see the different security settings:
So now we now the new zipped file missed some security information. Let us just add missed group or user names which are IIS_IUSRS, Usuarios and TrustedInstaller, you might not have to add all missed roles, for example, you might ONLY need to add the IIS_IUSRS user. (In our case, we added IIS_IUSRS and Usuarios)
After you added missed security information, you will see the web page visiting works again.
- Summary of Deploy WCF, Silverlight and ASP.NET
- A Case of Deploying a web application which includes WCF, Silverlight and ASP.NET part 2
- A Case of Deploying a web application which includes WCF, Silverlight and ASP.NET part 1
- The HTTP request to http //xxx has exceeded the allotted timeout.
- Silverlight Cross Domain Web Service Access Error