Hi
I try to execute an sample how to read and write excel sheets using OleDb
When opens the connection, the objConn.Open gave me this error:
"Request for the permission of type 'System.Data.Ol eDb.OleDbPermis sion,
System.Data, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9' failed."
And appears the following message:
System.Exceptio n {System.Securit y.SecurityExcep tion}
Any idea to solve this error?
I work with VS 2005, using C#
TIA
Abel
I try to execute an sample how to read and write excel sheets using OleDb
When opens the connection, the objConn.Open gave me this error:
"Request for the permission of type 'System.Data.Ol eDb.OleDbPermis sion,
System.Data, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9' failed."
And appears the following message:
System.Exceptio n {System.Securit y.SecurityExcep tion}
Any idea to solve this error?
I work with VS 2005, using C#
TIA
Abel
Comment