You are viewing limited content. For full access, please sign in.

Question

Question

Weblink8 Browsing.aspx Error - CANNOT OPEN ELECTRONIC DOCUMENTS

asked on July 7, 2014 Show version history

Performing a simple Search (using the search dialog box) renders a result list that allows the user to open electronic documents in their native application(s) (word, ppt, pdf, etc. -- any electronic document...)

 

An example of a URL that does open is:

 

https://www.domain.comt/weblink8/ElectronicFile.aspx?docid=483610&dbid=0

 

Browsing on the other hand is a problem.  I am able to Browse and see Folders and Files, but am not able to open any of them. 

 

Hovering over an electronic file shows this link:

 

https://www.domain.com/weblink8/0/doc/483610/Electronic.aspx

 

However, if you click on the link you receive the following error: 

 

https://www.domain.com/WebLink8/Error.aspx?aspxerrorpath=/weblink8/0/doc/483610/Electronic.aspx

 

"The system has encountered an error and could not complete your request.  If the problem persists, please contact the site administrator."

 

My customers rely on the browse feature and are at a loss without it.

 

 

0 0

Answer

APPROVED ANSWER
replied on July 10, 2014 Show version history

This issue was resolved by changing WebLink's application pool to use the classic managed pipeline mode.

 

Wes - Michael passes along his gratitude.

1 0

Replies

replied on July 7, 2014

Michael,

 

 Does this happen in different types of browsers with your client or are they all on one type of web browser?

 

I ask because this sounds like a redirect issue and certain browsers have been known to cause this type of error with WebLink.

0 0
replied on July 7, 2014

Thanks for the response,

 

It is happening in all browsers.

 

I created a number of Bookmarks as well and when clicked upon produce an empty result with a message on the left (under the home link) as:  Unable to retreive metadata : Permission denied.

 

It seems that I'm receiving 'Permission Denied' on all Bookmarks and Search Forms.

 

The only thing that seems to work is performing a search and opening a document from the search.

 

 

0 0
replied on July 7, 2014

This almost sounds like there is an issue with the IIS URL Rewriter module. Can you verify that it is installed?

0 0
replied on July 7, 2014

Adding on to this can you access a folder if you change the startid to match a folder ID on the server?

 

Example:

 

http://www.domain.com/WebLink8/Browse.aspx?dbid=0&startid=1017&row=1

 

0 0
replied on July 7, 2014

You may want to open a support case; this is likely to be a configuration issue.

 

One thing you could check is that the app pool user for the WebLink8AppPool has permissions to the WebLink temp directories (such as C:\Program Files\Laserfiche\WebLink 8\tempDirectory ).

 

 

0 0
replied on July 7, 2014

Hi Wes,  I appreciate your attention to this.

 

I've attached a screenshot of my existing url_rewrite setting and tested the other link that you provided.  The link took me to the folder but failed on opening any link(s).

 

Michael

url_rewrite.png
url_rewrite.png (111.18 KB)
0 0
replied on July 7, 2014

Unfortunately I am not at my computer but a quick glance at your screenshot leads me to believe that the WebLink application has inherited some rewrite rules which are not a part of WebLink and this is what is causing the problem.

 

My advice is to open the WebLink web.config file and make sure that the <rewrite> section does not contain what you see in IIS. If you happen to have another install of WebLink then compare the two web.config files (again, I would send you a sample but not at my computer).

 

Also, you may want to remove all of those rules (backup first) from IIS to see if that clears up the problem.

0 0
replied on July 8, 2014
<rewriter>
<rewrite url="^~/PDF/(.*)/(.*)/(.*).pdf" to="~/PDFExporter.aspx?ses=$1&amp;f=$2&amp;fn=$3.pdf&amp;t=0" />
<rewrite url="^~/(.*)/fol/(.*)/Row(.*).aspx" to="~/Browse.aspx?dbid=$1&amp;startid=$2&amp;row=$3" />
<rewrite url="^~/(.*)/doc/(.*)/Page(.*).aspx(\??)(.*)" to="~/DocView.aspx?dbid=$1&amp;id=$2&amp;page=$3&amp;$5" />
<rewrite url="^~/(.*)/doc/(.*)/Electronic.aspx(\??)(.*)" to="~/ElectronicFile.aspx?dbid=$1&amp;docid=$2&amp;$4" />
<rewrite url="^~/(.*)/doc/(.*)/ExportReason.aspx(\??)(.*)" to="~/ExportReason.aspx?dbid=$1&amp;docid=$2&amp;$4" />
<rewrite url="^~/(.*)/doc/(.*)/Attachment(.*)-(.*).aspx" to="~/AnnotationAttachmentFile.aspx?dbid=$1&amp;docid=$2&amp;page=$3&amp;annIndex=$4" />
</rewriter>

 

0 0
replied on July 8, 2014

Hi Wes,

 

I've checked and updated the web.config file.  Now when I browse to a folder and click the electronic file, I arrive at the document viewer.

 

I can view the document, but cannot download the pdf.  the download file link is:  https://www.msiac.nato.int/WebLink8/DocView.aspx?id=483610

 

 and renders the following error:

 

Server Error in '/WebLink8' Application.


The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /WebLink8/0/doc/483610/Electronic.aspx

 


Version Information: Microsoft .NET Framework Version:2.0.50727.5477; ASP.NET Version:2.0.50727.5483

 

 

0 0
replied on July 8, 2014

Michael you might want to investigate if the account that you are using with WebLink has export rights to download the PDF.

 

https://support.laserfiche.com/KB/1013473

 

And just to be sure you have corrected the problem with browsing and being able to click on folders correct?

0 0
replied on July 10, 2014

Michael,

 

Does this issue occur for any user that logs into WebLink or only specific users? Specifically, I'm curious about whether the current user that gets the error is one that does not have the export feature right granted in the Laserfiche Administration Console. As a test, can you try logging into WebLink as a different user, one that does have the export feature right, and then seeing if the same issue occurs or not?

 

Regards

0 0
replied on September 29, 2015 Show version history

I was getting the same messages when i upgraded Laserfiche 8.0 to 9.0, changing application pool to classic did not work for me. I had to repair URL Rewrite and it start working again.  I repaired by running the file "rewrite_2.0_rtw_x64" located in Laserfiche Installation> en-US>Support folder. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.