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

Bring2mind Forums

WebDAV and hosting
Last Post 04/17/2008 4:55 PM by Peter Donker. 17 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Arick
New Member
New Member
Posts:64


--
03/28/2008 10:13 PM

Today in my on going attempt to get DMX 4 installed I preformed an upgrade on our DNN installation and upgrade DMX from 3 to 4 as well.  The upgrade was a success however I am unable to use WebDAV from our web server which is being housed at a hosting company.  I am able to create new folders, and add new files to that folder but I am unable to use WebDAV to open up the file.  I am prompted for a username and password, and I have tried using my DNN and network logins and I am still unable to reterive the document.  Our documents are being sored as .resources and are located in an external directory from the website, but the network service account has modify to both the document and dnn installation folder, as well as all sub directores.  I have verified all the necessary config settings are in place and that IIS is setup correctly as per your installation documentation.  Are you aware of anything that needs to be setup on our firewall to allow for WebDAV to work and/or is there anything else that can be done to trouble shoot this?

Thanks,

Arick Helmlinger

-----------------------------------------------------------------------------------------------

The following is what  get from fiddler if you need this informaiton: 

Session before the last call before failure:

LOCK /dmxdav.axd/Arick%20Test%20Folder/Document%20Exchange%204%20Getting%20Started.doc HTTP/1.1
Content-Language: en-us
Accept-Language: en-us
Content-Length: 183
Timeout: Second-180
Translate: f
Content-Type: text/xml
Depth: 0
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: datest.dearbornadvisors.com
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: .ASPXANONYMOUS=9P4mk4nHyAEkAAAAMWU4MGEzN2MtNzM4OS00ZGU3LThhZTItN2Q5ZDRjZjg0ZWJm0; dmxdavcookie=FB5490AA040491756ECD3A936D143AC4A9EF032DBCC23D83E0409BAD937FC3D3CD9F5336B015C3681CDC5FEA898B1B17816C3A48278832BE23B7C62052A61F700853DAA41A126D39C74B32A2691E0125510426F2866E3C41C6F8BDD68F4267965A5ADEA7F66B0A3C; portalaliasid=CB6060482C34E986A1922330373D096C7AE1DF2828BCC49466E3EAE3FCCDF270EF502A025297CCF08C2B7C2E7B9B303AF7D93EE15F6FC26034E1C194A0299E08D41254D062F6F0E1EE33A02AA41A7BC6; portalroles=
Authorization: Negotiate TlRMTVNTUAADAAAAGAAYAKoAAAAYABgAwgAAADYANgBIAAAAFgAWAH4AAAAWABYAlAAAAAAAAADaAAAABYKIogUCzg4AAAAPZABhAHQAZQBzAHQALgBkAGUAYQByAGIAbwByAG4AYQBkAHYAaQBzAG8AcgBzAC4AYwBvAG0AYQBoAGUAbABtAGwAaQBuAGcAZQByAEEAUgBJAEMASwAtAEQARQBWAEUATACwB1P8mKKu2QAAAAAAAAAAAAAAAAAAAAD9ggS6q3raBbrL4NSB0gg2hT5G9Z16jA0=









ahelmlinger


HTTP/1.1 401 Unauthorized
Date: Fri, 28 Mar 2008 20:55:16 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Length: 0
WWW-Authenticate: Basic Realm="/dmxdav.axd/Arick%20Test%20Folder/Document%20Exchange%204%20Getting%20Started.doc"
Cache-Control: private
Content-Type: text/html
Proxy-Support: Session-Based-Authentication

Last process I get when word goes to Contacting the server for information

GET /dmxdav.axd/Arick%20Test%20Folder/Document%20Exchange%204%20Getting%20Started.doc HTTP/1.1
Content-Language: en-us
Accept-Language: en-us
Translate: f
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: datest.dearbornadvisors.com
Proxy-Connection: Keep-Alive
Cookie: .ASPXANONYMOUS=9P4mk4nHyAEkAAAAMWU4MGEzN2MtNzM4OS00ZGU3LThhZTItN2Q5ZDRjZjg0ZWJm0; dmxdavcookie=FB5490AA040491756ECD3A936D143AC4A9EF032DBCC23D83E0409BAD937FC3D3CD9F5336B015C3681CDC5FEA898B1B17816C3A48278832BE23B7C62052A61F700853DAA41A126D39C74B32A2691E0125510426F2866E3C41C6F8BDD68F4267965A5ADEA7F66B0A3C; portalaliasid=CB6060482C34E986A1922330373D096C7AE1DF2828BCC49466E3EAE3FCCDF270EF502A025297CCF08C2B7C2E7B9B303AF7D93EE15F6FC26034E1C194A0299E08D41254D062F6F0E1EE33A02AA41A7BC6; portalroles=


HTTP/1.1 401 Unauthorized
Date: Fri, 28 Mar 2008 20:57:25 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Length: 272384
Accept-Ranges: bytes
Content-Length: 0
Content-Length: 0
WWW-Authenticate: Basic Realm="/dmxdav.axd/Arick%20Test%20Folder/Document%20Exchange%204%20Getting%20Started.doc"
Last-Modified: Fri, 28 Mar 2008 19:39:29 GMT
Cache-Control: private
Content-Type: application/msword

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/01/2008 3:33 PM
Hi Arick,
This is an example of a proper conversation:
LOCK /dmxdav.axd/Base%20Collection/Various/Testing.doc HTTP/1.1
translate: f
Cookie: .ASPXANONYMOUS=fPSoq7u-yAEkAAAAMTY4MzIyNWMtMzQ0NS00M2Q2LWJlMWEtNWZlZGZjNzc0YWQ20; 0AFLV=3/18/2008 5:03:15 PM; 1AFLV=3/18/2008 5:03:08 PM; dmxdavcookie=5E348E96C804B7E89B60C5F0CA2E7B4B225E73E6F628E4072756C6BCBB1FE18FD3AFCFFF66698D0900FD7DDE8E72E5ACA4740C2D9B780BA483F6227B7361FFE806CA9E14414E2E8CA5D16F5D6C87F30283D1975C28CD048B53C7F100529C9A69.ASPXANONYMOUS=lO_ND1egyAEkAAAAMTY4MzIyNWMtMzQ0NS00M2Q2LWJlMWEtNWZlZGZjNzc0YWQ20; 0AFLV=2/7/2008 9:10:40 PM; 24AFLV=2/7/2008 9:10:39 PM
Timeout: Second-3600
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6000
Host: beta2.bring2mind.net
Content-Length: 202
Proxy-Connection: Keep-Alive
Cache-Control: no-cache
Pragma: no-cache
 
MASAI\Peter
 
Response:
HTTP/1.1 200 OK
Date: Tue, 01 Apr 2008 13:02:36 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Lock-Token:
Content-Length: 400
Cache-Control: private
Content-Type: text/xml
 
infinityopaquelocktoken:59163087-5ab2-46c3-a071-576c394762bbSecond-3600Peter Donker
 
And a GET command:
GET /dmxdav.axd/Base%20Collection/Various/Testing.doc HTTP/1.1
translate: f
Cookie: .ASPXANONYMOUS=fPSoq7u-yAEkAAAAMTY4MzIyNWMtMzQ0NS00M2Q2LWJlMWEtNWZlZGZjNzc0YWQ20; 0AFLV=3/18/2008 5:03:15 PM; 1AFLV=3/18/2008 5:03:08 PM; dmxdavcookie=5E348E96C804B7E89B60C5F0CA2E7B4B225E73E6F628E4072756C6BCBB1FE18FD3AFCFFF66698D0900FD7DDE8E72E5ACA4740C2D9B780BA483F6227B7361FFE806CA9E14414E2E8CA5D16F5D6C87F30283D1975C28CD048B53C7F100529C9A69.ASPXANONYMOUS=lO_ND1egyAEkAAAAMTY4MzIyNWMtMzQ0NS00M2Q2LWJlMWEtNWZlZGZjNzc0YWQ20; 0AFLV=2/7/2008 9:10:40 PM; 24AFLV=2/7/2008 9:10:39 PM
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6000
Host: beta2.bring2mind.net
Proxy-Connection: Keep-Alive
Cache-Control: no-cache
Pragma: no-cache
 
