GetAllSubWebCollection -- 401 Unauthorized
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
GetAllSubWebCollection -- 401 Unauthorized

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
John Smith
Guest





Posted: Mon Oct 31, 2005 5:51 pm    Post subject: GetAllSubWebCollection -- 401 Unauthorized Reply with quote

Hey folks,

I'm trying to use the Webs Web Service through a Windows Form Application.
I'm supplying a username and password for a user (myself) that is an
administrator in SharePoint.

When I call GetAllSubWebCollection I get a 401 Unauthorized exception. When
I call GetWebCollection it works fine.

What can I do to fix this? Is there special permissions I have to set? As
I said, the supplied user is an administrator.

Thanks!
Back to top
John Smith
Guest





Posted: Mon Oct 31, 2005 9:51 pm    Post subject: RE: GetAllSubWebCollection -- 401 Unauthorized Reply with quote

Woops...I'm a bonehead. Nevermind. I had 2 user accounts and apparently one
of them wasn't added as an administrator. All set now though. Thanks!

"John Smith" wrote:

Quote:
Hey folks,

I'm trying to use the Webs Web Service through a Windows Form Application.
I'm supplying a username and password for a user (myself) that is an
administrator in SharePoint.

When I call GetAllSubWebCollection I get a 401 Unauthorized exception. When
I call GetWebCollection it works fine.

What can I do to fix this? Is there special permissions I have to set? As
I said, the supplied user is an administrator.

Thanks!
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB