msaccess-vcs-addin
msaccess-vcs-addin copied to clipboard
Run-time error '2950': Reserved Error
Hi,
First of all, thank you for the awesome tool!
When I try to export everything, I get the above run-time error. Judging from its number, I think this might be related to #67.
Unfortunately, I'm not (yet) very knowledgeable about VBA, so I'll try my best to pinpoint where the error is originating from.
The debugger stops at the following line: https://github.com/joyfullservice/msaccess-vcs-addin/blob/18f325e6c1f892227bd8e88113e4e9b627dc914a/Version%20Control.accda.src/modules/clsDbHiddenAttribute.cls#L227
I tried using a workaround similar to that in #67:
+ On Error Resume Next
' Check Hidden Attribute property (only exposed here)
If Application.GetHiddenAttribute(contType, doc.Name) Then
' Add to collection of hidden item item names of this type.
colItems.Add doc.Name
End If
+ On Error GoTo 0
and it did seem to work, though I got the following errors in the log:
Exporting forms...
(a couple of forms exported OK)
Problematic_form_name_1
-------------------------------------
ERROR: Issue creating output file.
Source: modVCSUtility.SaveComponentAsText
-------------------------------------
(some more forms)
Problematic_form_name_2
-------------------------------------
ERROR: Unhandled error, likely before `On Error` directive
Source: .Unknown.LogUnhandledErrors
-------------------------------------
-------------------------------------
ERROR: Issue creating output file.
Source: modVCSUtility.SaveComponentAsText
-------------------------------------
and the following warning at the very end of the log
WARNING: The performance monitoring for operations still
had items in the call stack. This typically happens when
performance logging is started for an operation, but not
closed at the conclusion of the operation.
The call stack currently contains the following 1 items:
- App.SaveAsText()
Could it be that in https://github.com/joyfullservice/msaccess-vcs-addin/commit/8e3fa177857d4bae86cd349298be43b029ea66b5 (created to solve #67), you added error handling in tables, but not in forms?
Environment: Windows 11 Access for Microsoft Office 2016 MSAccessVCS 4.1.0
Thank you very much in advance!