Problem in ODBCPERMISSION (VB .NET) [modified]
-
I have created an application in vb .NET using ODBC (MS-Access and SQL Server2000). this is a MDA Application. when i am running this Exe thru the network it is showing following error- [Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] Error in SQL Connection I Want to solve this problem thru code in 'VB .NET'. I do not want to do this manually as we do from "Control Panel->adminstrative tool->MS .NET Framework2.0 Configuration" How can i solve this problem. Please help me. my mail ID is kkb_mda@yahoo.co.in Thanks and Regards Kishore -- modified at 2:23 Friday 12th October, 2007 Kishore -- modified at 3:10 Saturday 13th October, 2007
-
I have created an application in vb .NET using ODBC (MS-Access and SQL Server2000). this is a MDA Application. when i am running this Exe thru the network it is showing following error- [Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] Error in SQL Connection I Want to solve this problem thru code in 'VB .NET'. I do not want to do this manually as we do from "Control Panel->adminstrative tool->MS .NET Framework2.0 Configuration" How can i solve this problem. Please help me. my mail ID is kkb_mda@yahoo.co.in Thanks and Regards Kishore -- modified at 2:23 Friday 12th October, 2007 Kishore -- modified at 3:10 Saturday 13th October, 2007
Hi kkb_2001 if you are not Running your exe from the Network or Network share, thats what you will get.your .NET should have permission running in that context. Here is link to help you read about .NET Access Security. http://www.codeproject.com/dotnet/UB_CAS_NET.asp[^] hope it helps
Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za