cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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">"

Accepted Solutions (1)

Accepted Solutions (1)

former_member184995
Active Contributor
0 Kudos

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.

Jason

Answers (0)