Response:
HTTP/1.1 200 OK
Date: Tue, 01 Apr 2008 13:02:37 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Length: 22528
Accept-Ranges: bytes
Last-Modified: Thu, 27 Mar 2008 11:48:21 GMT
Cache-Control: private
Content-Type: application/msword
 
Hope this helps,
Peter
 
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/01/2008 3:35 PM
Note all the WWW-Authenticate headers you're getting. There's something wrong with the authentication settings of your site.

Peter
Arick
New Member
New Member
Posts:64


--
04/01/2008 8:01 PM
Peter,

After spending a couple of hours researching this I think I now understand the problem. My documents relabeled as a .resource file reside in a root folder off my c drive on the server not in the Default location for DMX.
When setting up this environment on my development box, I started to see the same behavior where the document was not loading. Under the repository Location I have C:\DMXDocs\ as the location and Network Service has modify access to this folder.
For WebDAV to work do I need to have my repository location setup to the default location? If not what account needs to have the proper permissions on this folder in order to work correctly? If this will not work where do I need to copy the .resources files so that the default location will pick them up?

Arick
Arick
New Member
New Member
Posts:64


--
04/02/2008 11:00 PM

Peter,

In my every struggling process to try and get WebDAV to work I have uncovered some additional information that may be of help for us.

1) As mentioned in another post this installation of DMX 4 was upgraded from 3-4
2) Running on my dev box where I am an administrator and everything is local after performing the upgrade I'm prompted for a login
3) Compared upgraded site to another local install of DNN4.8 where DMX was not upgraded and both IIS and the web.config match.  The non-upgraded site works as expected where the upgraded site does not
4) The upgraded site has well over 1000 documents but I'm only trying to open 1 file in Word.
5) Running under a different directory or running under the Portal/DMX folder produces the same result.
6) The Network Services account has modify of the DNN directory and sub directory as well as the remote directory
7) After changing directories re-indexed the site same results were given.
8) Copied the DMX folder from DesktopModules from the working to the non-working site still prompted for login when editing in word.
9) Using the DMX 4.02.01 module package

Let me know if I can provide you with any additional information on this.  I really do need to get this functionality working for us to even consider upgrading to the newest version of DMX.

Thanks,
Arick

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/02/2008 11:04 PM
Hi Arick,

It's encouragin that the new site works. Now we're narrowing it down to 'what went wrong with the upgrade'.

Have you tried a regular download in the web interface? If so does that work? If not, can you verify the 'Main Options' screen and click update on that?

Peter
Arick
New Member
New Member
Posts:64


--
04/02/2008 11:56 PM

Peter,

Yes I can do a regular download of the file.  When I select open the file opens in word and when I save the file will save.  This is true for both the public site, and my local dev box.

Arick

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/03/2008 9:25 PM
Hi Arick,
I'm getting confused. We need to be clear about which installation. You have an installation (call it A) which is an upgrade and not working and an installation (B) which is fresh and is working. Working here concerns WebDAV. So on installation A you cannot open/save a Word file through WebDAV? Or you can actually open/save through webdav but only after a login? And B works as advertized?
Peter
Arick
New Member
New Member
Posts:64


--
04/03/2008 9:50 PM
Hi Peter,

To clarify:

I am logged into DotNetNuke(DNN) as HOST on both installations:

Installation A (Upgraded installation):
I can save files by right clicking a file and saying download and I'm prompted to open/save and this works (regular download)
Right clicking and saying open with word I am prompted for a login. (WebDAV), and entering credentials 3 times with either DNN or local server credentials, the prompt goes away and all I see is contacting the server for information.
This installation has over 1000 documents stored

Installation B(New installation)
Working as advertised
This installation only has 2 documents stored.

I'm assuming that WebDAV is only implemented when choose the option to open in and not when I select download file?

I hope this helps clarify the situation.

Arick
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/05/2008 10:52 PM
Hi Arick,
My next step would be to compare a Fiddler session of the 2 installations. Can you do that? Note the headers like you've done above.
Peter
Arick
New Member
New Member
Posts:64


--
04/07/2008 9:23 PM
Peter,

Here are the fiddler sessions you requested. Again to note I have compared web config and IIS settings and both are identical, and the Network service account has modify over all necessary directories.

Fiddler sessions from Installation A (Upgrade - Open via word fails)

I am prompted for a login, the session response I get fro that is:

