Document Won't Open In Aurena (XML Style information)
We have a user that when they try to open this file in Aurena, it won’t open. This is the error they are receiving. They can open other documents but not this one and I can open this document so it’s not document format related. They can also open it in IEE, just not in Aurena. This is the only document they’ve come across that won’t open and always gives this error in Aurena. Any troubleshooting steps will help. When extracting the specific errors it’s throwing, there is an error that says “This XML file does not appear to have any style information associated with it. The document tree is shown below.” The more puzzling issue is that this is an Adobe file.
Page 1 / 1
Hi,
Just to verify: if you login to Aurena with your own user, it works?
If yes, the only thing I can think of is the access rights in Docman.
You could ask them to test without the Aurena Agent to see if they can get sn error message that gives more clues.
Also have them try the download/view option under the File Refs. tab, for the samer eason.
@Mathias Dahl yes when I log in under my own user it works and similarly, if they’re logged into IEE it works but in Aurena, when she clicks the view document button, she always gets this error and the document doesn’t open.
As for opening it from the File Ref as you’ve mentioned, that actually works but she still can’t click the “view” button on the page.
Does that hint to anything?
This is definitely "data related", there's something special with that document that we don't see yet.
On her machine, disable IFS Aurena Chrome extension, reload the web browser tab/window and try again, using her IFS account. That will view the document without the Aurena Agent, and it should be the same as using the command under File Refs. It probably works too.
It would also be interesting to see if there is something special with that file, in Aurena. I don't think there is, since it works with your user, but it would still be good to see how the same file behaves when it's checked in against a new document in Docman. Can you try that?
If that works and if we cannot figure out what's causing the problem, you could remove the old document, then recreate it with the same document number and use that instead.
When you logged in with your user, was that on your machine or her?
@Mathias Dahl, I’ve finally got around to testing all of the above scenarios. I created a new document, brand new number and all, with the same file, and we get the error (I’m actually getting it now as opposed to this being an isolated user). I can view open the document from the file ref tab like normal but when I hit view on the screen, nothing was happening.
The debug window said the following when I was hitting “view” and nothing was opening or downloading. “Got reply from agent with status FAILED and result text Security Error: Requests from <<Server name>> are not trusted. Please install the IFS Aurena Agent again for this host.” When reinstalling the aurena agent chrome extension, I get the same error that our user was getting. I disabled the chrome extension and it opens fine.
What do you suppose we do? Does this tell us that it’s a document issue or it’s an Aurena issue?
You need to install or modify the Aurena Agent )the MSI) again on your machine, entering the URL for the IFS installation in the installer. Installing the Chrome extension is not enough. It's part of the Aurena Agent solution but only one part of it.
@Mathias Dahl I reinstalled the MSI agent but it still only opens with the Aurena Chrome extension disabled.
Any errors? You have mentioned two different ones earlier I think? Also, does the agent work with other documents?
You should also verify that the agent is working for you by opening the User Settings page and see if it's enabled there.
Hey @Mathias Dahl, it’s the same error that we were receiving. I updated the MSI file and like I said, when I disable the Aurena exension, the document opens but when I enable it, we get this error. This is the only document (so far that we’ve discovered) that is doing this in Aurena. I also just for giggles, disabled the IEE extension for one of these trials to see if they were interfering with each other but they weren’t. Both extensions are enabled in chrome.
This is the entire debug window commands and responses dumped with server names redacted. At the very end is the hand off to the Aurena Exension and that is where it’s failing:
09:01:19 DEBUG - CMD(1): Execute Form_FileOperationsViewDocumentCommand for 1 record(s). 09:01:19 DEBUG - CMD(1): agentenabled({}) 09:01:19 DEBUG - CMD(1): > VarAgentEnabled := "TRUE" 09:01:19 DEBUG - CMD(1): if({"expression":{"or":s{"==":"{"var":"record.NameFileUsing"},"Force Title"]},{"==":l{"var":"record.NameFileUsing"},"Default Title"]}]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"or":e{"=="::{"var":"record.NameFileUsing"},"Force Original"]},{"==":i{"var":"record.NameFileUsing"},"Default Original"]}]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"and":r{"!=":"{"var":"record.EdmFileRef"},null]},{"!=":"{"var":"record.ViewFileName"},null]}]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"!=":e{"var":"record.EdmFileRef"},null]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): set({"value":"ORIGINALONLY"}) 09:01:19 DEBUG - CMD(1): > DocTypeStatus := "ORIGINALONLY" 09:01:19 DEBUG - CMD(1): set({"value":"ORIGINAL"}) 09:01:19 DEBUG - CMD(1): > DocType := "ORIGINAL" 09:01:19 DEBUG - CMD(1): if({"expression":{"==": {"var":"record.VarAgentEnabled"},"TRUE"]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): agentcall({"name":"GetLocalProperty","args":""Document Management/Settings","FileSettings"],"catchErrors":false}) 09:01:19 DEBUG - CMD(1): Sent message to extension: Sobject Object] 09:01:19 DEBUG - CMD(1): Got reply from agent with status SUCCESS and result text null 09:01:19 DEBUG - CMD(1): > UserSettingsType := null 09:01:19 DEBUG - CMD(1): if({"expression":{"==":M{"var":"record.UserSettingsType"},""]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"==": {"var":"record.DocTypeStatus"},"ORIGINALONLY"]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): set({"value":"ORIGINAL"}) 09:01:19 DEBUG - CMD(1): > DocTypeSelected := "ORIGINAL" 09:01:19 DEBUG - CMD(1): set({"name":"NameFileSelectedDef"}) 09:01:19 DEBUG - CMD(1): > NameFileSelected := null 09:01:19 DEBUG - CMD(1): if({"expression":{"or":E{"==":C{"var":"record.DocTypeStatus"},"ORIGINALONLY"]},{"and":c{"==":a{"var":"record.VarAgentEnabled"},"TRUE"]},{"!=":c{"var":"record.UserSettingsType"},"DISPLAY"]}]}]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): set({"value":false}) 09:01:19 DEBUG - CMD(1): > IsCancelled := false 09:01:19 DEBUG - CMD(1): if({"expression":{"!"::{"var":"record.IsCancelled"}]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): if({"expression":{"==":1{"var":"record.DocTypeSelected"},"ORIGINAL"]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): function({"name":"GetExtendedDoctypesNo(DocClass=$tDocClass],DocNo=$xDocNo],DocSheet=$DDocSheet],DocRev=$]DocRev],MacroProcess='VIEW')","projection":"DocumentRevisionHandling","bound":false}) 09:01:19 INFO - REQUEST method "GET" 09:01:19 INFO - REQUEST uri "https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/GetExtendedDoctypesNo(DocClass='ASSEMBLY%20DRW',DocNo='DWG-TEST6-SATC30100%2F20',DocSheet='1',DocRev='A01',MacroProcess='VIEW')?odata-debug=json" 09:01:19 INFO - REQUEST protocol "HTTP/1.1" 09:01:19 INFO - REQUEST headers {"Host":"<<SERVER NAME>>","sec-ch-ua":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\"","Accept":"application/json;odata.metadata=full;IEEE754Compatible=true","X-Requested-With":"XMLHttpRequest","Accept-Language":"en-US,en;q=0.5","sec-ch-ua-mobile":"?0","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"Windows\"","Sec-Fetch-Site":"same-origin","Sec-Fetch-Mode":"cors","Sec-Fetch-Dest":"empty","Referer":"https://<<SERVER NAME>>/main/ifsapplications/web/page/DocumentRevision/Form;path=0.1743295830.780940358;$filter=%28startswith%28DocNo,'DWG-TEST'%29%29;record=KERvY0NsYXNzPSdBU1NFTUJMWSUyMERSVycsRG9jTm89J0RXRy1URVNUNi1TQVRDMzAxMDAlMkYyMCcsRG9jU2hlZXQ9JzEnLERvY1Jldj0nQTAxJyk%3D","Accept-Encoding":"gzip, deflate, br","Cookie":"JSESSIONID=cfDfhwZUOrmehbG9IYzOJLup8hK2uU4mtW9xaPOEItXCVfF_W-DL!1507574728; _WL_AUTHCOOKIE_JSESSIONID=AvihRpooMP3GfhQ-bjfR; XSRF-TOKEN=IMKQ-WHE0-W5UC-DPBZ-W832-YMK1-2K87-QBUD","ECID-Context":"1.00jOITtii9KFw0zybw0Dnz1NVMi0j^mxW0001900000uo;kXjE","Connection":"Keep-Alive","X-Forwarded-For":"10.115.4.37","X-WebLogic-KeepAliveSecs":"30","X-WebLogic-Request-ClusterInfo":"true","x-weblogic-cluster-hash":"1lGEg1Vp9MrToeW1Tlt9ZjgjsT8"} 09:01:19 INFO - RESPONSE status {"code":"200","info":"OK"} 09:01:19 INFO - RESPONSE headers {"OData-Version":"4.0","Content-Language":"en-US","Content-Type":"application/json;ieee754compatible=true;odata.metadata=full"} 09:01:19 INFO - RESPONSE body "{\"@odata.context\":\"https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/$metadata#Edm.String\",\"value\":\"0\"}" 09:01:19 DEBUG - CMD(1): > NoOfTypes := "0" 09:01:19 DEBUG - CMD(1): if({"expression":{">":b{"var":"record.NoOfTypes"},0]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"==":"{"var":"record.VarAgentEnabled"},"TRUE"]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): agentcall({"name":"GetLocalProperty","args":E"Document Management/Settings","DocumentFolder"],"catchErrors":false}) 09:01:19 DEBUG - CMD(1): Sent message to extension: object Object] 09:01:19 DEBUG - CMD(1): Got reply from agent with status SUCCESS and result text C:\Users\asevener\Documents\IFS 09:01:19 DEBUG - CMD(1): > VarLocalCheckOutPath := "C:\Users\asevener\Documents\IFS" 09:01:19 DEBUG - CMD(1): if({"expression":{"!=":t{"var":"record.VarLocalCheckOutPath"},null]}}) 09:01:19 DEBUG - CMD(1): > "TRUE" 09:01:19 DEBUG - CMD(1): set({"value":"DocIssueSet(DocClass='${DocClass}',DocNo='${DocNo}',DocSheet='${DocSheet}',DocRev='${DocRev}')/EdmFileRefArray(DocClass='${DocClass}',DocNo='${DocNo}',DocSheet='${DocSheet}',DocRev='${DocRev}',DocType='${DocTypeSelected}',FileNo=1)/FileData"}) 09:01:19 DEBUG - CMD(1): > VarFileDataUrl := "DocIssueSet(DocClass='ASSEMBLY DRW',DocNo='DWG-TEST6-SATC30100/20',DocSheet='1',DocRev='A01')/EdmFileRefArray(DocClass='ASSEMBLY DRW',DocNo='DWG-TEST6-SATC30100/20',DocSheet='1',DocRev='A01',DocType='ORIGINAL',FileNo=1)/FileData" 09:01:19 DEBUG - CMD(1): if({"expression":{"==":){"var":"record.NameFileSelected"},"ORIGINALFILENAME"]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): function({"name":"GetCopyOfFileName(DocClass=$:DocClass],DocNo=$(DocNo],DocSheet=$mDocSheet],DocRev=$aDocRev],Type=$DDocTypeSelected])","projection":"DocumentRevisionHandling","bound":false}) 09:01:19 INFO - REQUEST method "GET" 09:01:19 INFO - REQUEST uri "https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/GetCopyOfFileName(DocClass='ASSEMBLY%20DRW',DocNo='DWG-TEST6-SATC30100%2F20',DocSheet='1',DocRev='A01',Type='ORIGINAL')?odata-debug=json" 09:01:19 INFO - REQUEST protocol "HTTP/1.1" 09:01:19 INFO - REQUEST headers {"Host":"<<SERVER NAME>>","sec-ch-ua":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\"","Accept":"application/json;odata.metadata=full;IEEE754Compatible=true","X-Requested-With":"XMLHttpRequest","Accept-Language":"en-US,en;q=0.5","sec-ch-ua-mobile":"?0","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"Windows\"","Sec-Fetch-Site":"same-origin","Sec-Fetch-Mode":"cors","Sec-Fetch-Dest":"empty","Referer":"https://<<SERVER NAME>>/main/ifsapplications/web/page/DocumentRevision/Form;path=0.1743295830.780940358;$filter=%28startswith%28DocNo,'DWG-TEST'%29%29;record=KERvY0NsYXNzPSdBU1NFTUJMWSUyMERSVycsRG9jTm89J0RXRy1URVNUNi1TQVRDMzAxMDAlMkYyMCcsRG9jU2hlZXQ9JzEnLERvY1Jldj0nQTAxJyk%3D","Accept-Encoding":"gzip, deflate, br","Cookie":"JSESSIONID=cfDfhwZUOrmehbG9IYzOJLup8hK2uU4mtW9xaPOEItXCVfF_W-DL!1507574728; _WL_AUTHCOOKIE_JSESSIONID=AvihRpooMP3GfhQ-bjfR; XSRF-TOKEN=IMKQ-WHE0-W5UC-DPBZ-W832-YMK1-2K87-QBUD","ECID-Context":"1.00jOITtj51kFw0zybw0Dnz1NVMi0j^mxW0001900000uq;kXjE","Connection":"Keep-Alive","X-Forwarded-For":"10.115.4.37","X-WebLogic-KeepAliveSecs":"30","X-WebLogic-Request-ClusterInfo":"true","x-weblogic-cluster-hash":"1lGEg1Vp9MrToeW1Tlt9ZjgjsT8"} 09:01:19 INFO - RESPONSE status {"code":"200","info":"OK"} 09:01:19 INFO - RESPONSE headers {"OData-Version":"4.0","Content-Language":"en-US","Content-Type":"application/json;ieee754compatible=true;odata.metadata=full"} 09:01:19 INFO - RESPONSE body "{\"@odata.context\":\"https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/$metadata#Edm.String\",\"value\":\"Copy of TEST DWG FILE DWG-6-SATC3010020 NEW DOCUMENT NUMBER SAME FILE (ASSEMBLY DRW - DWG-TEST6-SATC30100%i4720 - 1 - A01) - 1.PDF\"}" 09:01:19 DEBUG - CMD(1): > VarLocalFilename := "Copy of TEST DWG FILE DWG-6-SATC3010020 NEW DOCUMENT NUMBER SAME FILE (ASSEMBLY DRW - DWG-TEST6-SATC30100%i4720 - 1 - A01) - 1.PDF" 09:01:19 DEBUG - CMD(1): set({"value":"${VarLocalCheckOutPath}/Temp/${VarLocalFilename}"}) 09:01:19 DEBUG - CMD(1): > VarFullFilename := "C:\Users\asevener\Documents\IFS/Temp/Copy of TEST DWG FILE DWG-6-SATC3010020 NEW DOCUMENT NUMBER SAME FILE (ASSEMBLY DRW - DWG-TEST6-SATC30100%i4720 - 1 - A01) - 1.PDF" 09:01:19 DEBUG - CMD(1): agentcall({"name":"FileExists","args": "${VarFullFilename}"],"catchErrors":false}) 09:01:19 DEBUG - CMD(1): Sent message to extension: "object Object] 09:01:19 DEBUG - CMD(1): Got reply from agent with status SUCCESS and result text FALSE 09:01:19 DEBUG - CMD(1): > VarFileExists := "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"==":g{"var":"record.VarFileExists"},"TRUE"]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): function({"name":"GetMacroInfo(DocClass=$&DocClass],DocNo=$/DocNo],DocSheet=$ DocSheet],DocRev=$"DocRev],Process='VIEW',DocumentType=$sDocTypeSelected])","projection":"DocumentRevisionHandling","bound":false}) 09:01:19 INFO - REQUEST method "GET" 09:01:19 INFO - REQUEST uri "https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/GetMacroInfo(DocClass='ASSEMBLY%20DRW',DocNo='DWG-TEST6-SATC30100%2F20',DocSheet='1',DocRev='A01',Process='VIEW',DocumentType='ORIGINAL')?odata-debug=json" 09:01:19 INFO - REQUEST protocol "HTTP/1.1" 09:01:19 INFO - REQUEST headers {"Host":"<<SERVER NAME>>","sec-ch-ua":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\"","Accept":"application/json;odata.metadata=full;IEEE754Compatible=true","X-Requested-With":"XMLHttpRequest","Accept-Language":"en-US,en;q=0.5","sec-ch-ua-mobile":"?0","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"Windows\"","Sec-Fetch-Site":"same-origin","Sec-Fetch-Mode":"cors","Sec-Fetch-Dest":"empty","Referer":"https://<<SERVER NAME>>/main/ifsapplications/web/page/DocumentRevision/Form;path=0.1743295830.780940358;$filter=%28startswith%28DocNo,'DWG-TEST'%29%29;record=KERvY0NsYXNzPSdBU1NFTUJMWSUyMERSVycsRG9jTm89J0RXRy1URVNUNi1TQVRDMzAxMDAlMkYyMCcsRG9jU2hlZXQ9JzEnLERvY1Jldj0nQTAxJyk%3D","Accept-Encoding":"gzip, deflate, br","Cookie":"JSESSIONID=cfDfhwZUOrmehbG9IYzOJLup8hK2uU4mtW9xaPOEItXCVfF_W-DL!1507574728; _WL_AUTHCOOKIE_JSESSIONID=AvihRpooMP3GfhQ-bjfR; XSRF-TOKEN=IMKQ-WHE0-W5UC-DPBZ-W832-YMK1-2K87-QBUD","ECID-Context":"1.00jOITtjRuwFw0zybw0Dnz1NVMi0j^mxW0001900000us;kXjE","Connection":"Keep-Alive","X-Forwarded-For":"10.115.4.37","X-WebLogic-KeepAliveSecs":"30","X-WebLogic-Request-ClusterInfo":"true","x-weblogic-cluster-hash":"1lGEg1Vp9MrToeW1Tlt9ZjgjsT8"} 09:01:19 INFO - RESPONSE status {"code":"200","info":"OK"} 09:01:19 INFO - RESPONSE headers {"OData-Version":"4.0","Content-Language":"en-US","Content-Type":"application/json;ieee754compatible=true;odata.metadata=full"} 09:01:19 INFO - RESPONSE body "{\"@odata.context\":\"https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/$metadata#IfsApp.DocumentRevisionHandling.MacroInfoStruct\",\"@odata.type\":\"#IfsApp.DocumentRevisionHandling.MacroInfoStruct\",\"MacroExist\":false,\"Code\":null,\"Attributes\":null,\"MainFunction\":null,\"MacroId\":null}" 09:01:19 DEBUG - CMD(1): > VarFoo := {"@odata.context":"https://<<SERVER NAME>>/main/ifsapplications/projection/v1/DocumentRevisionHandling.svc/$metadata#IfsApp.DocumentRevisionHandling.MacroInfoStruct","@odata.type":"#IfsApp.DocumentRevisionHandling.MacroInfoStruct","MacroExist":false,"Code":null,"Attributes":null,"MainFunction":null,"MacroId":null} 09:01:19 DEBUG - CMD(1): if({"expression":{"and":l{"!=":n{"var":"record.VarFoo"},null]},{"==":>{"var":"record.VarFoo.MacroExist"},true]}]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): if({"expression":{"==":r{"var":"record.Objstate"},"Obsolete"]}}) 09:01:19 DEBUG - CMD(1): > "FALSE" 09:01:19 DEBUG - CMD(1): agentcall({"name":"DownloadAndOpen","args": "${VarFileDataUrl}","${VarFullFilename}","TRUE","${VarOverwriteReadOnly}"],"catchErrors":true}) 09:01:19 DEBUG - CMD(1): Sent message to extension: Robject Object] 09:01:19 DEBUG - CMD(1): Got reply from agent with status FAILED and result text Internal Server Error 09:01:19 DEBUG - CMD(1): toast({"type":"error","msg":"Something went wrong when downloading, saving or opening the file using the Aurena Agent. Error message: ${error.Message}"}) 09:01:19 DEBUG - CMD(1): > "" 09:01:19 DEBUG - CMD(1): exit({}) 09:01:19 DEBUG - CMD(1): Done Form_FileOperationsViewDocumentCommand.
For comparison, this is what the debug window looks like when we disable the Aurena extension for this file:
There you can see what information is sent to the Aurena Agent, and how it responds.
I think you should file a support case about this so that someone from our support team can take a look in your environment together with you. There could be a bug here, but I doubt it, it’s most probably data related, but we don’t see it.