Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Secure File Folders Not providing URLSecure File Folders Not providing URL
New Post
3/27/2014 4:25 PM

I have a new 7.2.1 DNN installation.

I created a new Secure Folder and uploaded a file using the file manager.

If I right click on file after upload >> select "Get Url"

and I get a message that states "An error occurred while getting the url".

I upgraded to 7.2.2 and still have the issue.

Not really certain where to go from here and would appreciate any help. I tried the same process with a folder that wasn't secure and it worked fine.

The exception in the event log states.

DotNetNuke.Services.FileSystem.FolderProviderException: The underlying system threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.Common.Utilities.UrlUtils.EncryptParameter(String value, String encryptionKey)
   at DotNetNuke.Common.Globals.LinkClick(String Link, Int32 TabID, Int32 ModuleID, Boolean TrackClicks, Boolean ForceDownload, Int32 PortalId, Boolean EnableUrlLanguage, String portalGuid)
   at DotNetNuke.Services.FileSystem.FileLinkClickController.GetFileLinkClick(IFileInfo file)
   at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file)
   --- End of inner exception stack trace ---
   at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file)
   at DotNetNuke.Modules.DigitalAssets.Services.ContentServiceController.GetUrl(GetUrlRequest request)
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)


New Post
5/14/2014 8:45 AM

check your web.config, I think the CoreCryptographyProvider is missing:

 <section name="cryptography" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />

<cryptography defaultProvider="CoreCryptographyProvider">
<clear />
<add name="CoreCryptographyProvider" type="DotNetNuke.Services.Cryptography.CoreCryptographyProvider, DotNetNuke" providerPath="~\Providers\CryptographyProviders\CoreCryptographyProvider\" />

Willem Bonekamp - Webdeveloper/Projectmanager - I have been building Web Solutions using DNN from the beginning in 2002

DNN Services: Websites | Design | Skinning | Custom Modules | Hosting | SEO | Mobilty
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Secure File Folders Not providing URLSecure File Folders Not providing URL

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?