Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cannot use a leading .. to exit above the top directory

I have ASP .NET application with CrystalReportViewer. When I load report into viewer i get following error:

"Error: Cannot use a leading .. to exit above the top directory."

In page source i have:

"<LINK rel="stylesheet" type="text/css" href="../../../aspnet_client/System_Web/2_0_50727/crystalreportviewers115/css/default.css">"

I thing "../../../" is cousing this error.

Why CrystalReportViewer creates this path? How can I correct this behavior?

When I run this application in other computers everything work great.

Only this one machine couse this error.

On other maschines link looks like this:

"<LINK rel="stylesheet" type="text/css" href="/aspnet_client/System_Web/2_0_50727/crystalreportviewers115/css/default.css">"

Former Member

What SP lvl are you on?

This was an issue with SP2 and was fixed in SP3.

Your other option would be to move all pages that have .NET viewer controls to the root level of the application.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question