the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

Когда вы при работе в программе «ГРАНД-Смета» вводите наименование какого-либо документа программы (сметы, ценники, закладки), тем самым вы указываете имя соответствующего файла на компьютере. Следовательно, здесь от программы «ГРАНД-Смета» уже ничего не зависит, поскольку имеют место ограничения, принятые в операционной системе.

Владимир Тюков
www.grandsmeta.ru

Системные требования указаны на нашем сайте. На текущий момент они следующие:

Свободное место на жестком диске не менее 2 Гб + 200 Мб для каждой нормативной базы;
Для базы ГРАНД-СтройМатериалы – не менее 15 Гб;
Операционная система: Windows 8.1, 10 (64-х разрядные).
(Серверные ОС не рекомендуется использовать для запуска локальной версии);
Процессор не ниже 2 ГГц;
Оперативная память не менее 4 Гб;
Устройство для чтения с компакт-диска (DVD-ROM) (требуется для установки программы);
Разрешение экрана не менее 1280х800, количество экранных цветов не менее 256;
Свободный порт USB.

Андрей Достовалов
www.grandsmeta.ru

В программе «ГРАНД-Смета» можно настроить размер используемого шрифта. Делается это в Установках программы на вкладке Шрифт.

Андрей Достовалов
www.grandsmeta.ru

Данная ситуация возникает только при попытке открыть файл, сформированный программой, в совсем старых версиях Excel, в частности в Офисе 2007. Обновите содержимое программы при помощи Утилиты загрузки ПК ГРАНД-Смета. Все формы в данный момент открываются в Excel 2007.

Андрей Достовалов
www.grandsmeta.ru

Для работы ПК «ГРАНД-Смета» требуется ОС Windows х32/х64. Насколько нам известно, на ноутбуках MacBook существует возможность запуска нормальной ОС Windows.

Андрей Достовалов
www.grandsmeta.ru

При работе ПК «ГРАНД-Смета» никаких проблем ни с защитником Windows, ни с известными коммерческими антивирусами замечено не было. Проверьте свой компьютер на предмет наличия вредоносного и следящего ПО. Также возможно, что у вас нелицензионная версия ОС. Для более точной диагностики вашей проблемы необходимо, чтобы ваш системный администратор обратился по месту приобретения программы за технической консультацией.

Андрей Достовалов
www.grandsmeta.ru

Системные требования единые, как для стационарных ПК, так и для ноутбуков. Единственное, на что можно не обращать внимания при выборе ноутбука – это «Устройство для чтения с компакт-диска (DVD-ROM)». В нём нет острой необходимости, так как оно требуется только для установки программы и в дальнейшем при работе не используется. А в случае его отсутствия программу можно установить с обычной флешки.

Андрей Достовалов
www.grandsmeta.ru

Нет. Любые версии ПК «ГРАНД-Смета» ниже версии 7 технически не смогут работать на Windows 10.

Андрей Достовалов
www.grandsmeta.ru

Возможно, для вашей версии ПК «ГРАНД-Смета» уже прекращена техническая поддержка. За более подробным ответом рекомендуем обратиться по месту приобретения программы.

Источник

The operating system denied access to the specified file что делать гранд смета

Модератор: Модераторы

Ошибка при запуске программы.

Сегодня программа выдала ошибку.

Дополнительная информация об ошибке:
GDSCODE = 335544721
Исключительная ситуация EIBInterBaseError в модуле SmetaRu.exe.
Unable to complete network request to host «microsoft-b3e7ad»
Failed to locate host mashne.
The specified name was not found in the hosts file or Domain Name Services.
————————————————

Программа стоит локально.
Недавно менялись настройки сети и менялось имя компьютера. (Старое не вспомнить)

Ваша реклама

Re: Ошибка при запуске программы.

1. Тип программы Smeta.ru
3. Операционная система под управлением которой работает программа. Win XP

В зависимости от ошибки возможно потребуется следующая дополнительная информация:

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Добрый день. Ошибка имеет такой характер, как и у моего предшественника:
Путь к базе данных указан неверно.

Дополнительная информация об ошибке:

GDSCODE = 335544721.
Исключительная ситуация EIBInterBaseError в модуле SmetaRu.exe.
Unable to complete network request to host «USER-THINK».
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.

17/9/2012: 11/43: Путь к базе данных указан неверно.

Дополнительная информация об ошибке:

GDSCODE = 335544721.
Исключительная ситуация EIBInterBaseError в модуле SmetaRu.exe.
Unable to complete network request to host «USER-THINK».
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.

Программа стоит на съёмном жестком диске, так как постоянно меняются компьютеры, за которыми работают сметчики. На стационарных компьютерах идет неплохо, на ноутбуке не пошла. Выдает ошибку. Операционная система Windows 7. Ключ usb. Изменение имени диска в \StroySoft\Smeta.ru\Client\Data\GDBPath.net результатов не дало.

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Re: Ошибка при запуске программы.

Источник

SQL Server Operating system error 5: «5(Access is denied.)»

