What to do if 1s does not start. Starting a session with the infobase is prohibited. Backup

DOCUMENTS DO NOT OPEN IN 1C

In a programme 1s 8.2 Many accountants have often begun to encounter the fact that while working, documents or reference books suddenly disappear somewhere. Or the situation may be different: in open document or directory, when you click on the selection button in the attribute, the attribute selection form does not open.

Why don't documents open in 1s? On this moment a similar problem can be attributed to a system glitch of this version of 1c.

How to solve it?

This problem can be solved quite simply. In 1s 8.2 there is a status bar at the bottom, like in Windows. You need to pay attention to her. It is worth saying that this line occurs if the “Show function bar” checkbox was selected when the program was launched.

Figure 1 shows what it looks like Bottom part programs.

Rice. 1

In Figure 2 we have given a more complete picture, that is, we have reproduced in more detail the situation that may arise for you.

Rice. 2

As you can see from the second figure, the actions that we must perform to restore a document or directory are quite simple. In the bottom line “Function Panel” you need to move the mouse to the tab we need and right-click. As you can see in the figure, a list with actions has opened.

Need to choose restoring window position A. This option is always after "Close". The main thing is not to mix it up mechanically. That's the solution.

The very situation with closing working documents is a flaw in the program itself. Apparently this is true. With subsequent updates for this version it is possible this problem will be eliminated. So, now you know why documents cannot be opened in 1C.

1C: Accounting 8.3 does not see the new version of the platform

2016-12-08T15:16:35+00:00

Question text

After installing a new platform, the program retains information about old version, that is, 8.3.4.465 is installed, but 8.3.4.389 remains in the program information. What is the problem?

Answer to the question

  1. Go to the 1C database launch window.
  2. Select your base there and click the "Edit" button.
  3. Click the "Next" button twice until you get to the window with 1C launch parameters.
  4. Find the item Version 1C: Enterprise there. If you have something there, clear this field. It should be like this:

Click Finish.

If it was already empty there, then the reason is different.

You need to correctly configure the shortcut to launch 1C:

  1. Go to the 1C installation folder. Usually it's something like "C:\Program Files\1cv8\common".
  2. Find the file "1cestart.exe" in it.
  3. This is the 1C launch file. Create a shortcut to it on your desktop.
  4. Now run 1C through this shortcut and you will always get into latest version installed 1C.
Sincerely, (teacher and developer).

Computer program Just like things tend to break. If you do not have a full-time diagnostician, you will have to carry out a set of measures to find out the causes of the breakdown yourself. To do this, you will need knowledge in the field of 1C administration and a general understanding of computer systems.
So, if a program suddenly stops starting, there is a 90% chance that the problem is due to one of the following reasons:

WHY MAY NOT 1C WORK?

1. Changes have been made to the program code. As a rule, this is discovered in the morning, when all employees come to work and launch 1C. Why in the morning? Because usually administrators make changes to the code when no one is working in the program.

2. Pose planned configuration updates In 1C, some functions added by the company may not work, including external printed forms, reports and processing. The most common mistake " Object field not found" throws users into a stupor. The situation can be resolved by debugging and testing the program code.

3. Power failure. It happens that the 1C program begins to glitch due to incorrect shutdown, for example, as if the lights suddenly turned off. This most often happens with file databases.

4. Not enough physical space. Resources are not infinite. If you have a large document flow, then the daily growth of the database is also significant. And at one point, without noticing it, you may encounter the problem of lack of space on your hard drive.

5. License keys have run out. The program may not start, but if this error occurs, the program will display a message stating that the license keys have run out or that they have not been found at all.

6. Incorrect login, password. The user has forgotten the password or the password has been changed by the program administrator. In this case, the program will also inform you about the failed login and the reason.

7. Network problems. If access to 1C is organized by computer network within one office. The most trivial thing that can happen is that the network cable jumped out of the computer after cleaning the room, was touched by a foot, etc.

The remaining 10% of the reasons when the 1C program stops working are exceptional cases. It is definitely impossible to consider them in an article or forum. Typically, such situations arise with information systems more complex architecture - client-server, remote, web access, etc. Those. The larger the system, the more links, the more intricate the reason for the failure may be. In such situations, it is unlikely that it will be possible to quickly solve the problem; lengthy diagnostics by specialists, including systems engineers, may be required.

