简体   繁体   English

运行时错误380-在对象中找不到指定的字段名

[英]RunTime Error 380 - Specified Fieldname not found in object

I am running a VB6 application with a Pervasive V9.5 Database. 我正在运行具有Pervasive V9.5数据库的VB6应用程序。 I am receiving a RunTime Error 380 - Specified Fieldname not found in object when only 2 of my users are trying to log in. Rest of the office is fine...Does anyone have any idea what the issue could be? 我收到运行时错误380-当只有2个用户尝试登录时,在对象中找不到指定的字段名。办公室的其余部分都很好...任何人都不知道问题可能是什么? I have searched for a few hours now and can't find anything helpful. 我已经搜索了几个小时,找不到任何有用的信息。

The login uses a VAccess control during the login. 登录期间,登录使用VAccess控件。 Could this be caused by a missing DLL or OCX file on the client machine? 这可能是由于客户端计算机上缺少DLL或OCX文件引起的吗?

Any suggestions would be appreciated as I am out of ideas. 任何建议,我都会不胜感激。

Edit: 编辑:

With vaLogon
    .RefreshLocations = True
    .DdfPath = DataPath
    .TableName = "USERLOG"
    .Location = "USERLOG.MKD"
    .Open
    If .Status <> 0 Then
        ErrMsg = "Error Opening File " + .TableName + " - Status " + str$(.Status) + vbCrLf + "Contact IT Department"
    End If
End With

I have enabled VADebug mode and on the workstation in question, when the app is launched I receive the DDF error: 我启用了VADebug模式,并且在有问题的工作站上,当启动应用程序时,我收到DDF错误:

The VAccess control was unable to open FIELD.DDF at the specified DDFpath. This may result from an error in the DDFPath or refreshlocations properties, or from a corrupt FIELD.DDF.

Then an error message: 然后出现错误信息:

ACBtr732 - Btrieve status = 170, Brtrieve Opertation Code = 0, VAccessName = vaLogon, VALocation = 

Then my login prompts for username and password and once the Login button is clicked is when the user receives the 380 Runtime. 然后,我的登录提示输入用户名和密码,并且单击“登录”按钮后即为用户收到380运行系统的时间。

The error 170 means "Database login required. Authentication to the database failed due to a wrong or missing username." 错误170的意思是“需要数据库登录。由于用户名错误或丢失,对数据库的身份验证失败。” Are you sure the Datapath variable has the proper path in it? 您确定Datapath变量中包含正确的路径吗?

Can you connect to the database through the Pervasive Control Center? 您可以通过普及控制中心连接到数据库吗? Does it require a user/password? 是否需要用户/密码?

A corrupt DDF on the server would typically affect all users. 服务器上的DDF损坏通常会影响所有用户。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C#运行时错误:&#39;由于以下错误,无法为具有CLSID的组件检索COM类工厂:找不到指定的模块 - C# Runtime error: 'Retrieving the COM class factory for component with CLSID failed due to the following error: specified module could not be found Anaconda“导入georaster”错误:找不到指定的模块 - Anaconda “import georaster” error: specified module not found NET 4的“找不到指定的过程”错误 - “The specified procedure could not be found” error with .NET 4 尝试将.dll加载到Python中时出错“找不到指定的模块” - Error while trying to load .dll into Python “The specified module could not be found” Pycharm 错误 - OSError: [WinError 126] 找不到指定的模块 - Pycharm error - OSError: [WinError 126] The specified module could not be found 查找函数“ HelloWorld”时出错:找不到指定的过程 - Error looking up function 'HelloWorld': The specified procedure could not be found 什么是“找不到入口点”运行时错误的可能原因? - What are some of the possible causes of “entry point not found” runtime error? WindowsError: [错误 126] 使用 python3.7.5 找不到指定的模块 - WindowsError: [Error 126] The specified module could not be found with python3.7.5 在运行时找不到引用的库 - Referenced Library not found at runtime 无法加载DLL&#39;SQLite.Interop.dll&#39;:找不到指定的模块。 Windows Server 2012上的错误 - Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. Error on Windows Server 2012
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM