DotNetNuke ® Portal and Module Development - www.schelian.com

 Search



Forum


 Forum update Minimize

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.



 Forum Minimize
SearchForum Home
     
  DNNPortal-Download  Using the DNNPortal-Download  crash on clik d...
 crash on clik download item in dnn_4.9, asp Server Error App
 
imgOfflinealek6
5 posts
Joined
12/15/2008

crash on clik download item in dnn_4.9, asp Server Error App
Posted: 15 Dec 08 6:27 PM (N/A) Modified By alek6  on 12/15/2008 6:34:39 PM)


I install module good, and upload a simple pdf file so good too, but when click on dowload link application crash, and show this error in localhost or register envents list:
				
						

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.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
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 .pdf
AbsoluteURL: /DesktopModules/DNNPortal-Download/Downloader.aspx
AbsoluteURLReferrer: http://xxxxxxxxxxx.com/Default.aspx?tabid=387
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ca; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e19c7513-a50c-441f-a388-017395800511
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: HPS.DNN.Modules.Download.Downloader.Page_Load
StackTrace:
Message:
System.Exception: Unhandled Error: --->
System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
DotNetNuke.Services.Exceptions.ModuleLoadException: S'ha produït un
error. ---> System.NullReferenceException: Object reference not set
to an instance of an object. at
HPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgs
e) --- End of inner exception stack trace --- at
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String
FriendlyMessage, Control UserCtrl, Exception exc) at
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control
UserCtrl, Exception exc) at
HPS.DNN.Modules.Download.Downloader.Page_Load(Object sender, EventArgs
e) at System.Web.UI.Control.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace --- 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.ProcessRequestWithNoAssert(HttpContext context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.desktopmodules_dnnportal_download_downloader_aspx.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:
 
imgOfflineSchelianHP
118 posts
5th
Joined
12/3/2004





Re: crash on clik download item in dnn_4.9, asp Server Error App
Posted: 16 Dec 08 8:19 AM (N/A)
I'm sure this is not a general problem with DNNPortal-Download and DNN Version 4.9.X.
I have installed (and I now from a lot of installations) of DNNPortal-Download on DNN 4.9 Systems.
If I understand your installation right, you have installed the system on a local computer.
The best idea would be to install the source version and debug the problem on the local computer, so it should be easy to find the problem with your installation.

regards
HP

Best regards
Hans-Peter Schelian
www.schelian.com (English)
www.schelian.de (Deutsch)
German DotNetNuke Community
imgOfflinealek6
5 posts
Joined
12/15/2008

Re: crash on clik download item in dnn_4.9, asp Server Error App
Posted: 16 Dec 08 7:51 PM (N/A)
Is not installed on my local computer, is installed on adomain alowed in VPS host, also can i access via terminal services. The vps system are win2003 server, and sql express 2005.
I will try install source version on dnn-portal download, but i don't know very well how to debug this error produce.

imgOfflineglance
1 posts
Joined
7/6/2009

Re: crash on clik download item in dnn_4.9, asp Server Error App
Posted: 06 Jul 09 5:32 PM (N/A)

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.

 

  DNNPortal-Download  Using the DNNPortal-Download  crash on clik d...


Page generated in 0.1406223 seconds.