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

Bring2mind Forums

Critical Error during ZIP file upload
Last Post 01/07/2014 7:54 PM by Han. 6 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Hutch
New Member
New Member
Posts:10


--
08/07/2013 7:47 PM
Hi Peter,

My client was uploading a zipped payroll folder and got a "critical error has occurred" message. I checked the event log and found the following page load exception:


AssemblyVersion: 6.2.5

PortalID: 0

PortalName: Sutco Contracting, Ltd.

UserID: 36

UserName: crodger

ActiveTabID: 158

ActiveTabName: Payroll

RawURL: /Staff/Payroll.aspx?Command=Core_Edit&CollectionId=1&EntryType=File

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.sutco.ca/Staff...nId=1&EntryType=File

UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 76eb78e7-443c-4430-8216-af74199ca589

InnerException: Could not find file 'C:\inetpub\vhosts\sutco.ca\httpdocs\Portals\0\DMX\Upload\20130807102625_1316216e0b4a4a919b1662ab4980b414.resources'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.IO.__Error.WinIOError

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not find file 'C:\inetpub\vhosts\sutco.ca\httpdocs\Portals\0\DMX\Upload\20130807102625_1316216e0b4a4a919b1662ab4980b414.resources'. ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\vhosts\sutco.ca\httpdocs\Portals\0\DMX\Upload\20130807102625_1316216e0b4a4a919b1662ab4980b414.resources'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at Bring2mind.DNN.Modules.DMX.Services.Upload.UploadControl.StoreFiles() at Bring2mind.DNN.Modules.DMX.Edits.EditEntryPB.ᜀ() at Bring2mind.DNN.Modules.DMX.Edits.EditEntryPB.ᜀ(Object A_0, EventArgs A_1) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: D137

I checked an it looks like the documents actually did upload into the proper employee folders. Just wondering if you might have an aide about what would cause this?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/08/2013 12:32 PM
Hi Hutch,

If we look at the error in more detail we notice this:

Could not find file 'C:\inetpub\vhosts\sutco.ca\httpdocs\Portals\0\DMX\Upload\20130807102625_1316216e0b4a4a919b1662ab4980b414.resources

Now. The DMX\Upload folder is where files first go when they're uploaded. This is like a temporary "hold" for files while the user walks through the input screen specifying certain details. When the user is done, he/she clicks "Finish" and DMX moves the file from this temporary place to the storage provider (or it's just deleted if cancel is clicked). The above error happened when the user had clicked "Finish" during the phase of uploading to the storage provider. More specifically it happened right at the start as DMX was trying to determine the file length. These are the potential causes of this:
- The disk permissions are such that DNN/DMX cannot write to the mentioned folder. It would mean that users cannot upload a single file.
- Some process on the server is running and interfering. For instance, determining the file is a "hack" and deleting it before DMX can get hold of it again.

Normally I can't see how, after this error, the module could appear to have uploaded the file (I'm assuming you're on a recent 6.1 version of DMX). Are you positive this is the case? Are you on DMX 6.1.5?

Peter
Hutch
New Member
New Member
Posts:10


--
08/08/2013 3:10 PM
Hi Peter,

I am running DMX 6.1.4 on this site.
So if the client clicked on the Finish button just before all the files were uploaded/unzipped this error could occur? I could see her doing that. She has a pretty fast trigger finger! ;)

I did not look at all of the employee files that were uploaded but the few that I did were in fact there. I will investigate that further.
Hutch
New Member
New Member
Posts:10


--
08/08/2013 3:13 PM
This process has worked fine on several previous occassions and so I am reluctant to think the system saw the Upload file as a hack and stopped it.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/09/2013 1:21 PM
The error would appear when she's clicked finish.

To further debug I suggest you do the following: upload a file and before clicking finish you check on disk the files present in that upload folder. Are there any there? Now click finish. Do you see the error? What happened to the files? Does the file actually download from DMX?

Best,

Peter
Han
New Member
New Member
Posts:10


--
01/07/2014 7:22 PM
Peter:

I'm experiencing the same error. I tried to upload pdf and image files to 2 different instances of DMX modules, and got the same error. I checked 2 things: 1. User permissions should be good. The "Network Service" account has full permission on the DNN root and subfolders. 2. I checked to see if there was any file uploaded into the "Upload" folder once a file has been uploaded, but hasn't clicked on "Update" yet within the module, sure enough, there was no file there. So somehow the uploaded file is not being put into the upload folder.

Our current DMX version is 6.1.3. DNN is 7.1.1. Please help, as no files can be uploaded to any DMX modules right now. Thanks.

Han

--------------------------------------------
AssemblyVersion: 7.1.1
PortalID: 311
PortalName: Development
UserID: 750
UserName: zhan_su
ActiveTabID: 13763
ActiveTabName: Documents
RawURL: /Desktop/Documents.aspx?Command=Core_Edit&CollectionId=5224&EntryType=File
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://development.mysour...=5224&EntryType=File
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: 7fbe0d54-566f-48f7-994f-afe82f9ad73a
InnerException: Could not find file 'D:\webpub\MySource\Portals\311\DMX\Upload\20140107120419_e8dac72ddeb34a2e8d5cd799d6f79c2b.resources'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not find file 'D:\webpub\MySource\Portals\311\DMX\Upload\20140107120419_e8dac72ddeb34a2e8d5cd799d6f79c2b.resources'. ---> DotNetNuke.Services.Exceptions.PageLoadException: Could not find file 'D:\webpub\MySource\Portals\311\DMX\Upload\20140107120419_e8dac72ddeb34a2e8d5cd799d6f79c2b.resources'. ---> System.IO.FileNotFoundException: Could not find file 'D:\webpub\MySource\Portals\311\DMX\Upload\20140107120419_e8dac72ddeb34a2e8d5cd799d6f79c2b.resources'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at Bring2mind.DNN.Modules.DMX.Services.Upload.UploadControl.StoreFiles() at Bring2mind.DNN.Modules.DMX.Edits.EditEntryPB.ᜀ() at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: MySrc-www-01
Han
New Member
New Member
Posts:10


--
01/07/2014 7:54 PM
Peter,

Never mind. I found a work around. I just had to switch the upload provider from the SilverLight one to the RadUploadProvider in Control Panel. I'm sure the issue was due to file permissions issues related to SilverLight.

Han
You are not authorized to post a reply.