The object method was not found to generate a report.

Everyone knows that any software can give various glitches from time to time or, simply put, not work properly. Such failures that lead to disruption of the proper functioning of the system are called mistakes. The 1c program is a software product (software), therefore, in this program, various errors may also occur that lead to incorrect operation of the system. can be very diverse, and if you do not have a number of special knowledge in the field of programming and the specifics of the internal mechanisms of 1C, then you will not be able to correctly understand and diagnose the error, much less correct it. Any of our 1c programmer is always ready to help you in resolving any issues related to 1s errors!

What causes errors in the 1C database?

Now let's talk a little about why various things can happen. errors in 1s database when working with the program. In fact, there can be a lot of reasons and they can all have completely different reasons. And yet, we will try to understand in general terms the reason for the emergence of various errors in 1s.

Types of errors in the 1C database

Errors in 1s There can be a great variety and they can happen for a variety of reasons. In this article we will not consider all possible 1c errors; we will try to highlight the so-called main “types” of errors encountered. We conventionally call them “types” since the content of the error that the program shows you is usually always different, but the essence is often the same. So let's highlight the most common ones errors in 1s database:

  1. Stream format error
  2. Object field not found
  3. Object method not found
  4. Not enough memory
  5. Errors related to SQL tables (relevant for 1C servers that run on relational databases, such as MySQL)
  6. Access error 1s

Stream format error in 1s

1s stream format error

Object field not found

Object field not found

The index is outside the bounds of the array

Error 1c

Stream format error in 1s

This error very often occurs when a sequence of commands is mistakenly read from bytecode in a stream, which is why it is called 1s stream format error. Any transaction will be aborted if this error occurs as a result of its execution. Such errors require immediate correction as they can harm the operation of the 1C Enterprise system. These errors can only be corrected by qualified 1c programmers.

Object field not found

If the 1c system gives you an error message with the text " Object field not found", this means that the error occurs in a situation when the program tries to access an attribute (field) of an object that simply does not exist. This error has the nature of a “runtime error” if it occurs in 1C Enterprise. Errors of this kind can also only be corrected programmers.

The index is outside the bounds of the array

An array in programming is a certain memory area in which many objects of the same type are stored (in 1c such types can be, for example, DirectoryLink, DocumentObject, etc., as well as any primitive types such as number, string, Boolean, etc.). Error 1c associated with going beyond the bounds of an array occurs precisely when a program accesses the boundaries of the memory that is allocated for the array. Accordingly, the program in this case generates an error and notifies the user (programmer) that an access outside the array is occurring, and this in turn is a software error.

Object method not found

A similar error occurs when the system tries to access a method (function) of an object whose description does not exist in the code. Errors of this type can be corrected by programmers.

Not enough memory in 1s

This error occurs if the system runs out of all RAM allocated for the needs of executing programs in the operating system, which is why the program generates the error " Not enough memory in 1s". It can occur during various events such as updating a configuration, processing a large file, when generating a report, loading a large database, etc. The user can try to fix such an error himself.

Possible fix for 1c error “Not enough memory”

The error lies in the limited allocation of address memory by the operating system for software (software).
The default address memory limits are:

  • for a 32-bit system – 2GB
  • for 64 bit – 4 GB

In order to increase the address memory size you need to do the following:

  1. Launch the command line: “Start – Run” - type CMD and press enter
  2. Now in the command line enter the text without quotes “bcdedit /set increaseuserva 3072″, where 3072 is the size of the desired address memory
  3. Reboot your operating system (computer)
  4. Try to perform that action in 1C that did not work before and resulted in an error.
  5. If everything worked out and the operation is not repeated so often, it is recommended to return the address memory size to the default value using the command “bcdedit /deletevalue increaseuserva”

Errors related to SQL tables

Errors of this kind usually occur on the server side, when the system accesses the table and cannot read the data. This error can occur due to incorrect server configuration, as well as due to damage to SQL tables. In particularly difficult situations, it may not even be possible to restore the database, and then only an archived copy of the database can save you. We strongly recommend making timely backup copies of the database.

Access error in 1s

This error occurs when a user tries to perform an action that is prohibited by access rights (roles). This is why the system issues an access error of 1s. Roles are configured in the configurator by the programmer.

Couldn't fix the error in 1s?

If you were unable to fix any error in 1C, don’t despair, pick up the phone and call us! Our specialists are always ready to help you resolve any issues related to 1C, including errors that arise during the operation of the system.

You (or the user) work in 1C. Suddenly - an error. What to do?

Of course, the most correct thing is to analyze what the 1C error is, its causes, spend an hour or two to find out what’s what.

What to do if this is not possible? No time, no desire, not enough knowledge. Here are some very harmful tips for quickly correcting errors in 1C.

Error message 1C

The typical type of 1C error message is a window with the text of the 1C error and the OK and More buttons.

The text of the 1C error displayed here is a user message; it often does not mean anything to the programmer, since the displayed 1C error may be the result of some incorrect actions.

To correct 1C errors, you need to click More in this window to see the programmer’s 1C error message. It states:

  • , in which a 1C error occurred
  • The function of this module in which the 1C error occurred
  • The line number of this module in which the 1C error occurred.

