WebDAV and IE browser access "Public folder" - Microsoft Exchange

This is a discussion on WebDAV and IE browser access "Public folder" - Microsoft Exchange ; hi All I have a strange question. I have a customer that use our product to access Exchange public folder if he ueses IE browser to access public folder,it does work: http://10.0.0.XX/public but if I use webdav to access, it ...

+ Reply to Thread
Results 1 to 7 of 7

WebDAV and IE browser access "Public folder"

  1. Default WebDAV and IE browser access "Public folder"

    hi All

    I have a strange question.

    I have a customer that use our product to access Exchange public folder

    if he ueses IE browser to access public folder,it does work:
    http://10.0.0.XX/public

    but if I use webdav to access, it does not work, any idea?

    <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM SCOPE('SHALLOW
    TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true and
    "DAV:ishidden"=false and "DAV:contentclass" = 'urn:content-classeserson'
    and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    "DAV:getlastmodified" DESC</g:sql></g:searchrequest>




  2. Default Re: WebDAV and IE browser access "Public folder"

    What response do you get from the server (eg 401,404 etc)

    You should be also be casting the date your searching for see
    http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,

    Cheers
    Glen

    "jeff" <jeff@discussions.microsoft.com> wrote in message
    news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    > hi All
    >
    > I have a strange question.
    >
    > I have a customer that use our product to access Exchange public folder
    >
    > if he ueses IE browser to access public folder,it does work:
    > http://10.0.0.XX/public
    >
    > but if I use webdav to access, it does not work, any idea?
    >
    > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM SCOPE('SHALLOW
    > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true and
    > "DAV:ishidden"=false and "DAV:contentclass" = 'urn:content-classeserson'
    > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    >
    >
    >




  3. Default Re: WebDAV and IE browser access "Public folder"

    Hi Glen,

    Thanks for your reply.
    I have tested it again.

    I get the problem is 401 Error.

    I have also checked it client os version is: window 2003

    my app works fine on windows 2000,

    Is that because of version problem?

    Thanks




    "Glen Scales [MVP]" wrote:

    > What response do you get from the server (eg 401,404 etc)
    >
    > You should be also be casting the date your searching for see
    > http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,
    >
    > Cheers
    > Glen
    >
    > "jeff" <jeff@discussions.microsoft.com> wrote in message
    > news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    > > hi All
    > >
    > > I have a strange question.
    > >
    > > I have a customer that use our product to access Exchange public folder
    > >
    > > if he ueses IE browser to access public folder,it does work:
    > > http://10.0.0.XX/public
    > >
    > > but if I use webdav to access, it does not work, any idea?
    > >
    > > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    > > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM SCOPE('SHALLOW
    > > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true and
    > > "DAV:ishidden"=false and "DAV:contentclass" = 'urn:content-classeserson'
    > > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    > > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    > >
    > >
    > >

    >
    >
    >


  4. Default Re: WebDAV and IE browser access "Public folder"

    A 401 response is a authentication error so it points to a problem with the
    code your trying to use. You need to look at what type of authentication
    your using in OWA first eg are you using NTLM , Basic, or Forms based
    authentication. Depending on what language your coding in and what objects
    you are using you will need to add or adjust your code to suit the
    authentication being used on the server.

    Cheers
    Glen

    "jeff" <jeff@discussions.microsoft.com> wrote in message
    news:97654D95-18C8-4E27-9563-C240CCA4EF5C@microsoft.com...
    > Hi Glen,
    >
    > Thanks for your reply.
    > I have tested it again.
    >
    > I get the problem is 401 Error.
    >
    > I have also checked it client os version is: window 2003
    >
    > my app works fine on windows 2000,
    >
    > Is that because of version problem?
    >
    > Thanks
    >
    >
    >
    >
    > "Glen Scales [MVP]" wrote:
    >
    >> What response do you get from the server (eg 401,404 etc)
    >>
    >> You should be also be casting the date your searching for see
    >> http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,
    >>
    >> Cheers
    >> Glen
    >>
    >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    >> news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    >> > hi All
    >> >
    >> > I have a strange question.
    >> >
    >> > I have a customer that use our product to access Exchange public folder
    >> >
    >> > if he ueses IE browser to access public folder,it does work:
    >> > http://10.0.0.XX/public
    >> >
    >> > but if I use webdav to access, it does not work, any idea?
    >> >
    >> > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    >> > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM SCOPE('SHALLOW
    >> > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true and
    >> > "DAV:ishidden"=false and "DAV:contentclass" =
    >> > 'urn:content-classeserson'
    >> > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    >> > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    >> >
    >> >
    >> >

    >>
    >>
    >>




  5. Default Re: WebDAV and IE browser access "Public folder"

    Hi Glen,

    Thanks for your reply.

    I have checked the Customer setting.
    My app uses NTLM method to talk with Exchange server.

    The customer exchange server setting is Basical.

    But I have tested on my environment.
    When I set my server authtication as Basical type.
    I still can talk to exchange server with NTLM type.

    If it runs on customer side, it does not work.(I can not go to client site
    to debug )
    any clue?

    Any suggestion would be great accepted.
    Regards







    "Glen Scales [MVP]" wrote:

    > A 401 response is a authentication error so it points to a problem with the
    > code your trying to use. You need to look at what type of authentication
    > your using in OWA first eg are you using NTLM , Basic, or Forms based
    > authentication. Depending on what language your coding in and what objects
    > you are using you will need to add or adjust your code to suit the
    > authentication being used on the server.
    >
    > Cheers
    > Glen
    >
    > "jeff" <jeff@discussions.microsoft.com> wrote in message
    > news:97654D95-18C8-4E27-9563-C240CCA4EF5C@microsoft.com...
    > > Hi Glen,
    > >
    > > Thanks for your reply.
    > > I have tested it again.
    > >
    > > I get the problem is 401 Error.
    > >
    > > I have also checked it client os version is: window 2003
    > >
    > > my app works fine on windows 2000,
    > >
    > > Is that because of version problem?
    > >
    > > Thanks
    > >
    > >
    > >
    > >
    > > "Glen Scales [MVP]" wrote:
    > >
    > >> What response do you get from the server (eg 401,404 etc)
    > >>
    > >> You should be also be casting the date your searching for see
    > >> http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,
    > >>
    > >> Cheers
    > >> Glen
    > >>
    > >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    > >> news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    > >> > hi All
    > >> >
    > >> > I have a strange question.
    > >> >
    > >> > I have a customer that use our product to access Exchange public folder
    > >> >
    > >> > if he ueses IE browser to access public folder,it does work:
    > >> > http://10.0.0.XX/public
    > >> >
    > >> > but if I use webdav to access, it does not work, any idea?
    > >> >
    > >> > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    > >> > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM SCOPE('SHALLOW
    > >> > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true and
    > >> > "DAV:ishidden"=false and "DAV:contentclass" =
    > >> > 'urn:content-classeserson'
    > >> > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    > >> > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    > >> >
    > >> >
    > >> >
    > >>
    > >>
    > >>

    >
    >
    >


  6. Default Re: WebDAV and IE browser access "Public folder"

    What are you coding in what objects are you using,

    If your customer in using Basic authentication then they are probably also
    using it over SSL if thats the case maybe they are using Self signed
    certificates and the object you are using cant deal with certificate warning
    popups (this is generally the case for the microsoft.xmlhttp object). Also
    when you tested it on your sever did you disable all other authentication
    except basic because NTLM will usually always be used even in you have basic
    enabled. Generally if you using basic authentication you need to hardcode
    the username and password in the code (also possibly the domain depending on
    the server config). A good way to debug this is to check the Event log on
    the server if you are authenticating incorrectly you should see the failed
    attempts in the event log. Some other tools you might want to try are using
    exchange explorer or Pfdavadmin which both use WebDAV see if you can use
    these tools to sucessfully view the public folders on the server. Also you
    might want to try simplifying your query eg try one folder that you know the
    user that is running the code has access to (eg check the mapi permissions
    on the folder in outlook) and see if this works.

    Cheers
    Glen




    "jeff" <jeff@discussions.microsoft.com> wrote in message
    news:547F7FCA-DEEA-441D-9FED-6AA158E4E5C0@microsoft.com...
    > Hi Glen,
    >
    > Thanks for your reply.
    >
    > I have checked the Customer setting.
    > My app uses NTLM method to talk with Exchange server.
    >
    > The customer exchange server setting is Basical.
    >
    > But I have tested on my environment.
    > When I set my server authtication as Basical type.
    > I still can talk to exchange server with NTLM type.
    >
    > If it runs on customer side, it does not work.(I can not go to client
    > site
    > to debug )
    > any clue?
    >
    > Any suggestion would be great accepted.
    > Regards
    >
    >
    >
    >
    >
    >
    >
    > "Glen Scales [MVP]" wrote:
    >
    >> A 401 response is a authentication error so it points to a problem with
    >> the
    >> code your trying to use. You need to look at what type of authentication
    >> your using in OWA first eg are you using NTLM , Basic, or Forms based
    >> authentication. Depending on what language your coding in and what
    >> objects
    >> you are using you will need to add or adjust your code to suit the
    >> authentication being used on the server.
    >>
    >> Cheers
    >> Glen
    >>
    >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    >> news:97654D95-18C8-4E27-9563-C240CCA4EF5C@microsoft.com...
    >> > Hi Glen,
    >> >
    >> > Thanks for your reply.
    >> > I have tested it again.
    >> >
    >> > I get the problem is 401 Error.
    >> >
    >> > I have also checked it client os version is: window 2003
    >> >
    >> > my app works fine on windows 2000,
    >> >
    >> > Is that because of version problem?
    >> >
    >> > Thanks
    >> >
    >> >
    >> >
    >> >
    >> > "Glen Scales [MVP]" wrote:
    >> >
    >> >> What response do you get from the server (eg 401,404 etc)
    >> >>
    >> >> You should be also be casting the date your searching for see
    >> >> http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,
    >> >>
    >> >> Cheers
    >> >> Glen
    >> >>
    >> >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    >> >> news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    >> >> > hi All
    >> >> >
    >> >> > I have a strange question.
    >> >> >
    >> >> > I have a customer that use our product to access Exchange public
    >> >> > folder
    >> >> >
    >> >> > if he ueses IE browser to access public folder,it does work:
    >> >> > http://10.0.0.XX/public
    >> >> >
    >> >> > but if I use webdav to access, it does not work, any idea?
    >> >> >
    >> >> > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    >> >> > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM
    >> >> > SCOPE('SHALLOW
    >> >> > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true
    >> >> > and
    >> >> > "DAV:ishidden"=false and "DAV:contentclass" =
    >> >> > 'urn:content-classeserson'
    >> >> > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    >> >> > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    >> >> >
    >> >> >
    >> >> >
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>




  7. Default Re: WebDAV and IE browser access "Public folder"

    Hi Glen,

    I came cross a solution on Google search.
    It said to clear the password on the IE, and do WEBDAV search by using my
    source
    again.

    I have told customer this, and it does work.

    It is very wired.

    Thanks





    "Glen Scales [MVP]" wrote:

    > What are you coding in what objects are you using,
    >
    > If your customer in using Basic authentication then they are probably also
    > using it over SSL if thats the case maybe they are using Self signed
    > certificates and the object you are using cant deal with certificate warning
    > popups (this is generally the case for the microsoft.xmlhttp object). Also
    > when you tested it on your sever did you disable all other authentication
    > except basic because NTLM will usually always be used even in you have basic
    > enabled. Generally if you using basic authentication you need to hardcode
    > the username and password in the code (also possibly the domain depending on
    > the server config). A good way to debug this is to check the Event log on
    > the server if you are authenticating incorrectly you should see the failed
    > attempts in the event log. Some other tools you might want to try are using
    > exchange explorer or Pfdavadmin which both use WebDAV see if you can use
    > these tools to sucessfully view the public folders on the server. Also you
    > might want to try simplifying your query eg try one folder that you know the
    > user that is running the code has access to (eg check the mapi permissions
    > on the folder in outlook) and see if this works.
    >
    > Cheers
    > Glen
    >
    >
    >
    >
    > "jeff" <jeff@discussions.microsoft.com> wrote in message
    > news:547F7FCA-DEEA-441D-9FED-6AA158E4E5C0@microsoft.com...
    > > Hi Glen,
    > >
    > > Thanks for your reply.
    > >
    > > I have checked the Customer setting.
    > > My app uses NTLM method to talk with Exchange server.
    > >
    > > The customer exchange server setting is Basical.
    > >
    > > But I have tested on my environment.
    > > When I set my server authtication as Basical type.
    > > I still can talk to exchange server with NTLM type.
    > >
    > > If it runs on customer side, it does not work.(I can not go to client
    > > site
    > > to debug )
    > > any clue?
    > >
    > > Any suggestion would be great accepted.
    > > Regards
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > > "Glen Scales [MVP]" wrote:
    > >
    > >> A 401 response is a authentication error so it points to a problem with
    > >> the
    > >> code your trying to use. You need to look at what type of authentication
    > >> your using in OWA first eg are you using NTLM , Basic, or Forms based
    > >> authentication. Depending on what language your coding in and what
    > >> objects
    > >> you are using you will need to add or adjust your code to suit the
    > >> authentication being used on the server.
    > >>
    > >> Cheers
    > >> Glen
    > >>
    > >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    > >> news:97654D95-18C8-4E27-9563-C240CCA4EF5C@microsoft.com...
    > >> > Hi Glen,
    > >> >
    > >> > Thanks for your reply.
    > >> > I have tested it again.
    > >> >
    > >> > I get the problem is 401 Error.
    > >> >
    > >> > I have also checked it client os version is: window 2003
    > >> >
    > >> > my app works fine on windows 2000,
    > >> >
    > >> > Is that because of version problem?
    > >> >
    > >> > Thanks
    > >> >
    > >> >
    > >> >
    > >> >
    > >> > "Glen Scales [MVP]" wrote:
    > >> >
    > >> >> What response do you get from the server (eg 401,404 etc)
    > >> >>
    > >> >> You should be also be casting the date your searching for see
    > >> >> http://msdn2.microsoft.com/en-us/library/ms879337.aspx ,
    > >> >>
    > >> >> Cheers
    > >> >> Glen
    > >> >>
    > >> >> "jeff" <jeff@discussions.microsoft.com> wrote in message
    > >> >> news:7D6BB47E-F29E-49F0-8E30-0A0B2051F947@microsoft.com...
    > >> >> > hi All
    > >> >> >
    > >> >> > I have a strange question.
    > >> >> >
    > >> >> > I have a customer that use our product to access Exchange public
    > >> >> > folder
    > >> >> >
    > >> >> > if he ueses IE browser to access public folder,it does work:
    > >> >> > http://10.0.0.XX/public
    > >> >> >
    > >> >> > but if I use webdav to access, it does not work, any idea?
    > >> >> >
    > >> >> > <?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'><g:sql>SELECT
    > >> >> > "DAV:id","DAV:getlastmodified","DAV:creationdate" FROM
    > >> >> > SCOPE('SHALLOW
    > >> >> > TRAVERSAL OF "http://10.0.0.XX/public"') WHERE "DAV:isfolder"=true
    > >> >> > and
    > >> >> > "DAV:ishidden"=false and "DAV:contentclass" =
    > >> >> > 'urn:content-classeserson'
    > >> >> > and "DAV:getlastmodified" > '2006-11-13 15:56:25' ORDER BY
    > >> >> > "DAV:getlastmodified" DESC</g:sql></g:searchrequest>
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >>
    > >> >>
    > >> >>
    > >>
    > >>
    > >>

    >
    >
    >


+ Reply to Thread

Similar Threads

  1. create "public Folder(Contact)" by using webDAV
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 11-19-2007, 10:38 PM
  2. WEBDAV can not get CATEGORIES feature from "public Folder"
    By Application Development in forum Microsoft Exchange
    Replies: 10
    Last Post: 03-29-2007, 11:52 AM
  3. Public Folder Contact "One or more parameter values are not valid."
    By Application Development in forum Microsoft Exchange
    Replies: 0
    Last Post: 06-01-2006, 10:34 AM
  4. Move Exchange 2003 to a new server...Public folder "issues"?
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 02-20-2006, 11:43 AM
  5. Random contacts are opened "Read-only" from public folder
    By Application Development in forum Microsoft Exchange
    Replies: 0
    Last Post: 07-27-2005, 12:38 PM