I am starting to learn SQL and I have a book that provides a database to work on. These files below are in the directory but the problem is that when I run the query, it gives me this error:

Msg 5120, Level 16, State 101, Line 1 Unable to open the physical file «C:\Murach\SQL Server 2008\Databases\AP.mdf». Operating system error 5: «5(Access is denied.)».

In the book the author says it should work, but it is not working in my case. I searched but I do not know exactly what the problem is, so I posted this question.

19 Answers 19

SQL Server database engine service account must have permissions to read/write in the new folder.

Added the Administrators Group to the file security permissions with full control for the Data file (S:) and the Log File (T:).

Attached the database and it works fine.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

An old post, but here is a step by step that worked for SQL Server 2014 running under windows 7:

I think setting the logon account may have been an option in the installation, but if so it was not the default, and was easy to miss if you were not already aware of this issue.

To get around the access denied issue, I started SSMS as administrator and that allowed me to attach a database from my local drive. The database was created in another SQL and windows instance.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

I had this problem. Just run SQL Server as administrator

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

Yes,It’s right.The first you should find out your service account of sqlserver,you can see it in Task Manager when you press ctrl+alt+delete at the same time;Then,you must give the read/write privilege of «C:\Murach\SQL Server 2008\Databases» to the service account.

The problem is due to lack of permissions for SQL Server to access the mdf & ldf files. All these procedures will work :

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

The actual server permissions will not matter at this point; all looks ok. SQL Server itself needs folder permissions.
depending on your version, you can add SERVERNAME$MSSQLSERVER permissions to touch your folder. Othewise, it has to be in the default BACKUP directory (either where you installed it or default to c:\programfiles(x)\MSSQL\BACKUP.

Even if you do the following steps you COULD get the same error message.

I still GOT the permission error, but then I noticed that in the Attach screen, the bottom section STILL showed the LOG file, and the error message remained the same.

Hope this helps someone who did the same thing.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

Very Simple Solution.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

I used Entity framework in my application and had this problem,I seted any permission in folders and windows services and not work, after that I start my application as administrator (right click in exe file and select «run as admin») and that works fine.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

For some reason, setting all the correct permissions did not help in my case. I had a file db.bak that I was not able to restore due to the 5(Access is denied.) error. The file was placed in the same folder as several other backup files and all the permissions were identical to other files. I was able to restore all the other files except this db.bak file. I even tried to change the SQL Server service log on user — still the same result. I’ve tried copying the file with no effect.

Then I attempted to just create an identical file by executing

instead of copying the file. And voila it worked! db2.bak restored successfully.

I suspect that some other problems with reading the backup file may be erroniously reported as 5(Access is denied.) by MS SQL.

In linux, I went to /var/opt/mssql/data/ folder and opened a terminal with sudo then, changed my *.mdf and *.ldf file permissions as below in which you replace yourDB with your Database file name and myUser to currently logged username:

After that, it was reconnected without any issue.

If the database you are trying to attach is compressed it may show error message.

First you have to decompress the file. For that go to properties of mdf/ldf file >> then «Advanced» >> Uncheck «Compress Contents to save disk space» >> Press «Apply».

After that give it a try.

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

the operating system denied access to the specified file что делать гранд смета. Смотреть фото the operating system denied access to the specified file что делать гранд смета. Смотреть картинку the operating system denied access to the specified file что делать гранд смета. Картинка про the operating system denied access to the specified file что делать гранд смета. Фото the operating system denied access to the specified file что делать гранд смета

With 3 items in the above checklist, you will remove almost problems related with attach database task.

Not the answer you’re looking for? Browse other questions tagged sql sql-server or ask your own question.

Linked

Related

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.11.12.40742

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

CREATE FILE encountered operating system error 5 (Access is denied.)

I’m trying to execute the following script in SQL Server Management Studio:

But I’m getting the error:

Msg 5123, Level 16, State 1, Line 2
CREATE FILE encountered operating system error 5 (Access is denied.)
while attempting to open or create the physical file
‘C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\test1.mdf’.

Msg 1802, Level 16, State 4, Line 2
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

Already have all role permissions for my user, any ideas on what’s wrong?

4 Answers 4

You are getting a permissions error. The account which is running the SQL Server doesn’t have the needed rights on the folder which will contain the database files.

You need to give the account which is running SQL Server (not your account) full control of C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA.

Based on our comment thread it sounds like you may have gotten yourself a bit sideways during install. The installer allows you to choose your default data directory and (I would assume) sets the appropriate permissions on that directory for the service account that you specified.

In your CREATE DATABASE statement you’re specifying a location, but was that location the one that was specified in the original setup? Has the service account changed?

A way to test this is to just run a generic

If you get the same error then perhaps the service account has changed or something about the NTFS permissions has changed.

A resolution path (also based on comment string) is to confirm that the service that is running SQL Server has R/W permissions on the path that you’re specifying. To do this:

Now go and ensure that account has the appropriate permission on that directory to do what it needs to do.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *