access to sql server from shared folder security error

hi all
i generated windows application by vb.net file that
connect to sql server .
when copy exe file to shared folder and after run it
system.security.securityexception appear
but
when copy exe file to local drive and after run it
work properly.
why.how can solve this problem?
thanx in advance

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!