windows server 2008 tagged posts

IIS 7.5, Outbound Provider…500 Error: that’s the reason

Category: ASP.NET Comments: No comments

I’m working with IIS 7.5 and URL Rewrite module. It is very powerful and you can achieve interesting results.
You can create custom provider both for INBOUND and OUTBOUND rule. You have to inherit  from IRewriteProvider.

With the INBOUND provider you can rewrite all the link “incoming” from the browser. The goal of the OUTBOUND provider is even much more interesting: you can rewrite all the URL in the page in order to convert “bad” URL into friendly and canonical URL.

Normally you don’t have any issue with the INBOUND provider; it works immediately…no worries. With the OUTBOUND I got some problem. When I was executing the page I was getting always a 500.2 error. I finally understand that the problem was related to the compression of IIS.
To solve the problem, please follow these steps:

  1. O...
Read More

Ideal configuration for SharePoint 2010 dev environement

Category: #SharePoint Comments: One comment

In my experience when you develop an application in SharePoint 2010 you should have environment the most close possible to the client configuration. This means that the classical URL http://mysrv:4354 or http://mysrv:3145/sites/mycoll are not the best configuration you can have.

Beside that even to work with a local user is really not the best…you can develop something that locally works like a charm, but when you’ll install into the client farm you’ll be quite surprised.
I would like so to share my configuration with you and I hope you can find something interesting in that. Of course, I’m not the “inventor” of this configuration, but it’s just my “best practice”.

  1. VM Ware machine with Win2008 R2 installed with the scope of Primary Domain Controller, with 512 MB  of RAM
Read More