LOCK /dmxdav.axd/Marketing/Dearborn%20Advisors%20Calendar/DA%20Calendar%202007.doc HTTP/1.1
Content-Language: en-us
Accept-Language: en-us
Content-Length: 183
Timeout: Second-180
Translate: f
Content-Type: text/xml
Depth: 0
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: danet
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: .ASPXANONYMOUS=6iP3NYnLyAEkAAAAMDAwMTk0ODctOTA1OS00ZjFlLWFlODctNTc1YTc2NDkyZDdh0; portalaliasid=F0CE6A34982CFDDA736406EA674FE77D7C402B492714D3150A7BE2B31EDCB4F6F49EF3067D42BC82C97E72F1530A60F82308F60A46CB1BADB62AFABE2304DC9806183856FCBAA166E88CAB0DDB49342F; portalroles=; dmxdavcookie=AEDBFDC7165A09138C0E84F8EF709E7AA8B1C2D160A3D110E98EC00C723A038262D74D9FBF0AECF2DE65932FEC0A93F507E11E6C34D4A564A17237F278E9C674340605B91B882124BD447B36664B4CA232BE2FB4941698939BCA493EE5C375E564B1DFC8DC49A4AF
Authorization: Negotiate TlRMTVNTUAADAAAAGAAYAH4AAAAYABgAlgAAAAoACgBIAAAAFgAWAFIAAAAWABYAaAAAAAAAAACuAAAABYKIogUCzg4AAAAPZABhAG4AZQB0AGEAaABlAGwAbQBsAGkAbgBnAGUAcgBBAFIASQBDAEsALQBEAEUAVgBFAEwArIyydw44i3UAAAAAAAAAAAAAAAAAAAAAwA5d6wFMH0LnpA46yJSSRpOZqpEmppEu









ahelmlinger


HTTP/1.1 401 Unauthorized
Content-Length: 1539
Content-Type: text/html
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
Date: Mon, 07 Apr 2008 18:54:19 GMT
Proxy-Support: Session-Based-Authentication


Followed by a get which is:

GET /dmxdav.axd/Marketing/Dearborn%20Advisors%20Calendar/DA%20Calendar%202007.doc HTTP/1.1
Content-Language: en-us
Accept-Language: en-us
Translate: f
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: danet
Proxy-Connection: Keep-Alive
Cookie: .ASPXANONYMOUS=6iP3NYnLyAEkAAAAMDAwMTk0ODctOTA1OS00ZjFlLWFlODctNTc1YTc2NDkyZDdh0; portalaliasid=F0CE6A34982CFDDA736406EA674FE77D7C402B492714D3150A7BE2B31EDCB4F6F49EF3067D42BC82C97E72F1530A60F82308F60A46CB1BADB62AFABE2304DC9806183856FCBAA166E88CAB0DDB49342F; portalroles=; dmxdavcookie=AEDBFDC7165A09138C0E84F8EF709E7AA8B1C2D160A3D110E98EC00C723A038262D74D9FBF0AECF2DE65932FEC0A93F507E11E6C34D4A564A17237F278E9C674340605B91B882124BD447B36664B4CA232BE2FB4941698939BCA493EE5C375E564B1DFC8DC49A4AF


HTTP/1.1 401 Unauthorized
Date: Mon, 07 Apr 2008 18:54:19 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Length: 167424
Accept-Ranges: bytes
Content-Length: 0
Content-Length: 0
WWW-Authenticate: Basic Realm="/dmxdav.axd/Marketing/Dearborn%20Advisors%20Calendar/DA%20Calendar%202007.doc"
Last-Modified: Thu, 06 Sep 2007 21:53:37 GMT
Cache-Control: private
Content-Type: application/msword

There is also an IE Javascript error indicating the that the file does not exist.


Installation B (Fresh install open through word is scuccessful)