SIMPLE RULES

From the described reasons for the 1C error, you have most likely already drawn some conclusions for yourself. We recommend that you adhere to several rules:
1. Make a copy of the 1C database. 1C is a program with commercial information. Losing a week’s worth of data, much less all of the data, is highly undesirable. Set for yourself the frequency of archiving the database in case of any unforeseen circumstances. Even better is to set up auto-archiving. We also recommend making a copy of 1C before making changes to the program code, before installing program updates.
2. Manage access. Restrict access to the configurator. Ordinary users should be prevented from making changes to the program code.
3. Power supply. Make sure that the computer (server) with the 1C base is protected from voltage surges and sudden power outages.
4. 1C specialist on duty. Keep the program archive in a cache and

  • Firstly, it will help you better understand what happened. And in rarer cases, it can even help solve the problem yourself.
  • Secondly, if you couldn’t cope on your own, then first and foremost you should contact a specialist for help. technical support with the contents of the information and diagnostic window that appears.

Let's take a closer look at the contents of the received dialog message:

Line 1.A “Start session with information base forbidden." is a standard entry indicating that user entry into the program has been blocked. With such blocking, a special file with the extension “.cdn” is automatically created in the infobase directory (for more details, see the following sections).

Line 1.B usually indicates the reason, duration of blocking, as well as other helpful information. Depending on who or what (in the case of a system) the entry blocking was installed, as well as for what purpose, the information in this block may be different. Line " Backup" is a standard entry for manual or routine backup (in this case, the line “To perform a backup.”) of the information base using 1C Enterprise.

Administrator, in case of creating a lock in 1C 8.3 Enterprise user mode, or 1C programmer, in case of specifying a lock programmatically in the configurator, can come up with your own messages:

Line 2 gives a hint on how to run the program from the command line Windows strings, if you know the so-called “permission code” (see next step).

Line 3 explains the process and what the buttons do.

Step 2. Solution on how to remove the lock and enter the 1C 8.3 database

Session locks can be roughly classified as follows:

  • Planned. When a session lock has been manually or automatically initiated to maintain planned process in the 1C database (backup, routine task, update);
  • Others, erroneous. When a lock is installed as a result of erroneous user actions or errors encountered by the system itself, when it does not automatically remove the previously installed lock. For example, a backup process was started, but the user interrupted it by forcefully closing the program.

Method 1

In both cases, when setting session blocking, as mentioned above, a file with “.cdn” permission is created in the storage directory of the current infobase:

Thus, simple solution program startup errors due to session blocking will result in deletion of the 1Cv8.cdn file.

However, the user should first ask the question: “After all, if sessions are blocked, does this mean that this is due to something?” Perhaps another user with administrative functions (hereinafter referred to as the administrator) launched a really important task or processing in 1C 8.3 Accounting that cannot tolerate the presence of several users in the database at the same time.

Method 2

If such a situation is possible, then you should contact the administrator and find out whether it is possible to enter the database and whether he has special code permission, which was mentioned just above. In this case, we will use the second method - by entering a blocked infobase by launching the program from the command line, specifying the permission code in one of the launch parameters:

  • “C:\Program Files (x86)\1cv8\common\1cestart.exe” – path to the 1C Enterprise 8.3 launcher;
  • ENTERPRISE – means that the program will start in user mode, i.e. in 1C Enterprise mode;
  • /F”F:\Bazy1C\Accounting” – denotes the file information base (parameter /F) and the path to it (the server database address is indicated in the /S parameter);
  • /C Allow Users to Work – an optional parameter: if checked, the system will not start, but the lock will be removed (the lock file will be destroyed), and subsequently users will be able to access the information base.

