I'm trying to run vtigercron.sh file, but i have error
Sorry! Attempt to access restricted file.
I tried to do everything as described here but it didn’t help me
https://www.vtexperts.com/sorry-attempt-to-access-restricted-file/
Vtiger Custom Module : "Sorry! Attempt to access restricted file."
Vtiger web service "sorry! attempt to access restricted file" response
As far as I understand, this problem appeared after deleting and creating a user
please help me, what else could be the problem?
Related
What I want to do is to create a direct link URL to a mp3 file which is located on my Google Drive and use it on Audio object of HTML5, but I get 403 error.
I know that when one tries to create a link of a file located on Google Drive, it creates not a direct URL to the file but a URL for viewing the file through a viewer such as
https://drive.google.com/file/d/<file ID>/view?usp=sharing
I googled to find it is possible to rewrite it into a direct link URL like this:
https://drive.google.com/uc?id=<file ID>
I set this URL in the src property of my audio element. However, when I try play() method, the following error is thrown:
GET https://drive.google.com/uc?id=<file ID> 403
myProject.html:1 Uncaught (in promise) DOMException: Failed to load because no supported source was found.
So I tried to access to the URL https://drive.google.com/uc?id=<file ID> from my browser.
Then, I got this:
403. That’s an error.
We're sorry, but you do not have access to this page. That’s all we know.
I tried many times so it is not likely that I'm mis-pasting the <file ID>.
What should I do to create a valid direct link URL of the file?
I would appreciate for any information.
Progress
I got what was wrong.
The problem was that a file on Google Drive can be accessed only from the user who is authorized, which means only the owner of the Google account can access the file URL.
I tried to access it from Chrome Browser which is associated with the Google account, then, the error didn't occur.
However, I want to serve this file to all the people.
What should I do to give permission for access to other people?
You understand that Google drive is not a file hosting service right? This solution is not going to be very stable even if you do get it to work.
For it to work your going to need to set the file public so that everyone can access it. Then i would be willing to bet you will need an API key to do this in the long run.
Also remember that file id is not stable it can change in the future if for example you upload the file.
I solved this on my own. I right clicked the file, clicked Get link, and changed the authorization selection from Restricted into Anyone with the link. Then, the 403 error vanished for the access from anyone.
I'm trying to read data from Share Point online. I'm using KingwaySoft SharePoint Drivers on SSIS.
I'm getting below error even though with provided credentials
what could be the reason?
do I have to change the URL pattern?
Resolved
I have added /_vti_bin/listdata.svc/ at the end of the site URL.
like :
https://company0.sharepoint.com/sites/sfinfo/IT_team/_vti_bin/listdata.svc/
Thanks
The ideal service URL that you would need to provide should include the base site and subsite, if necessary, and no other details.
Give it a try and if the error persists, please reach out to our support team with the screenshot of the SharePoint connection manager configuration.
I have two schedule task which is running in coldfusion administrator. They are giving 403 forbidden error when run through coldfusion administrator. Here is the log which i get.
"Information","DefaultQuartzScheduler_Worker-8","02/22/17","10:11:00","","Task default.example - Get detail Dev triggered."
"Information","DefaultQuartzScheduler_Worker-4","02/22/17","10:11:00","","Task default.example - Get detail Live triggered."
"Error","DefaultQuartzScheduler_Worker-8","02/22/17","10:11:00","","403 Forbidden "
"Error","DefaultQuartzScheduler_Worker-4","02/22/17","10:11:00","","403 Forbidden "
The task url is running good through browser. It seems that it is something related to permission problem. I have checked the permission of coldfusion Application 'log on as' user on the CFIDE directory and task url directory. It has full control.
Can anyone guide me to solve this problem.
This post is a little old but I've happened across the same problem and I thought I'd share our solution here.
We're running ColdFusion 2016 on a dedicated Windows 2012R2 box. We have several client sites on our box and we're completely locked down using Peter Freitag's lockdown guide.
This is was a new server migration from a CF10 server on another box. Once I set up the scheduled task exactly as we had done before, I received several "403 Forbidden" responses.
The only real way to troubleshoot this is to activate the "Save output to a file" option on the scheduled task itself and save the file to a directory where your CFUser has write access to. "CFUser" of course is the Windows user your CF service uses.
My first test of the URL was through Chrome on the server and it worked just fine so my URL was valid and of public access.
When I fired the scheduled task, it said "The scheduled task ran successfully" however the results of the output file showed it didn't. In our case, an outside service called "Cloudflare" was blocking our request. The error from Cloudflare asked us to enable cookies which we can't do in a scheduled task request. In our case, our hosting provider must provide an exception for requests made from our server's dedicated IP.
Most of the time, these error are generated because of file permission issues on Windows. If you're sure that your CFUser has read & execute permission to the requested template, then you need to output the scheduled task result to fully understand the error.
There was an error when trying to connect. Do you want to retype your credentials and try again?
Details:
Filename: \?\C:Windows\system32\inetsrv\config\redirection.config
Error: Cannot read configuration file due to insufficient permissions
Screenshot:
Suddenly I have this error when trying to access my application on IIS 8! Does anyone know how to fix it?
I had a similar issue and this article helped me resolve the issue: https://blogs.msdn.microsoft.com/prashant_upadhyay/2011/09/20/unable-to-expand-server-node-in-the-iis-7-ui-with-shared-configuration/
The issue in my case was the account associated with configurationRedirection was locked, once enabled the issue was resolved.
I guess a similar issue would arise if the account did not have access to the Shared configuration folder, or if the account's password/credentials had changed.
I had the exact same error message for one of my users following a permissions change to his user account. Turned out he had an old "disconnected" RDP session on the server. Once that was signed off (via task manager) the error went away.
Classic ASP application on a locally hosted server (IIS7). Everyone else in the organization can access this application just fine. This specific user encounters the following error:
Active Server Pages error 'ASP 0115'
Unexpected error
/OurApp/OurApp.asp
A trappable error (C0000005) occurred in an external object. The script cannot continue running.
I've found this article on MSDN. However, since all users bar one are able to access this application, the problem doesn't seem to be a general permissions problem.
What might be causing this specific user to run into errors?
0xC0000005 is the access violation error, its not about permission, is about attempting to read or write protected memory. There must be a user based logic in the OurApp.asp script or one or more components in it which attempts to read or write protected memory just in case of this specific user.