Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ForumsRepositoryRepositoryERROR in repository: The argument ERROR in repository: The argument 'fileName' cannot be null or empty. Parameter name: fileName
Previous
 
Next
New Post
6/8/2012 12:26 PM
 

I've just upgraded to DNN 6.1 and upgraded Repository to v3.5 (on our development server).

When we go to the Repository Module and upload a new item, we get this error message:

The argument 'fileName' cannot be null or empty. Parameter name: fileName

Even the upload button is no longer visible.

 
New Post
6/13/2012 4:39 AM
 

sorted now - I changed something in one of the repository files: in template.html

changed something like [CONTROLTOFILE] to just [FILE]

 

 
New Post
7/3/2012 5:44 AM
 

the above only worked for a template which was not using categories.

for a template using categories (Directory template), chaning [CONTROLTOFILE] to simply [FILE] did not work.

I get the same error.
I even tried making a copy of the working template and then tried applying to it the repository which gave me this error - but that didn't work (may be because it already has files associated with a category). I even tried adding categories to it later, but still did not work.

I still get this error: The argument 'fileName' cannot be null or empty. Parameter name: fileName

and cannot upload a new document.

 
New Post
7/3/2012 7:16 AM
Accepted Answer 
I have started again with the 'default' template and modified it. Now works ok.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryERROR in repository: The argument ERROR in repository: The argument 'fileName' cannot be null or empty. Parameter name: fileName


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