Vault Error - You have insufficient permissions to open the File.
Hello all, I'm getting a weird error with the vault using a completely out of the box install of Innovator 2023. No new users, changes to itemtypes, etc. We literally just installed Innovator 2023 and logged in. "Failed to get the File" "You have insufficient permissions to open the File." The problem is that it doesn't happen to everyone, and who it happens to changes after an IIS reset or application pool recycle. I can log in to Innovator, using localhost from a browser on the same server the application is installed on, using the admin user, and I can open and add files to a Document no problem. Then my colleague, also on the same server, logs in using localhost, with the admin user, and she can't open the file thanks to this error. She CAN add a file to the Document, and it is properly vaulted, though she is unable to view that file after it's been added. It's like create access still works, but not read access. If we recycle the app pools and she logs in first, then I log in, I will get the error. It's usually the second person to log in that gets the error, though not always. Usually it's just the one person with the error, but that's not always the case either. Normally when I'd see an error like this I would check the windows folder permissions on the Vault to make sure the user the application pool runs as has access. Everything seemed normal there but to rule it out I added Everyone to the permission with full control. We're both using the admin user to rule out permissions inside the Innovator application as well. Accessing it from a different server, or using a different browser like Chrome makes no difference, clearing the browser cache also doesn't help, and neither does the Admin > Clear Client Metadata Cache option in Innovator.. We turned on all the logging we could and seemed to find the culprit but are at a loss for what is going on and why it's so intermittent. It seems that for whoever Innovator decides shouldn't be able to get files, it's because of an error in the AuthenticationBrokerWebService. It's trying to do Aras.Server.Models.AuthenticationBroker.GetFileDownloadTokenModel but getting an error, "Database configuration was not found for 'dbname'". Has anyone seen something similar before? I've worked with Innovator for many years now, including installs of this version, Innovator 2023, and never seen something quite like this before. I also noticed weirdness in the license manager. I log in first, and I see just the one session for admin. Then my colleague logs in and tried to get the file, and when I look at the license manager again I see over a 100 sessions for admin. Maybe it's nothing because I always see multiple sessions per user in other Innovator instances, though 100s of them for a single login and file download attempt seems excessive. I don't know if it's related but since the authenticationBroker seems to be the problem with the file download, I figured I'd mention it since it would also have to do with authentication. Thanks -Scott0Views0likes6CommentsRemoving file from vault via server Event
Hai , I do have a requirement to delete unused files from vault , because it consumes memory . So I was trying to deleting files via server event which does not have any relationship . But I was not able to reach vault . Please help me to find a solution in this requirement. Thanks in advance !!0Views0likes2Comments"Multiple Errors: DoPhysicalFiles - Access to the path is denied. " when deleting files. What permission shall I use?
Hi community, I want to delete some orphaned files in the File Vault. We don´t use the "delete automatically" variable. I am able to discover the affected files in the file vault. But when I try to delete one orphaned file manually in the File ItemType I get the following error message: Multiple Errors: DoPhysicalFiles - Access to the path is denied. - I assume I have add an additional permission to the Vault-folder structure in the File vault. But which one shall I use? I remember I added one additional permission in the past on my old MS Server 2012. But I didn´t use the setting on my new 2022 instance. I assume I used "IIS_USRS" or similar in the past. But I never knew if this was the "correct" permission to use. Does anyone know the "official" solution for this one? Thanks and best regards! Angela981Views1like4CommentsYou have no default Vault server.
Dear All, I have a default vault server entry and vault server installed during installation. Still, I receive a weird error "You have no default Vault Server" during file creation. Did anyone face the same issue, if so what fix helped you to resolve this issue? FYI, I have re-installed the Aras Application but used the same Database which I had during initial setup. I doubt this to be a database level miss. Thank you, Super A.0Views0likes3CommentsConfiguring Alternate Vault Installations
Hi Colleagues, I am trying to install an alternate vault for Aras V12SP18. I have set out following the installation guide to the letter, but this fails when the guides says that I should update the file: "C:\Program Files\Aras\Innovator\VaultServerConfig.xml" since this files does not exist in my installation. Is the "ARAS Innovator - Installation Guide" out of date, or am I missing something? Please any help will be appreciated, this forum is full of posts requesting Alt Vault assistance, but no clear answer on the steps for creating alternative vaults. Kind Regards Riaan3.4KViews0likes2CommentsVaults to a different server folders
Hi, Is it possible to configure different server folders to use different vaults. Example, I want to have 2 vaults: 1) Public images 2) Internal images. And then define some users to use 'Public images' vault and some users 'Internal images'. And when images are uploaded Public images (vault) would go C:\Aras\Public and Internal -> C:\Aras\Internal. Now it seems the files are going under same vault folder (even if I use different vaults). Any insight on that anyone?2KViews0likes1CommentAras 12.0 SP9 VaultServer config
how to config file url token in 12.0 SP9? In the previous version we can config like this: <enforce_user_credentials>0</enforce_user_credentials> But there is no such file "VaultServerConfig.xml" at 12.0 SP9. I only found the file "vault.config" ,but don't know the key name in the appsetting.4.1KViews0likes1CommentCall attachPhysicalFile in javascript from an itemtype
Hi, I have an ItemType "COCO_STUDY" with a relation "COCO_STUDY_FILE" pointing to a "File". On the form of this ItemType, I have a html/javascript widget to import a CSV file. The selection of the file is done with <input type="file">. I would like to implement an option (here: "Add imported file in documents"), to copy the selected and imported document into ARAS (as a File) and pointed by the current "COCO_STUDY" through a "COCO_STUDY_FILE". I understood that I need to use attachPhysicalFile but how ? If I well understood, for security reason, the browser doesn't fullpath of the selected file. So, I don't know how to pass it to attachPhysicalFile. I tried to hardcode the filename for a test but it doesn't work. I did this javascript code if(add_imported_file) { // Add imported file in ARAS let inn = top.aras.newIOMInnovator(); let link_study_file = inn.newItem("COCO_STUDY_FILE", "add"); let fileAras = inn.newItem("File", "add"); fileAras.setProperty("filename",fileInput.files[0].name); fileAras.setProperty("comments", "Imported"); //URL.createObjectURL(fileInput.files[0]) fileAras.attachPhysicalFile("C:\\Users\\to81591\\Documents\\Development\\cawb\\sample_csv_files\\CAD2BOM v0.1_UPDATED.csv") link_study_file.setRelatedItem(fileAras); document.thisItem.addRelationship(link_study_file); } So, in javascript, how to create a "File" from a file selected from an <input type="file"> ? Regards.Solved5.3KViews0likes3CommentsFile download error with message "user hasn't enough permissions for this file"
I upload a file to aras, when I want to open it, it show the "System.Web.Services.Protocols.SoapException: User hasn't enough permissions for this file " the detail as below, but I search the file in my vault path ,it really uploaded,does anyone could give me idea how to solve it.4KViews0likes2Comments