megha.iconweb 0 Newbie Poster

We are using C# as front End and Sqlserver 2005 as backend.We are using visual studio 2008.
System.data.sqlclient is the provider for sqlserver in our localhost and our functionality is running correctly.
But we are using bigrock as hostgator, where we uploaded our files and we get to know that they are providing oleDB as provider for sqlserver so we changed the code according to oledb connections. Inspite of that connection is not working. It is giving Method 500 ERROR.