sybase iq - "operation failed on file due to file permission" - file

I'm trying to get to a local file from sybase iq.
My code to connect to my file is like this:
USNIG CLIENT FILE 'C://TEMP/A.TXT'
If i run it on iq workspace it's working perfectly.
If i run this query via a service.cs it's not working and i get error:
ERROR [HY000] "operation failed on file due to file permission FILE: C://TEMP/A.TXT
i tried to find an answer via google but nothing...
the DSN is ok.
Any idea what to do?
Thanks!

Related

SP2-0310: unable to open file "apex_epg_config.sql"

Hi I have installed Apex on Oracle 19c pluggable database. I have also successfully run the apex_rest_config command. But when I try to configure pl/sql gateway with the command #apex_epg_config.sql Path_to_apexfolder It gives the following error
SP2-0310: unable to open file "apex_epg_config.sql"

Jenkins: File not found exception

I am trying to load a file from a repository I checked out. I am getting this error:
new File( iFilePath )
Err: Build failed with Error: java.io.FileNotFoundException: Y:\Jenkins\workspace\TestBuilds\Matlab\m\Contents.m (The system cannot find the path specified)
This is explained because Jenkins try to look for the file on the master. While the file is actually located on the slave agent.
Any way to get around this ?
Check out this answer: https://stackoverflow.com/a/42018578/3486967
I don't think you can use the File class on anything but the Jenkins master; try using the FilePath class

The following error occurred while opening the file '\\?\E:\TempDB\MDTempStore_1584_1_j1pv2.tmp': Access is denied

I'm trying to start a fresh install of TFS 2013 but running into the issue TF255356: The following error occurred when configuring the Team Foundation databases: TF400711: Error occurred while executing servicing step Create Warehouse for component InstallWarehouse during Install: Create Analysis Database schema failed: Error generating Analysis Database: File system error: The following error occurred while opening the file '\?\E:\TempDB\MDTempStore_1584_1_j1pv2.tmp': Access is denied.
I have tried to remove the read-only flag from the tempdb folder but it keeps getting set to true after applying the change. I have also added the registry entry UseSystemForSystemFolders which allows read-only to be removed from the folder but it does not persist.
Any help with this would be great
Thanks
Chris

Error occurred while opening logfile C:\Windows\system32\LogFiles\Sum\Api.log

I need to restart the MS SQL server service every morning because my web client site can not connect.
However, when I start my services it works. I don't know what is causing the problem.
I found this in my error log.
sqlservr (4052) An attempt to open the file "C:\Windows\system32\LogFiles\Sum\Api.log"
for read only access failed with system error 5 (0x00000005):
"Access is denied. ".
The open file operation will fail with error -1032 (0xfffffbf8).
sqlservr (3000) An attempt to open the file "C:\Windows\system32\LogFiles\Sum\Api.chk"
for read / write access failed with system error 5 (0x00000005): "Access is denied. ".
The open file operation will fail with error -1032 (0xfffffbf8).
Hope somebody can help me fix this.
Your serviceaccount need access to the folder:
C:\Windows\System32\LogFiles\Sum
Go to the folder and add the account with read/write permissions.
http://support.microsoft.com/kb/2811566

httpd: could not open error log file /etc/httpd/logs/error_log. Unable to open logs

When i start my centOS server. Its through me error like below.
Starting httpd: (20)Not a directory: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
Please help me to fix this. Even i checked the permission of logs.
That's because of permission of file. you should set permission for zabbix user.

Resources