LOCK /dmxdav.axd/Clients/Document%20Exchange%204%20Getting%20Started.doc HTTP/1.1
Content-Language: en-us
Accept-Language: en-us
Content-Length: 183
Timeout: Second-180
Translate: f
Content-Type: text/xml
Depth: 0
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: daintranet
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: .ASPXANONYMOUS=oprafRHGyAEkAAAAMWIzZjY4ODQtZDJiNS00NDdiLTk3ODQtNWRkNmNhYzk3MTYy0; dmxdavcookie=56916D9072693D619493F4D0418B646BB1074746ABD29F75198D211FF86324AE439F99932CB789B4D9EFD88C455969005B2670371F9EE577365D4964E53D987472190B7E8DDA425C4E1B9567A72A4715B8175A1B6F4CE296; portalaliasid=F49D68C6F3CAB9E0B7E47B118A762DF149EB8EBF07D23D07D50A544535CA69E1B50185C00D6C6CBD04A812051C123CD7EC330364A1F5787690241B4AB8DBB5285EF6E60F2846B937; portalroles=









ahelmlinger


HTTP/1.1 403 Forbidden
Connection: close
Date: Mon, 07 Apr 2008 19:06:14 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Type: text/html
Content-Length: 44


GET /dmxdav.axd/Clients/Document%20Exchange%204%20Getting%20Started.doc HTTP/1.1
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; MSOffice 12)
UA-CPU: x86
Accept-Encoding: gzip, deflate
If-Modified-Since: Thu, 20 Mar 2008 18:51:34 GMT
Host: daintranet
Proxy-Connection: Keep-Alive
Cookie: .ASPXANONYMOUS=oprafRHGyAEkAAAAMWIzZjY4ODQtZDJiNS00NDdiLTk3ODQtNWRkNmNhYzk3MTYy0; dmxdavcookie=56916D9072693D619493F4D0418B646BB1074746ABD29F75198D211FF86324AE439F99932CB789B4D9EFD88C455969005B2670371F9EE577365D4964E53D987472190B7E8DDA425C4E1B9567A72A4715B8175A1B6F4CE296; portalaliasid=F49D68C6F3CAB9E0B7E47B118A762DF149EB8EBF07D23D07D50A544535CA69E1B50185C00D6C6CBD04A812051C123CD7EC330364A1F5787690241B4AB8DBB5285EF6E60F2846B937; portalroles=


HTTP/1.1 200 OK
Date: Mon, 07 Apr 2008 19:06:14 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Length: 272384
Accept-Ranges: bytes
Last-Modified: Thu, 20 Mar 2008 18:51:34 GMT
Cache-Control: private
Content-Type: application/msword
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/08/2008 10:39 PM
So the first site has 'Integrated Windows Authentication' switched on, the second doesn't. Can you confirm?

Peter
Arick
New Member
New Member
Posts:64


--
04/08/2008 11:11 PM
No, both installations have integrated authentication turned on. I tried on Installation A (Upgrade) to turn off integrated authentication but was still getting a login prompt.

Arick
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/12/2008 12:11 AM
Hi Arick,

From the headers you can see that integrated authentication is on:

WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM

It will prompt the user for a login.


Peter
Arick
New Member
New Member
Posts:64


--
04/12/2008 2:52 AM
Peter,

I understand that but if you look at my prior post, I've tried with integrated authentication both on and off and still get the same response. If it will help out I can try to get you setup with access to my test environment so you can see the problem first hand. If this would be helpful let me know and I will email you directly with the informaiton.

Arick
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/12/2008 4:28 PM
Hi Arick,

Sure. My email address is peter@bring2mind.net.

Peter
Arick
New Member
New Member
Posts:64


--
04/14/2008 9:53 PM
Hi Peter,

While I was setting up and testing your account I believe that I have uncovered the problem and have been able to find a workaround for our use.

On the upgraded installation when logging as a Super User account you are prompted for username/password when using WebDav, when using any other account WebDAV works as expected.
When I had created your user account and setup a test page for you I noticed WebDAV was working correctly, and so I tried this with another account and it worked fine.
Logged back in as a super user account (not host but another account setup as a super user) I was prompted for a username/password again.
On the fresh install I also created a new super user account and was able to open up my document as expected.

I am able to proceed with my testing now that the issue has been resolved on my end, but it would appear this may be a bug in the upgrade installation. I'd be curious to know your findings on this as well.

-Arick



Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/17/2008 4:55 PM
Hi Arick,

The Host account does not have 'roles' in a portal so that might cause problems. I still think there's an authentication problem given the fact that the headers clearly show integrated authentication. But if it works, it works.

Peter
You are not authorized to post a reply.