Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

BULK IMAGE IMPORT ERROR

Sort:
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author
Messages


Kyle











New Member



Posts:




New Member



    Never got a reply to my last post but already found another bug in the module:

    When try to do bulk ZIP upload of my images few things happening: first of all, the check boxes



    function as enable even if check marks are taken out.

    AND when large zip file of 95MB with images is set to upload, I get this error message:

    Error: Bulk Import is currently unavailable.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Utilities.FileSystemUtils.UnzipFile(String fileName, String DestFolder, PortalSettings settings) at Aricie.DNN.Modules.PageFlip.Import.ExtractAndMakeIt(Boolean Overwrite) at Aricie.DNN.Modules.PageFlip.Import.cmdImportAndOverwrite_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

    where smaller zip file with fewer images work without any error, but I hoped to be able to do it in one and only one time.

    Please advice on what to do? How to fix? And when is next version with all these fixes will come out?



    Deleted User











    New Member



    Posts:




    New Member



      Hi,

      the default configuration of Dotnetnuke don't allow uploading large file. There is a parameter in the web.config file,  MaxRequestLenght with the value 8192 (Ko). Please check this value and set it to a larger value.

      Cheers.

       



      Kyle











      New Member



      Posts:




      New Member



        Thanks for the help but the errors continue with:

        Error: Bulk Import is currently unavailable.
        DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Utilities.FileSystemUtils.UnzipFile(String fileName, String DestFolder, PortalSettings settings) at Aricie.DNN.Modules.PageFlip.Import.ExtractAndMakeIt(Boolean Overwrite) at Aricie.DNN.Modules.PageFlip.Import.cmdImportAndOverwrite_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

        Any idea how to fix it?



        Kyle











        New Member



        Posts:




        New Member



          YET ANOTHER ERROR FROM A DIFFERENT WEBISTE THAT USES THE SAME PAGEFLIP MODULE:

          Error: Bulk Import is currently unavailable.
          DotNetNuke.Services.Exceptions.ModuleLoadException: The DELETE statement conflicted with the REFERENCE constraint "FK_Files_Folders". The conflict occurred in database "anna", table "dbo.Files", column 'FolderID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_Files_Folders". The conflict occurred in database "anna", table "dbo.Files", column 'FolderID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.DeleteFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Services.FileSystem.FolderController.DeleteFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive, Boolean syncFiles, Boolean forceFolderSync) at DotNetNuke.Common.Utilities.FileSystemUtils.Synchronize(Int32 PortalId, Int32 AdministratorRoleId, String HomeDirectory) at Aricie.DNN.Modules.PageFlip.Import.ExtractAndMakeIt(Boolean Overwrite) at Aricie.DNN.Modules.PageFlip.Import.cmdImportAndConcatenate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---



          Deleted User











          New Member



          Posts:




          New Member



            Hi,

            thanks for your feedback. We need to know what is your DotNetNuke versions ?
            Have you error when you synchronize the files on the file manager in DotNetNuke, because the second error seems to be a problem with the database "anna".

            Waiting your answer, we're investigating on unzipping problem.

            Cheers,

             

            Aricie Team.

            You are not authorized to post a reply.
            Page 1 of 3123 > >>