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

Bring2mind Forums

Open in Windows Explorer >> DNN General Exception
Last Post 10/28/2009 4:48 PM by Peter Donker. 8 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tim Johnston
New Member
New Member
Posts:14


--
06/25/2009 2:35 AM

Hi Peter, I've been testing/evaluating DMX 5.1.1 and I get an exception logged on the portal when trying to access webdav (see exception info below). I'm running DMX 5.1.1 on DNN 4.9.3, on occasion it works and I can open a doc in word via the context menu in DMX and/or access files via Windows Explorer, but other times I get the exception and have no luck. I've tried accessing webdav on seperate clients (XP SP2) and I've double checked all the settings (both IIS6, .axd mappings and client side ActiveX/zone mappings) - any ideas?

Thanks, TJ

 

AssemblyVersion: 04.09.03
PortalID: 3
PortalName: My Portal
UserID: -1
UserName:
ActiveTabID: 101
ActiveTabName: Home
RawURL: /dmxdav.axd
AbsoluteURL: /dmxdav.axd
AbsoluteURLReferrer:
UserAgent: Microsoft-WebDAV-MiniRedir/5.1.2600
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5b31821c-4137-4a01-90b7-6fa95832fec6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Users.UserController.GetPassword
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Users.UserController.GetPassword(UserInfo& user, String passwordAnswer) at Bring2mind.DNN.Modules.DMX.WebDAV.DigestAuthentication.ᜀ(String A_0, String& A_1, String[]& A_2) at Bring2mind.DNN.Modules.DMX.WebDAV.DigestAuthentication.ᜁ() at Bring2mind.DNN.Modules.DMX.WebDAV.DigestAuthentication..ctor(DigestAuthenticationRequest request) at Bring2mind.DNN.Modules.DMX.WebDAV.AuthenticationModule.ᜁ(Object A_0, EventArgs A_1)
Source:

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/30/2009 11:01 PM
Hi Tim,

Something fishy with the authentication is happening. Are you using something else to authenticate the user? The WebDAV call does not pass through the regular DNN logic so DMX WebDAV has to handle this itself. The upside is that I implemented digest authentication which is a lot safer than the default for DNN. But whatever DMX webdav does, it needs to check a login. And the error seems to come from there. Can you shine some light on that?

Peter
Tim Johnston
New Member
New Member
Posts:14


--
07/08/2009 5:28 PM

Unfortunately no, I can't shed any light on it.

Its a pretty standard DNN instance (4.9.3) using the standard DNN authentication (all other providers have been removed) - there really isn't anything complicated going on at all... I've tried authenticating with the host and admin accounts and I get the same error - yet at times it will work....

TJ

Tim Johnston
New Member
New Member
Posts:14


--
07/08/2009 5:40 PM

One other thing I should mention is I am using XP SP3 and the built in Windows WebDav client (mapping a drive) when I see the error, yet I just fired up BitKinex and had no problem using WebDav...

TJ

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
07/08/2009 8:56 PM
Hi Tim,

Beats me. The error actually occurs inside DNN, not DMX. To authenticate the user, the code goes to DNN to ask for the user and his/her password to check. DNN decodes those from the database. That is where the error happens. Never seen that before. Maybe try the DNN forums for this one.

Peter
Brian Cogswell
New Member
New Member
Posts:23


--
10/27/2009 3:39 PM
I am getting the same error in the Event Viewer. I did have a module installed for authentication that re-directs to an external database for authentication. I uninstalled that module and am still getting this error. Regardless, the Host account has the username and password in DNN and it is still challenging me to authenticate. Tim, did you ever get this working?
Tim Johnston
New Member
New Member
Posts:14


--
10/27/2009 3:44 PM
Hi Brian, I can't remember exactly where I went with this, but we I found was the integrated windows webdav client just doesn't place nicely with DMX. Ultimately I started to use an alterate webdav client and I've been happy since.. It doesn't have the drive mapping like some other products but I've had good luck with the BitKinex client (http://www.bitkinex.com/download.php) and it's free - hope that helps!

TJ
Brian Cogswell
New Member
New Member
Posts:23


--
10/27/2009 9:24 PM
Thanks for the reply. I am still getting the error message, but interestingly enough, I am able to open the files when I am not logged in as Host. If I log in as another user I am able to Open in Windows Explorer and Open in Word. I am also able to drag files from a Windows Explorer window to the DMX Windows Explorer. However, when I am logged in as Host I get prompted for credentials. I was using the same client for both.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/28/2009 4:48 PM
Note that the host account has no roles in a DNN portal. Host accounts should not be used for testing IMO.

Peter

PS Thanks for the link to the free client, Tim. Good idea. I always advise customers that are stuck with a complex WebDAV scenario to just try an alternative client. Windows has a very shaky inbuilt WebDAV support.
You are not authorized to post a reply.