Ppolyspace error: Read/Write access problem sources_list.txt (errno=13) - matlab

I'm trying to execute an analysis in polyspace. After the selection of the folder where there are the source files (.c) and the header files (.h), when I click on Run Bug Finder, I get the following message error:
Error: Polyspace : Read/Write access problem on C:\Users\Gennaro\Desktop\prova\Module_1\BF_Result\sources_list.txt (errno=13)
Can you tell me how to overcome it?
Every user has a full control of the folder.
EDIT: the resource monitor in Windows 10 didn't find any process that is locking the file sources_list.txt, and this file doesn't exist in the above folder.

Related

What do the various convertstore errors mean?

I am trying to convert a 2 tier symbol store into a 3-tier symbol store using the convertstore.exe tool as described by Microsoft.
However, I get error messages which do not tell me much. Depending on which store I want to convert I get the following errors:
Failed initial checks.
Failed to lock Symbol Store. Error 0x00000003.
ERROR: Couldn't create X:\...\index2.txt. Error 0x00000005.
Sometimes convertstore seems to run without error message, but it hasn't converted the store.
What do these error messages mean and how to mitigate them?
Failed initial checks.
Possible causes:
This error can happen if you run convertstore without any arguments.
Mitigation: Use the correct syntax convertstore.exe -s <store>
The symbol store is already a 3-tier store
Mitigation: none, if the symbol store is already a 3-tier store. The tool will only convert in one direction. It cannot convert back and forth.
Mitigation: If it isn't a 3-tier store, delete the file index2.txt.
Failed to lock Symbol Store. Error 0x00000003.
Possible causes:
The symbol store does not have a pingme.txt or 000Admin folder.
Mitigation: specify a symbol store, not an arbitrary folder that happens to contain some symbols.
Mitigation: create a zero byte file pingme.txt and an empty folder 000Admin.
Failed to move <pdb> > <pdb>. Error 0x00000005.
Possible causes:
The file is currently in use.
Mitigation: close other programs that may currently access the file, then delete index2.txt and run the command again.
You don't have write access to the symbol store.
Mitigation: use SysInternals Process Monitor to diagnose the issue. Note that convertstore will not use the drive letters of mapped network shares, but use the SMB share name instead.
Couldn't create index2.txt. Error 0x00000005.
Possible causes:
You don't have write access to the symbol store.
Mitigation: use SysInternals Process Monitor to diagnose the issue. Note that convertstore will not use the drive letters of mapped network shares, but use the SMB share name instead.
Failed to move <pdb> > <pdb>. Error 0x000000B7.
Possible causes:
The destination file already exists in the 3-tier part of the store. Someone worked on the symbol store in the meanwhile and downloaded new symbols, storing them in the 2-tier format. You now have them in two locations: a 2-tier folder and a 3-tier folder.
Mitigation: delete the 2-tier version manually.
No error message
Possible causes:
convertstore x64 version 10.0.22000.1 suffers from an access violation at convertstore!ConvertAdminFileW+0x1c9
Mitigation: submit the crash dump to Microsoft and hope that they will fix this. Then run the x86 (32 bit) version.

Schedulertask to index storage fails

I have some additional folders added to my installation at web-root. these folders are synced from extern and should be indexed regulary for TYPO3 (later on they are indexed by solrfal, which stalls with the same error).
While the scheduler jobs run some (for some storages) terminate with the error Execution failed: 1430657869, You are not allowed to read folders. But all folders have (meanwhile) the access right set to 777 recursively. There also are no symlinks.
In file list module all folders and files are fully accessible (read and write).
I even set the CLI user to admin =:O
Why does the error occur?
Where does the error occur? (what folder?)

How to give File access to Tableau server?

I have a .twb file created using the excel data source that is located in some network file path.
On publishing to server I get this error.
How to resolve this?
I need to provide some access for "Run as user" in my server machine,how could I do that ?
Ensure that when the workbook is created, a connection to the Excel file is created using the full UNC path
Ensure that the Tableau Server Run As user is able to access that file using the UNC path specified in the workbook. An easy way to test this would be to open Windows Explorer as the Run As user, then paste in the UNC path. If the Excel file opens, then you're good to go.
If you still have issues, test access to the file while logged into the Tableau server to make sure there is no firewall or port blocking access from that host. Often Excel isn't installed on servers for security reasons, so the test is not whether Excel opens the file, but whether you can view the contents from the server as the Run As User, even just using the type command at the console.
If you can't get your network access fixed, an alternative is to build and publish extracts to the server. There are multiple ways to accomplish that

Windows Service ran by domain account cannot access file while full control

I have created a C# service that:
- Picks up and opens a local text file
- Opens an Excel-file used as template (saved locally)
- Fills in the data from the text file in the excel file
- Saves the Excel file to a network folder.
The service runs using a domain account (I cannot give the local system account rights on the network from our network admin...). When the service tries to open the template, I get an access denied error:
Microsoft Excel cannot access the file 'C:\BloxVacation\Template\BloxTemplate.xlsm'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.
The file does exist and the path is correct.
The file is not used by another user or program.
I try to OPEN the workbook (no other workbook is open), not SAVE it.
I have received the same error using the system account. The reason for this is that, when using interopservices, the system account needs a desktop folder (bug in Windows 7: http://forums.asp.net/t/1585488.aspx).
C:\Windows\System32\config\systemprofile\Desktop
C:\Windows\SysWOW64\config\systemprofile\Desktop
Create those 2 files and the error disappears for the system account.
I have given the domain user rights to those folders and the error disappears as well however, the service hangs on the code line where I open the excel file. When I execute the exact same code with the system account, the code execute well (Note: I save the file locally).
objXL.Workbooks.Open(BloxVacationService.ExcelTemplateFilePath)
Has anybody an idea how to solve this issue without having to rewrite the entire service in OpenXML? Thank you very much in advance.
If you have done all the things described in the question and it still doesn't work (as it was with me), the answer is pretty simple:
Make the domain user local admin on the machine that runs the service. It solved the problem.

Crystal Reports Export Access Denied

I am maintaining some code that uses CR to create a report and write it to disk.
var report = new ReportDocument();
....
report.Export();
On our live server this is resulting in the following error:
Error in File E:\TEMP\temp_cb1a18c2-b4e6-46b8-901b-a7a028a43b79.rpt: Access to report file denied. Another program may be using it.
The app is running as Network Service and has full control of the e:\temp diretory so it seems strange to be getting an access denied message.
Anyone encountered this before?
I'd probably have to see more of your code. Are you loading a report from disk with ReportDocument.Load, with OpenReportByTempCopy specified?