Search
Register
Login
Today: 09/12/2005 we have setup our new dedicated English forum.
From today on, please use this forum instead of the English forums on DNNPortal.DE.
I will lock the English forums on DNNPortal.DE.
Server Error in '/' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] HPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgs e) +226 [ModuleLoadException: S'ha produït un error.] DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control UserCtrl, Exception exc) +289 DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control UserCtrl, Exception exc) +42 HPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgs e) +281 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ----------------------------------And in register of dnn show: AssemblyVersion: 04.09.00PortalID: -1PortalName: UserID: -1UserName: ActiveTabID: -1ActiveTabName: RawURL:/DesktopModules/DNNPortal-Download/Downloader.aspx?TabID=387&file=DNNPortal-Download/alek6/xxx-08_xxx-xxx.c53174a7-efcc-4943-b8e9-bdccc5f07ecf.pdf.resources&as= xxx-08_xxx-xxx .pdfAbsoluteURL: /DesktopModules/DNNPortal-Download/Downloader.aspxAbsoluteURLReferrer: http://xxxxxxxxxxx.com/Default.aspx?tabid=387UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ca; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProviderExceptionGUID: e19c7513-a50c-441f-a388-017395800511InnerException: Unhandled Error: FileName: FileLineNumber: 0FileColumnNumber: 0Method: HPS.DNN.Modules.Download.Downloader.Page_LoadStackTrace: Message:System.Exception: Unhandled Error: --->System.Web.HttpUnhandledException: Exception of type'System.Web.HttpUnhandledException' was thrown. --->DotNetNuke.Services.Exceptions.ModuleLoadException: S'ha produït unerror. ---> System.NullReferenceException: Object reference not setto an instance of an object. atHPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgse) --- End of inner exception stack trace --- atDotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(StringFriendlyMessage, Control UserCtrl, Exception exc) atDotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(ControlUserCtrl, Exception exc) atHPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgse) at System.Web.UI.Control.OnLoad(EventArgs e) atSystem.Web.UI.Control.LoadRecursive() atSystem.Web.UI.Page.ProcessRequestMain(BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace --- atSystem.Web.UI.Page.HandleError(Exception e) atSystem.Web.UI.Page.ProcessRequestMain(BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) atSystem.Web.UI.Page.ProcessRequest(BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) atSystem.Web.UI.Page.ProcessRequest() atSystem.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) atSystem.Web.UI.Page.ProcessRequest(HttpContext context) atASP.desktopmodules_dnnportal_download_downloader_aspx.ProcessRequest(HttpContextcontext) atSystem.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously) --- End of inner exception stacktrace ---Source:
I am having almost the same problem using the module with DNN 4.9.
The crash error is as follows,
An error has occurred. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not find file 'E:\0\1\14\47\1829210\user\1983999\htdocs\Portals\3\DNNPortal-Download\host\ht2409ba1d-d8ae-424b-ac68-dc20c452c6ea.doc.resources'. ---> System.IO.FileNotFoundException: Could not find file 'E:\0\1\14\47\1829210\user\1983999\htdocs\Portals\3\DNNPortal-Download\host\ht2409ba1d-d8ae-424b-ac68-dc20c452c6ea.doc.resources'. File name: 'E:\0\1\14\47\1829210\user\1983999\htdocs\Portals\3\DNNPortal-Download\host\ht2409ba1d-d8ae-424b-ac68-dc20c452c6ea.doc.resources' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at HPS.DNN.Modules.Download.Downloader.DownloadBigFile(String FilePath, String DownloadAs) --- End of inner exception stack trace ---
After some investigation, I found out that the module is storing the specified file in the root of the dnn installation instead of the specified path i.e "\portal\portalNo\DNNPortal-Download\host\".
Any suggestions/help cause this module really fits my need.
Thanks in advance.
Page generated in 0.1249976 seconds.