You can also click on the Configurator button, and then the configurator will be opened, this module, this function on this line, after which you can correct the 1C error.

Tricks for Understanding Errors

As just said, the text of a 1C error is very often a consequence of previously performed incorrect actions.

For example, a very common 1C error text reads:

The value is not an object type value (WhatName)

What would this mean???

And this means the following:

  • There is a variable
  • The program assumes that the value of the variable is a directory or document or something else similar - in general it has details (fields)
  • The program attempts to access a field of this object
  • However, the 1C error is that for some reason in the previous lines of the program this variable received a value that does not have any details (fields), for example the value “Undefined”.

Correcting 1C errors that are more common

Of course, we cannot consider all the errors that may exist in 1C right now.
Let's try to briefly list 1C errors that occur frequently, as well as harmful tips for quickly correcting 1C errors.

  • If the variable is of type Boolean (that is, it accepts the values ​​True and False), then it can be accessed like this:

    If VariableName Then

    This writing is similar:
    If VariableName = True Then

    However, if for some reason this variable takes on a non-Boolean value, then the first option will give a 1C error, but the second will not.

  • "Function name XXX not found"

    Some modules are executed on the server. Moreover, some functions of the same module can be executed on the server or on the client.

    In this case, a 1C error may occur that a function running on the server is calling a function that is running on the client. In this case, there will be such a 1C error.

    It is necessary to move such a function to the server, if possible.

  • "Variable named XXX not found"

    Similar to the previous 1C error. If the program contains a call to a function that is located in a common module, then it looks like this:
    ModuleName.FunctionName();

    If it is set in the properties of the module that it is executed on the client, and we are accessing from those lines of the program that are executed on the server, then there will be a 1C error
    "Variable not found - ModuleName"

    It is necessary to similarly enable the execution of this module on the server.

  • "Property XXX was not detected on the object"

    The word “Property” means the field of this object (attribute). Necessary:
    o Determine what kind of object it is
    o If this is a reference book, a document, you need to see if the property is really called that
    o If it is or – look at the details of the form with that name.

  • "Method Xxxx was not detected on the object"

    The word “method” refers to a function/procedure in a module of this object.

    Necessary:
    o Determine what kind of object it is
    o Find its module (object module if it is a 1C object, form module if it is a form)
    o Check for the presence of a function with the same name.

  • “Error 1C when executing a request”

    This means there is a 1C error in the request text. The request text is usually determined in the program earlier (that is, higher) than it is executed. Look for the query text in this module (with your eyes above or by searching for the word “SELECT”).

    Try to analyze the request text or by right-clicking on the request text and try to open the request designer to get a hint.

  • “1C layout error” - when running a report

    This 1C error means either a 1C error in the request text or a 1C error in ACS settings (often in groupings, in selected fields, in conditional formatting).

    Try starting with the settings, greatly simplifying them. Check that in the selected fields and conditional formatting there are no fields marked with a cross in the list.

    If it doesn't help, try going to the request body and using the request builder to get a hint.

Error when updating accounting (Processing.UpdatingInformationBase.ObjectModule(1777)): Object method not found (UpdateDetails) Documents.HelpOnPNDFLTaxAuthorityS2015.UpdateDetails();

Error description:
Updating the database after updating the configuration from release 2.0.65.47 to release 2.0.66.6 ends with an error (Processing.UpdatingInformationBase.ObjectModule(1777)): Object method not found (UpdateDetails) Documents.HelpOnPNDFLTaxAuthorityS2015.UpdateDetails(); Platform 1C: Enterprise 8.3.19.1818, file version of the database

Found solutions:

Considering the fact that when updating the configuration of the 1C: Accounting 2.0 database, the developers reserved the right to update from release 2.0.65.47 to 2.0.66.6 without installing intermediate releases, it is quite natural that this opportunity was not missed. But this was not successful, because... the above error occurred.

If you made an archive copy of the database before starting the update, this will save you from having to solve the problem using the configurator. If this error occurs, the best option is to restore a copy of the database. Update again to release 2.0.65.47. BE SURE to run 1C 8 in user mode ("F7" key on the keyboard or in the "Configuration" menu - "Update database configuration F7") to complete the update to the current release.

Then we update the 1C: Accounting 8 configuration to release 2.0.66.2. Again, BE SURE to run 1C 8 in user mode to complete the update to the current release.

If an archive copy is not made

If an archival copy was not made. Then all that remains is to save the database configuration to a file, menu “Configuration” - “Save configuration”.

We agree with the warning and set the support settings as indicated:

Click "OK". We wait for the platform to perform the necessary actions. Next, we go to the “Information Base Update” processing, in the processing module we go to line 1777 (by calling the “Go to line number” window with the key combination “Ctrl + G”) and comment out the line, placing the characters “//” in front of the line:

Through the menu "Configuration" - "Update database configuration F7") to save the changes. We launch the database in 1C: Enterprise mode to update the database. After this, you need to return the configuration for support. We load the previously saved configuration file through the menu "Configuration" - "Load configuration from file"

We continue updating as usual.

© www.. All rights reserved. The use of texts and images from this page without the written permission of the owner is prohibited. When using materials from this page, you must provide a link to this page.