DAX Error(MIDAS)(50分)

  • 主题发起人 主题发起人 Sun
  • 开始时间 开始时间
S

Sun

Unregistered / Unconfirmed
GUEST, unregistred user!
为什么我在编译client端程序时出现如下的DAX Error
Name not unique in this context
 
什么意思?
 
用的corba吧?
id 重复吧?有同样的类?
 
我遇到过,忘了。。。好象是个简单的错误。。
 
你的datebase的con...(连接)属性要为false,
可能是你的程序第一次编译时已经变为true了,
注意改回来。
 

<p>If you are creating a DLL (Active Library), you must specify
the threading model in the Remote Data Module wizard. You can
choose Single-threaded, Apartment-threaded, Free-threaded, or
Both.<br>
<br>
If you choose Single-threaded, COM ensures that only one client
request is serviced at a time. Youdo
not need to worry about
client requests interfering with each other.<br>
If you choose Apartment-threaded, COM ensures that any instance
of your remote data module services one request at a time. When
writing code in an Apartment-threaded library, you must guard
against thread conflicts if you use global variables or objects
not contained in the remote data module. This is the recommended
model if you are using BDE-enabled datasets. <font size="5">(</font><font
color="#FF0000" size="5"><u>Note that you will need a session
component with its AutoSessionName property set to True to handle
threading issues on BDE-enabled datasets</u></font><font size="5">)<br>
</font><br>
If you choose Free-threaded, your application can receive
simultaneous client requests on several threads. You are
responsible for ensuring your application is thread-safe. Because
multiple clients can access your remote data module
simultaneously, you must guard your instance data (properties,
contained objects, and so on) as well as global variables. This
is the recommended model if you are using ADO datasets.<br>
If you choose Both, your library works the same as when you
choose Free-threaded, with one exception: all callbacks (calls to
client interfaces) are serialized for you.<br>
<br>
</p>
 
我想可能是您的datamodule 上调用多个线程,产生session name 发生相同名称的错误讯息
可用
Tdatabase 的handleshared = true
或者 加个 Tsession 元件
Autosessionname = true
 
同意yuhung
一般在调试环境下经常发生。
 
加一个session组件,来Handle,即可.
 
我在客户机浏览ActiveForm时也遇到“ DAX Error ”
Access violation at address xxxxxx in module xxxxx. read of address FFFFFFFF.
,且 ActiveForm 不显示在IE中,请高手指点一二。
 
我在客户机浏览ActiveForm时也遇到“ DAX Error ”,现在我的问题解决了。
 
多人接受答案了。
 
wjs,你好,对于问题:在客户机浏览ActiveForm时遇到“ DAX Error ”
Access violation at address xxxxxx in module xxxxx. read of address FFFFFFFF.
,且 ActiveForm 不显示在IE中。你已经解决,可否见告,很急,分数好商量,谢谢。
 
leekv:
我是新做了一个,再没有出现那个问题!
 
leek:
將Midas.dll Copy To windows/system目錄,搞定!
 
wjs,能把你的解决方法告诉我吗?
 
我用Delphi6作了一个分布式的ActivXForm,测试时用的是Win98+PWS,远程数据包用的是ADOConnection和ADOQuery,DataSetProvider,连接的数据库是Sysbase anywhere5.5.,客户端用的是DComconection,ClientDataSet,我什么也没增加,很简单的。在服务器端能打开网页,而在客户端却打不开显示“Access violation at address 057A3A56 in module "czpProj1.ocx".Read of address FFFFFFFF."我想了很多办法都解决不了,很是苦恼,能帮我一下吗?
 
我用Delphi6作了一个分布式的ActivXForm,测试时用的是Win98+PWS,远程数据包用的是ADOConnection和ADOQuery,DataSetProvider,连接的数据库是Sysbase anywhere5.5.,客户端用的是DComconection,ClientDataSet,我什么也没增加,很简单的。在服务器端能打开网页,而在客户端却打不开显示“Access violation at address 057A3A56 in module "czpProj1.ocx".Read of address FFFFFFFF."我想了很多办法都解决不了,很是苦恼,能帮我一下吗?
 
后退
顶部