0

hi
i had develop a simple program using vb.net with ms access
it run with no error on my local
but if i put it on a share network
i face a problem throw out by the system stating the error below
"request for the permission of type 'system.data.oledbpermission,system.data,version=2.0.0.0, culture=neutral,publickeytoken=b77a5c561934e089'failed."
anyone why did tis happen?

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by alonso_siang
0

I understand that it is a windows forms application. Not a web one.

Do you have checked, in the application properties, security tab, the Enable ClickOnce, then the partial trust application, and calculated the permissions for local intranet? Or just set it as a full trust application?.

Putting the application into a share, for run purposes, is generally not a good idea because the application should be installed on the local PC. The installer registers the assemblies into the local PC GAC (Global Assembly Cache)

The Access database can be put on a share, but you'll need to define the path as trsuted by access on every client. And must have also crete/delete files permission for the access lock management.

Hope this helps

0

I understand that it is a windows forms application. Not a web one.

Do you have checked, in the application properties, security tab, the Enable ClickOnce, then the partial trust application, and calculated the permissions for local intranet? Or just set it as a full trust application?.

Putting the application into a share, for run purposes, is generally not a good idea because the application should be installed on the local PC. The installer registers the assemblies into the local PC GAC (Global Assembly Cache)

The Access database can be put on a share, but you'll need to define the path as trsuted by access on every client. And must have also crete/delete files permission for the access lock management.

Hope this helps

hi,
followed your suggest to installer the register the assemblies into the local pc and putting the access database on share
it works charm
thanks for it

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.