Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Import
Last Post 02/15/2008 9:24 PM by Peter Donker. 6 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jason Ross
New Member
New Member
Posts:8


--
12/21/2007 11:42 PM

My apologies if this question has an obvious answer, but I haven't been able to find much documentation.  It seems that the only way to "bulk upload" files in DMX 4 is to utilize the Import tool.

Since there is no upload/unzip feature in DMX 4, am I correct in thinking this is an accurate description of the process:

  1. upload and auto-extract ZIP files using File Manager
  2. point the DMX 4 Import tool to the folder location in File Manager (ex: Portals/0/docs/foldername)

If so, my (possibly ignorant) question is: does this then duplicate the files?  Should I then delete those files in File Manager?  Or, on the flip side, if I added files to that folder in File Manager, would they synch with DMX?

Thanks for any help!

Jason

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/26/2007 11:19 PM
Hi Jason,

The import of DMX creates a copy of the files. There is no sync. You can delete the extracted files afterward.

Peter
William Findley
New Member
New Member
Posts:5


--
01/15/2008 7:42 PM
I am having trouble with the import function. When I test access of the directory I get the following:


I can't access /httpdocs/Portals/0/Documents
Make sure the asp.net worker process has read permission on this folder.

asp.net worker process has full control of the httpdocs folder. What am I doing wrong?


Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/16/2008 12:48 PM
The parameter for the Import is a path that the server understands and that the IIS worker process can read. So in your case something like:
C:\httpdocs\Portals\0\Documents
Alternatively when the documents are not on the web server itself, you can access UNC paths as well using
\\fileserv\somefolder
In the latter case you'll find the whole permission issue is a bit more complex as the fileserver needs to be aware of the local IIS account of the web server.

Peter
anabelen.moro
New Member
New Member
Posts:5


--
02/14/2008 10:59 AM
Hi Peter,

I have problems with the permissions on the folders when I try to import the content, except if that folder is physically in the web server, so, as I read above, I can upload and auto-extract a ZIP file using File Manager, but I can't find that possibility. (I can Only upload a Zip file like any other.)

Could you help me with
the users who I should to give permission (Network Service // ASPNET Worker --> Of the web server I supposed ¿?) and how to find the possibility to unzip file at the same time as I upload it, please?


thanks for any help.
Ana

Chhavi
New Member
New Member
Posts:56


--
02/14/2008 7:15 PM

I am running into a slightly similar issue. I am trying to import files from another folder on the server.  I have several nested folders and files under it.  After a while the import process fails and I get the following General Exception.  Is there an easy way around it?

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value) at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) at System.Web.Caching.CacheDependency..ctor(String filename, DateTime start) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

Thanks,

Chhavi

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/15/2008 9:24 PM
@ Ana,

1. Unzipping is not yet supported in DMX 4.
2. For IIS 6 you'll need to give 'NETWORK SERVICE' access to the directory you want to import.

@ Chhavi,

The error is happening in .net so I don't think there is a workaround other than moving the import folder down to the root of your drive. DMX only imposes a max length on the title of a single folder/file, not of the whole concatenated path. That can be as long as you want. But aparently .net doesn't allow you to access such a path during import.

Peter
You are not authorized to post a reply.