I've got an in-house web application that generates a PDF and uses RA to create a document and attach the PDF as an electronic document. Then it takes the EntryID from that document and builds a WebLink URL and opens that in a new tab. The problem is that many times WebLink will show the following error:
If I manually browse to the document in WebLink it works just fine. In fact, if I take a browser window that's currently looking like the above screenshot and refresh it after I've manually touched the document, it starts working as well.
The error is actually an ASP.NET error that occurs when an application tries to specify a relative path that is above the root of the application.
This instance of WebLink is 8.2.1.