Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Using the PKMCDO COM object to access Sharepoint 2001


I think trhis is the right place but its a very specific PKMCDO question I think.  Has anyone used this much.  PKMCDO is a COM object used to access Sharepoint 2001 folders and documents.  I have a console app which uses the object to do some essential maintenance.  It works fine from XP and Windows 2000 server but it askes for logon credentials from 2003 server.  As I want to run it as a scheduled job this is bad!  

Does any one know if there is a simple way to get the logon details to pass through when using the open method (it operates in a very similar way to an ADO open)?  Is there any way to do this without storing the password somewhere.  


  • 2
1 Solution
hm, check you internet zone settings on Windows2003 server, in which zone is the SPS server(it would be best if it was in local intranet) (internet explorer/tools/internet options), also check security settings for that zone.
do you have to supply the credentials if you visit the site with internet eplorer
gringogordoAuthor Commented:
This is definately along the right lines.  I have 2 test servers and it 'fixed' the problem on one but not the other.  The other one does not now ask for logon credentials through the browser but does when the console app hits the SharepointDocument.Open method.  

Do you have any ideas about this?  I have been through the IE options tabs looking for discrepancies but I haven't found one yet.  I will look at what hotfixes have been applied now but I'm not convinced this will provide the answer.

gringogordoAuthor Commented:
Apologies, I have just drilled down to the document library and I do get prompted for my credentials through the browser.

Thanks - the whole thing looks like a fairly stiupid question now.

Oh well!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now