Register  Login  
  February 4, 2012  
 Search
 
Foren      
DotNetNuke Forum der Deutschen DotNetNuke Community Minimize

Please be informed that all English forums are locked. You will find the new English forums while following the link.
www.schelian.com


Welcome Guest Search | Active Topics | Members

Cannot add new file - upload Options
Previous Topic · Next Topic
rolfik
Posted: Friday, September 09, 2005 11:01:49 AM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
After upgrading from DNN 3 to 3.1, I cannot longer upload new files in DNNDownload module.
The same problem is also in newer DNNPortal-Download module.
When I click Update or Cancel button on Upload user file, it simply does nothing.
I use cs-CZ locale in DNN and Upload button is translated to czech: Aktualizovat and Cancel to Storno.

Please give me some advice Idea and thank you for your good work Smile.

Marek Istvanek
SchelianHP
Posted: Friday, September 09, 2005 11:36:28 AM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
are you using a compression module ?
Which file types you try to upload ?
Did you get any messages, like "file type not supported" or anything else ?

Hans-Peter

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Friday, September 09, 2005 1:18:31 PM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
I don`t use the compression module.
I was trying to upload .exe file (about 3 MB) - no messages.
Actually taht Update (Aktualizovat) or Cancel button does nothing - when you click the browser does nothing.
I was looking into html code of that page and the button is defined like this:
<input type="submit" name="dnn:ctr542:UserUpload:btnUpdate" value="Aktualizovat" onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " language="javascript" id="dnn_ctr542_UserUpload_btnUpdate" class="normal" />

I Internet Explorer 6 sp 2 those buttons do nothing but now I have tried it in Firefox and they work.

I have found that there are some security problems on my webspace - maybe the webspace provider changed something. I must contact him.
I get something like this:
Access to the path "D:\home\root\hw024090\Portals\0\DNNPortal-Download\" is denied.
An Error Has Occurred When Attempting To Save The File
...
Actually when I tried to install DNNPortal-Download module there were some exceptions - it could not create directories and files. So I did install it by hand.

Marek Istvanek
SchelianHP
Posted: Friday, September 09, 2005 1:52:58 PM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
yes I know that problem.
The problem is that your IIS worker process does not have read permission to the root folder of the hard disc where your DNN is installed.
As long you have this permission problem, DNNPortal-Download will not work properly.

Please let me know what happens after solving that security problem.

best regards

Hans-Peter

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Monday, September 12, 2005 7:34:23 AM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
What do you mean by IIS worker process. Is it ASPNET user account on WinXP (Account used for running the ASP.NET worker process (aspnet_wp.exe))?
This account has read/write permission for all folders and files on my DNN portal.
I have asked web space provider to check the read permission for root folder of disk for IIS worker process.

Marek Istvanek
SchelianHP
Posted: Monday, September 12, 2005 7:51:37 AM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
yes the IIS worker process, apsnet_wp.exe on w2k or w3wp.exe on w2k3.
The default settings for w2k is the ASP.NET user and for w2k3 systems are Network.service.

And your problem sound like that the user of your worker process does not have the necessary permission to D:\home\root\hw024090\Portals\0\DNNPortal-Download\.

This can appear if:
- The IIS worker process does have full access to your portal home directory D:\home\root\hw024090\Portals\0 (and sub dirs)
- The IIS worker process does have read access to the root D:

The error message you post
Quote:
Access to the path "D:\home\root\hw024090\Portals\0\DNNPortal-Download\" is denied.
An Error Has Occurred When Attempting To Save The File

is unambiguous, there is a security issue.

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Monday, September 12, 2005 3:28:51 PM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
According to web space provider - ASPNET user account has full access to DNN portal folders and files and read permission to disk root folder.
I have tried to install the module again and now it is done OK automatically through DNN host menu.
But behaviour is still the same:
In Upload New File Update and Cancel buttons do not work in IE 6sp2.
They work partially in Firefox:
If I specify Title and Description - Update button does it OK.
When I add file path to be uploaded, then Firefox says after clicking on Update or Cancel:
"Document contains no data."
When In Firefox and Edit DNNPortal-Download Item and specifying file path - after clicking Update or Cancel:
"Document contains no data."
In IE the last action with Update button results in Cannot display page.
File path was: d:\Temp\Jet40SP8_XP.exe (2 966 624 bytes).

In firefox I could upload BMA-E-108.xls file (20 kB) even after renaming to Jet40SP8_XP.exe.
So the size of uploaded file does matter but I have 4096 Max. Upload Size in module settings.

Marek
SchelianHP
Posted: Monday, September 12, 2005 3:34:04 PM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
are you using Internet Securiry from Norton, or Zone Alarm ?
If yes, which version ?

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Monday, September 12, 2005 3:56:22 PM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
No. Only NOD32 2.5 - on WinXP sp2.
SchelianHP
Posted: Monday, September 12, 2005 3:59:01 PM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
could you setup a user account for me, so that I can have a look at the problem ?

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Tuesday, September 13, 2005 7:00:47 AM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
Hans,
go to[url]http://www.astra92.cz[/url] and login using user name SchelianHP and the same password.
Then go to Test page and test...

Marek
SchelianHP
Posted: Tuesday, September 13, 2005 7:48:06 AM

Rank: Administrator
Groups: Administration

Joined: 12/4/2004
Posts: 2,211
Location: Alzey Im schönen Rheinhessen
Marek,
I have visited your site, and I must confirm, that I have exactly your described problem.
Currently I don't have any idea what happens.
But I would like to investigate what happens.
Do you have any chance to provide me with a backup of your database as well as a zip of your dnn installation for download ?
If yes you can send me a PM with a link.
I will then try then to solve the problem.

Beste Grüße

Hans-Peter
DnnPortal.De Deutsche DotNetNuke Community
Homepage Deutsch
Homepage English
HP's Blog

rolfik
Posted: Tuesday, September 20, 2005 11:58:14 AM
Rank: Mitglied
Groups: Member

Joined: 9/9/2005
Posts: 7
Location: Czech Republic
I have updated my[url=http://www.astra92.cz]www.astra92.cz[/url] portal to DNN 3.1.1, removed DNNPortalDownload module and installed it again without any error.
My older DNNDownload modules on pages where updated according to DNNPortalDownload install log, but they do not work. Have a look eg.[url]http://www.astra92.cz/Software/Kestažení/Demoverze/tabid/75/Default.aspx[/url] at the bottom.
I have also removed DNNDownload module.

While testing DNNPortalDownload on Test page, I have found that I can Upload files smaller than 1 MB but only in Firefox, because Upload/Cancel button does not work in IE.

I do not want to pay my web space provider for DNN database backup so I cannot send you the backup now. Is there any way how to backup/export DNN database for you remotely when I have access to it?

Please help me, because my boss wants to fix this problem to serve our customers.

Or should I use any similar DNN module for uploading/downloading?

Marek Istvanek
Users browsing this topic
Guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum Rss Feed : RSS

Yet Another Forum.net version 0.9.9 running under DotNetNuke.
Copyright © 2003-2004 Yet Another Forum.net. All rights reserved.

  

  Home | Informationen | Verzeichnis | Downloads | Foren | Module | Weblog | Kontakt | Artikel  
  (c) 2002 - 2005 Schelian IT Beratung   Terms Of Use | Privacy Statement