Re: 401 Unauthorized trying to read SPList Attachment - owssrv.dll

From: Mike Walsh (englantilainen_at_hotmail.com)
Date: 04/25/05

  • Next message: brianmwood: "Cannot find server or DNS error"
    Date: Mon, 25 Apr 2005 19:43:14 +0300
    
    

    Please do not post WSS programming questions in future to the main WSS
    newsgroup but only to the newsgroup specially created for WSS programming
    questions.

    We are maintaining a clear split where WSS Programming questions go only to
    microsoft.public.sharepoint.windowsservices.development and not to the
    (Administration issues) main newsgroup
    microsoft.public.sharepoint.windowsservices.

    This split is to the benefit of the readers of one or both these newsgroups.

    Thanks.

    Mike Walsh, Helsinki, Finland
    WSS FAQ at http://wss.collutions.com
    Please reply to the newsgroup

    "Chris Kane" <ChrisKane@discussions.microsoft.com> wrote in message
    news:3DA9A3DB-FD45-436E-99B5-265B002F81B3@microsoft.com...
    > We have written a class that enumerates the items in a WSS list and then
    > attemptes to open the attachment for each item. We have written two
    > classes,
    > one to impersonate a user and read in the list information and the other
    > to
    > be called by the first which actually opens the attachment. Our code
    > fails
    > when it tries to open the attachment in the second class with a 401 -
    > Unauthorized error from IIS on http://localhost/_vti_bin/owssrv.dll.
    > What's
    > strange is that I can use IE to open the URL to the attachemnt without any
    > problems. I noticed in the IIS logs that when I open the URL, I can see
    > the
    > domain\password passed to IIS from IE. However, when our code tries to
    > access the same URL, no user information is passed, causing the 401. We
    > have
    > impersonated a valid user in our code, so why does IIS not see it?
    >
    > Thanks!


  • Next message: brianmwood: "Cannot find server or DNS error"

    Relevant Pages

    • Re: Error while creating new site in wss by using C#
      ... Please post questions on WSS programming like this to the newsgroup which ... WSS Programming is defined as - creating web parts; using web services; ... Everything else comes to this main newsgroup. ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: getlistitems
      ... Please post questions on methods to the WSS Programming newsgroup at ... > Detail: SQL Server Error ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: Automatically creating Web Folder shortcuts
      ... The subnewsgroup for WSS programming is probably a more suitable place for ... (Please in future cases post to either the main newsgroup ... > but I want to automate this process. ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: Active Directory Users in ASP.net with Sharepoint
      ... Also posted to the WSS Programming subnewsgroup AND the main SPS ... I've already posted in the WSS Programming newsgroup that messages shouldn't ... >I want to get tge active directory user data fro ma custom asp.net page ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: extracting text from files using IFilters
      ... Try posting this instead in the subnewsgroup for WSS Programming questions. ... > the registered users of the applications an option to upload files as ... > the Ifilter for Microsoft Office Files. ...
      (microsoft.public.sharepoint.windowsservices)