If the parameter is not set, then the specific user is allowed to log in, but the lock is not removed. This user can do a complete unlock in user mode by going to the Support and Maintenance panel (Section Administration - Program Settings command group - Support and Maintenance command:

And calling the form Blocking users by the command of the same name:

In the form that opens, you can unblock sessions by clicking the Unblock button, where /UC12345 – the /UC parameter specifies the permission code (12345). Parameter names are written in English.

For more information about command line parameters, see the 1C 8.3 Enterprise help.

Method 3

There is an alternative and even easier for the user method of using the above parameters for launching an information base (hereinafter referred to as IB) - it is possible to register the required ones in the properties of the database of interest.

1. In the launcher window (marked “A”), select the locked database and click the Change button, after which the window for editing information security properties (marked “B”) will open:

In property Additional launch options we write down the unlock code and, if necessary, a parameter to allow users to work (in this case, after the first launch and before the next launch, this parameter must be deleted). These parameters were described in more detail above.

Note: when an automatic backup occurs (directly or as part of another procedure, for example, during an automated update), the system blocks the 1C 8.3 information base and sets the standard unlock code “ Backup ».

Therefore, if the procedure fails and the database remains blocked, but there is no way to delete the cdn file, then you can use the parameter when starting the information security: /UCBackup.

3. Click the Finish button and return to the launcher window, where we launch IS using the 1C:Enterprise button. Thus, the error “Starting a session with the infobase is prohibited. “Backup” has been eliminated:

If 1C 8.3 Enterprise operates in a client-server version, but the user does not have access rights and the necessary knowledge to administer databases in this mode, then in this case you should contact the system administrator for help. We only note that in the client-server version, in addition to access through command line with additional parameters, it is possible to remove the blocking using the 1C:Enterprise server cluster administration utility, namely, it is necessary to remove the flag in the properties of the desired infobase Session start blocking is enabled.

Anatomy of the 1Cv8.cdn lock file

The curious can look inside the 1Cv8.cdn file created when sessions are blocked - it’s simple text file, which can be opened with the appropriate Notepad editor:

The text in the file is surrounded by curly braces that list the following locking parameters, separated by commas:

  • 1 (0) – sign of setting the blocking (1 – installed; 0 – disabled);
  • 20160706154700 – full date (date + time) of the start of session blocking, in our case it is July 6, 2016 20:00:00;
  • 20160706154700 – full date (date + time) of the end of the session blocking, in our case it is July 06, 2016 20:00:00 (if the end date is not specified, then by default the value 00010101000000 is entered into the parameter);
  • Next comes a text parameter, where in double quotes auxiliary text is placed, displayed to the user in the dialog box;
  • “123” – permission code is specified.

As you can see, the file contains all the parameters displayed in the information and diagnostic dialog box that appears.

On the website you can read other free articles and video tutorials on the 1C Accounting configuration (

Send this article to my email

Problem #1: The database file is missing.
Solution: This error is telling you that the database files were not found in specified path:

1c accounting ".

Most likely these files were moved to another location on the disk, or were deleted. If they were nevertheless deleted, try using a special software, which allows you to restore deleted files, just try not to use the computer at all before restoring files (just turn it off), otherwise the chances of recovering deleted files will be less and less over time.

Problem #2. When entering the configuration - 1c hangs. Or 1C hangs when working in it, for example, when processing documents.
Solution: Many people don’t know about this, but there is one wonderful remedy! This special utility(exe file), which is installed with 1c and is located in the "bin" directory, and the file name is "chdbfl.exe". For example, on my computer, the full path to this file is “C:\Program Files (x86)\1cv82\8.2.19.116\bin\chdbfl.exe”, where “8.2.19.116” is the number of the last installed release of the 1c platform, To put it simply, you need to open the folder with the installed platform of the maximum (by number) release in the directory "C:\Program Files (x86)\1cv82\", and then go to the "bin" folder and run the file "chdbfl.exe ".

In the "DB file name" field, indicate the path to the file "1Cv8.1CD" in the 1C database directory. How to view the 1C database directory - see screenshot No. 1 (above). Be sure to check the "Correct detected errors" flag and click "Run". After completing this procedure, 1c in many cases begins to work as before. It is also recommended to run the "chdbfl.exe" utility if 1C is very slow during operation, for example, when closing a month, when posting documents or when generating reports.

After executing the "chdbfl.exe" utility, it is also recommended to log into your database in Configurator mode.

Where the name of the database is "Data Conversion" - this is any of your databases, for example, you may have " 1c accounting ".

In the configurator, click on the "Administration" menu - "Testing and fixing..."

Set all the values ​​of the flags and switches in the "Testing and fixing the infobase" window as shown in the screenshot above and click "Run". After completion, close the configurator and log into 1C as usual. Before starting “Testing and fixing the infobase”, be sure to create an archive copy of the database, and how to do this, read our next article. Try to buy 1c from official partners of the 1c company so that there are fewer such problems.