Microsoft Content Management Server - The windows credentials provided could not be validated.

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2007 > The windows credentials provided could not be validated.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author The windows credentials provided could not be validated.
Tom

2007-03-06, 1:19 pm

I have created a C# Windows VS.net 2.0 CMSManager application.
Just a little bit ago, I rebooted my Windows 2003 SP1 server and now my
Channel users are getting access denied when they log in.

I cleared the CMS cache but its still giving me the same error.

I changed nothing.

Below is the error.

Here is the code...
try{
using (CmsApplicationContext cmsContext = new CmsApplicationContext())
{
cmsContext.AuthenticateAsUser(user.UserName, user.Password,
PublishingMode.Unpublished);
}
}
catch (Exception ex)
{
MessageBox.Show("Error occured while login : " + error, "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}





Note: My "Channel users" are not Administrators. As of right now, only the
Administrators can logon to my C# Windows VS.net 2.0 CMSManager application.




CMS ERROR
=========
{Microsoft.ContentManagement.Publishing.CmsAccessDeniedException: The
windows credentials provided could not be validated. --->
System.Runtime.InteropServices.COMException (0x80041BF3): Login attempt
failed. Access is denied.
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)
at CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String&
loginError) in c:\inetpub\wwwroot\CMSWebServices\App_Co
de\Service.cs:line 461}
[Microsoft.ContentManagement.Publishing.CmsAccessDeniedException]:
{Microsoft.ContentManagement.Publishing.CmsAccessDeniedException: The windows
credentials provided could not be validated. --->
System.Runtime.InteropServices.COMException (0x80041BF3): Login attempt
failed. Access is denied.
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)
at CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String&
loginError) in c:\inetpub\wwwroot\CMSWebServices\App_Co
de\Service.cs:line 461}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: {System.Runtime.InteropServices.COMException
(0x80041BF3): Login attempt failed. Access is denied.
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)}
Message: "The windows credentials provided could not be validated."
Source: "Microsoft.ContentManagement.Publishing"
StackTrace: " at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
serverAccountName, String password, PublishingMode mode)\r\n at
CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String& loginError) in
c:\\inetpub\\wwwroot\\CMSWebServices\\Ap
p_Code\\Service.cs:line 461"
TargetSite: {Void AuthenticateAsUser(System.String, System.String,
Microsoft.ContentManagement.Publishing.PublishingMode)}



at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String serverAccountName, String password, PublishingMode mode)

Stefan Goßner [MSFT]

2007-03-07, 7:22 am

Hi Tom,

is this MCMS 2002 enterprise or standard edition?
The problem you mentioned can happen in standard edition if either more than
15 users have been assigned to non-subscriber groups or if the DC for one of
the users is not reachable.

Cheers,
Stefan


"Tom" <Tom@discussions.microsoft.com> wrote in message
news:97873675-CBAB-449E-9C13-3FA30FBCB417@microsoft.com...
>I have created a C# Windows VS.net 2.0 CMSManager application.
> Just a little bit ago, I rebooted my Windows 2003 SP1 server and now my
> Channel users are getting access denied when they log in.
>
> I cleared the CMS cache but its still giving me the same error.
>
> I changed nothing.
>
> Below is the error.
>
> Here is the code...
> try{
> using (CmsApplicationContext cmsContext = new CmsApplicationContext())
> {
> cmsContext.AuthenticateAsUser(user.UserName, user.Password,
> PublishingMode.Unpublished);
> }
> }
> catch (Exception ex)
> {
> MessageBox.Show("Error occured while login : " + error, "Error",
> MessageBoxButtons.OK, MessageBoxIcon.Error);
> }
>
>
>
>
>
> Note: My "Channel users" are not Administrators. As of right now, only
> the
> Administrators can logon to my C# Windows VS.net 2.0 CMSManager
> application.
>
>
>
>
> CMS ERROR
> =========
> {Microsoft.ContentManagement.Publishing.CmsAccessDeniedException: The
> windows credentials provided could not be validated. --->
> System.Runtime.InteropServices.COMException (0x80041BF3): Login attempt
> failed. Access is denied.
> at
> Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
> ServerAccountName, String password, RcwPublishingMode Mode, String
> ClientAccountName, String authenticationType, String remoteMachineAddress)
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)
> --- End of inner exception stack trace ---
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)
> at CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String&
> loginError) in c:\inetpub\wwwroot\CMSWebServices\App_Co
de\Service.cs:line
> 461}
> [Microsoft.ContentManagement.Publishing.CmsAccessDeniedException]:
> {Microsoft.ContentManagement.Publishing.CmsAccessDeniedException: The
> windows
> credentials provided could not be validated. --->
> System.Runtime.InteropServices.COMException (0x80041BF3): Login attempt
> failed. Access is denied.
> at
> Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
> ServerAccountName, String password, RcwPublishingMode Mode, String
> ClientAccountName, String authenticationType, String remoteMachineAddress)
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)
> --- End of inner exception stack trace ---
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)
> at CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String&
> loginError) in c:\inetpub\wwwroot\CMSWebServices\App_Co
de\Service.cs:line
> 461}
> Data: {System.Collections.ListDictionaryInternal}
> HelpLink: null
> InnerException: {System.Runtime.InteropServices.COMException
> (0x80041BF3): Login attempt failed. Access is denied.
> at
> Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.AuthenticateAsUser(String
> ServerAccountName, String password, RcwPublishingMode Mode, String
> ClientAccountName, String authenticationType, String remoteMachineAddress)
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)}
> Message: "The windows credentials provided could not be validated."
> Source: "Microsoft.ContentManagement.Publishing"
> StackTrace: " at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)\r\n at
> CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String& loginError)
> in
> c:\\inetpub\\wwwroot\\CMSWebServices\\Ap
p_Code\\Service.cs:line 461"
> TargetSite: {Void AuthenticateAsUser(System.String, System.String,
> Microsoft.ContentManagement.Publishing.PublishingMode)}
>
>
>
> at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsUser(String
> serverAccountName, String password, PublishingMode mode)
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com