IIS Archives - Digital Tool Factory blog IIS Archives - Digital Tool Factory blog

The Digital Tool Factory Blog

How to fix binding problems with Microsoft.Web.Administration.ServerManager

The Problem: You are trying to create a new website programatically via the Microsoft.Web.Administration.ServerManager and having no luck.  In fact, you are getting invalid binding errors at every turn. Continue reading →


25
Jan 10


Written By Steve French

 

How to fix the Microsoft.Web.Administration.dll problem

The Problem: While coding away on the Stronico signup process I came across a problem with creating a reference to the Microsoft.Web.Administration dll, namely it was not present as a reference.  No problem, I added the dll manually via Visual Studio (it is in the %WinDir%System32InetSrv directory), yet once that was done I could not reference the dll.

The Cause: The dll must be marked as “Copy Local – True” and “Specific Version – True”.

The Solution: Mark the two options as true in the properties and the problem will go away.  It’s always the stupid errors that cause the most problems.  One of the purposes of blogging these errors is to  reduce their frequency.

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


24
Jan 10


Written By Steve French

 

How to fix problems with SSL certs in Plesk

The Problem: You attempt to install (or renew) an SSL certificate in Plesk (web hosting management software) but when you follow the instructions (meaning add the certificate in Plesk, and then going to the “Setup” screen for the domain, you do not have the option of selecting the renewed certificate.

The Cause: This is the first domain that was created and an SSL cert was immediately added, then other domains were added via Plesk. Plesk no longer sees this domain as having a valid IP address it can use. There is no way to change this in Plesk.

The Solution: Bypass Plesk and install directly in IIS – go to this link on installing an SSL cert and follow the directions very carefully.

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


07
Dec 09


Written By Steve French

 

How to solve Unhandled Error in Silverlight Application Code: 2104

I’ve found that I get this error every time I upload a Silverlight application to a new webserver. IIS does not have the correct settings by default.

The Problem: You ftp a Silverlight App to an IIS website, go to the website in a browser, and get the following error:

Message: Unhandled Error in Silverlight Application
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight application. Check web server settings

The Cause: The Silverlight Mime types (.xaml, .xap and .xbap) are not listed in that websites registered mime types, therefore IIS will not send those files to the browser.

The Solution: Open IIS on the server, go to HTTP headers, click on Mime Types, click “Add New” and add the following:

Extension – Mime Type
.xaml – application/xaml+xml
.xap – application/x-silverlight-app
.xbap – application/x-ms-xbap

Hit Apply and your application will load!

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


23
Oct 09


Written By Steve French

 




Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.