Wednesday, September 7, 2011

Running a WCF Service on IIS 7

In order to tun a WCF service in IIS7, some of the features should be enabled that are not set by default. Following article describes the steps to enable those features.

http://weblogs.asp.net/dwahlin/archive/2009/07/21/running-a-wcf-service-on-iis-7.aspx

In addition if your WCF service exposes an endpoint using basicHttpBinding, then it should be possible for the .NET 2.0 client to consume it.

Cheers,
Samitha


Wednesday, August 31, 2011

Hosting and Consuming WCF Services

I wanted to create and consume a WFC service as it provides improved performance with compared to web services. It was not easy as one would have liked as you have to manually set bindings in the web.config. Following link provides additional details and will be a good starting point.

http://msdn.microsoft.com/en-us/library/bb332338.aspx

Cheers
Samitha



Thursday, August 25, 2011

passing max value for nvarchar from code

 .I recently used the nvarchar(max) data type for one of the SP and had difficulty setting the parameter size from code. Setting the parameter the size to -1 to get it to work.

read more
http://weblogs.asp.net/jeffwids/archive/2008/08/15/nvarchar-max-parameters-need-the-size-set-to-1.aspx

cheers
samitha




Wednesday, August 10, 2011

Object already exists error in RSACryptoServiceProvider

This also seems to be a common error that ll come across. I had the same problem,
Changing the  KeyContainerName proved to be the solution for me.

More info
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/f7b9f928-a794-47f2-a5bd-9f64ca375040/.

regards
samitha

Friday, August 5, 2011

Could not find installable ISAM file

Seems to be this is a common error that will be a nightmare for some ppl. The following works with both Excel 2003 and 2007. I could not test it on  Excel 2010...!!!

read more
http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/cdd1cbe4-22c0-4a07-b97b-d2039ae6d83e/

regards,
samitha

Monday, July 25, 2011

Workaround for ASP.NET AjaxControlToolkit Combo Box issue

ComboBox is one of the exotic controls present in AjaxControlToolkit . But I have come across some problems while using it.
They are :
  1. After clearing all the items of Combo Box , the selected item does not get cleared , even after post back.
  2. Sometimes after binding the data , Combo box is not displaying the first item or It remains blank or It will be displayed only when we move in/out focus in the combo box.

    workaround for this is provided in following link

    http://www.mindfiresolutions.com/Workaround-for-ASPNET-AjaxControlToolkit-Combo-Box-issue-832.php

    cheers
    samitha 

Monday, June 27, 2011

ASP.NET AJAX CollapsiblePanelExtender - Tips and Tricks

Here are some useful tricks for the AJAX collapsible panel. I wanted to programmatically expand the collapsible panel but only succeed it when I set CollapsiblePanelExtender1.ClientState = "false";

http://www.dotnetcurry.com/ShowArticle.aspx?ID=230

Cheers,
samitha