Hello,
i am trying to import data from excel sheet to sql server on godaddy.
i used the code in the below snippet and it works fine on localhost
http://www.aspsnippets.com/Articles/Using-SqlBulkCopy-to-import-Excel-SpreadSheet-data-into-SQL-Server-in-ASPNet-using-C-and-VBNet.aspx
when i run the code on godaddy it gives me System.Security.SecurityException: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
i changed the values of trust level (full, high , medium ..) but same error exists