adsense

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