New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumThe file The file '/LinkClick.aspx' does not exist. dnn: 5.5.1
New Post
1/29/2011 7:49 AM
I uploaded some files to post. When I try to download it, but the site throws the following exception:
1/29/2011 5:28:26 AM   Page Load Exception   admin     AssemblyVersion: 5.5.1; PortalID: 0; PortalName< ...
AssemblyVersion: 5.5.1
PortalID: 0
UserID: 2
UserName: admin
ActiveTabID: 62
ActiveTabName: Forums
RawURL: /LinkClick.aspx?fileticket=toTRWs8ggbI%3d&tabid=62&mid=383&forcedownload=true
AbsoluteURL: /LinkClick.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.642.2 Safari/534.16
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 92a0a687-2786-43aa-aa2d-d230eaaa9a34
InnerException: The file '/LinkClick.aspx' does not exist.
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
Message: DotNetNuke.Services.Exceptions.PageLoadException: The file '/LinkClick.aspx' does not exist. ---> System.Web.HttpException: The file '/LinkClick.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Server Name: LOTUS

I searched some posts related with this issue, but there solutions can't work with my condition.
My settings as the following:
  • DNN version : 05.05.01 , the version is directly installed from empty.
  • There is actually the configuration in web.config for the linkclick.aspx : 
<add verb="*" path="LinkClick.aspx" type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv4.0"/>
  • ASP.NET: 4.0(integrated Pipeline)

To repro this issue, just to to the post:
And try to download the attachments.

Please give some suggestions.
Thanks very much!

Gratitude is a way of living.

New Post
1/29/2011 9:58 PM
In the most recent versions of dnn the file linkclick.aspx no longer exists as a physical file
 - instead it is now a dynamic reference that is managed by the dnn http handler.

I would suggest that you upgrade both your dnn and your forum module to the latest versions ... as at a guess you have a situation where the version of the forum is not compatible with your current version of dnn.

This is especially the case if you are running your site under 4.0 - which has a number of known issues with older versions of dnn.


New Post
1/30/2011 3:32 AM
Hello Wes.
Thank you very much for your response.

My forum module is the latest version.
And I tried to upgrade my site to 5.6.1 (current is 5.5.0). But it throws upgrade log errors and the site is inaccessible anymore.
Details error I have logged here:
In the DNN forum I can't find the error fix solution either.
At last all I can do is roll back.

Thanks again.

Gratitude is a way of living.

New Post
1/30/2011 7:33 AM
For us the telerik install problems were caused by a version mismatch in the Telerik.Web.UI.dll file in the update package.

After the dnn 5.6.1 upgrade completes

I seem to recall we had to manually install the tererik file into the bin folder on the website - once we did that the site came up correctly.

We unpacked the DNN version and copied the Telerik.Web.UI.dll from that install into our live site.

We also had to fix the version numbers in the web.config 
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
     <bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2010.02.0929.35" />

Make sure the newVersion= field matches the version of the Telerik.Web.UI.dll file in your bin.


New Post
1/31/2011 12:55 AM
Thanks Wes.

I have tried the upgrade to 5.6.1 again.
And do your suggestion to update the assembly of Telerik.Web.UI, including the web.config updating.
Now the website works.

But the I checked that the issue still exits that cant't download the attachment.
I setup the upgrade test site to investigate this issue.
To repro this issue here:

The error page throws the following exceptions:

Server Error in '/' 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: /LinkClick.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Gratitude is a way of living.

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumThe file The file '/LinkClick.aspx' does not exist. dnn: 5.5.1

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out