我们的VB.Net应用程序无法在LAN中工作 [英] Our VB.Net Application is not worked in LAN

查看:72
本文介绍了我们的VB.Net应用程序无法在LAN中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士

我们的VB.Net应用程序不能在LAN中工作.我们在后端使用msaccess.请帮助我们.运行时出错.错误如下.

Respected Sir/Madam

Our VB.Net Application is not worked in LAN. we use msaccess in Back end. please help us. Error when we Run it. Error as follows.

Application attempted to perform an operation not allowed by security policy. To grant this application the required permission, contact youre system administrator or use the microsoft .NET framework configuration tool.
   if you click continue, the application will ignore this error and attempt to continue. if you click quite, the application will close immediately.
   Request for the permission of type.
   System.Data.OleDb.OleDbPermission, System data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.


请解决以上错误.

谢谢.
关于


PLEASE SOLVED ABOVE ERROR .

Thanking You.
Regards

推荐答案

我们不能.

这是一个权限问题,听起来您正在尝试直接从网络上的许多计算机上使用单个Access数据库文件.您需要查看网络配置,并确保所有PC都具有完全的读/写权限,才能访问包含数据库文件的文件夹.
We can''t.

It''s a permissions problem, and it sounds like you are trying to use a single Access database file directly from a number of machines on the network. You need to look at your network configuration, and ensure that all the PC''s have full read/write permissions to access the folder containing the database file.




您是否启用了对访问文件的网络访问权限.请检查它.
Hi,

Have you enabled the network access permission to the access file. Please check it.


通常,将MS Access用作网络配置的后端是一个不好的主意.它不使用客户端服务器技术,并且数据库访问基于文件访问.这是基于文件服务器的数据库.为什么要折磨自己?

有不错的数据库,客户端-服务器关系数据库管理系统( http://en.wikipedia.org/wiki/Client%E2%80%93server [ http://en.wikipedia.org/wiki/Relational_database_management_system [ ^ ]),许多都是开源的.

选择您真正需要的内容: http://en.wikipedia.org/wiki/Comparison_of_database_tools [
This is a bad idea to use MS Access as a back end in network configuration in general. It does not use client-server technology and the database access is based on file access. This is a file server-based database. Why torturing yourself?

There are decent data bases, client–server relational database management systems (http://en.wikipedia.org/wiki/Client%E2%80%93server[^], http://en.wikipedia.org/wiki/Relational_database_management_system[^]), many are Open Source.

Choose what you really need: http://en.wikipedia.org/wiki/Comparison_of_database_tools[^].

—SA


这篇关于我们的VB.Net应用程序无法在LAN中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