The windows credentials provided could not be validated.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > The windows credentials provided could not be validated.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    The windows credentials provided could not be validated.  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-07 06: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.Au
thenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsU
ser(String serverAccountName, String password, PublishingMode mode)
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsU
ser(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 46
1}
[Microsoft.ContentManagement.Publishing.CmsAccessDeniedException]:
{Microsoft.ContentManagement.Publishing.CmsAccessDeniedException: The w
indows
credentials provided could not be validated. --->
System.Runtime.InteropServices.COMException (0x80041BF3): Login attempt
failed. Access is denied.
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.Au
thenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsU
ser(String serverAccountName, String password, PublishingMode mode)
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsU
ser(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 46
1}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: {System.Runtime.InteropServices.COMException
(0x80041BF3): Login attempt failed. Access is denied.
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.Au
thenticateAsUser(String
ServerAccountName, String password, RcwPublishingMode Mode, String
ClientAccountName, String authenticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateAsU
ser(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.AuthenticateAsU
ser(String
serverAccountName, String password, PublishingMode mode)\r\n   at
CMS.CMSWebServices.Service.CMSLoginCheck(CmsUser user, String& loginError) i
n
 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.AuthenticateAsU
ser(String serverAccountName, String password, PublishingMode mode)






[ Post a follow-up to this message ]



    Re: The windows credentials provided could not be validated.  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-07-07 12:22 PM

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.AuthenticateA
sUser(String
> serverAccountName, String password, PublishingMode mode)
>   --- End of inner exception stack trace ---
>   at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sUser(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.AuthenticateA
sUser(String
> serverAccountName, String password, PublishingMode mode)
>   --- End of inner exception stack trace ---
>   at
> Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sUser(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.AuthenticateA
sUser(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.AuthenticateA
sUser(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.AuthenticateA
sUser(String
> serverAccountName, String password, PublishingMode mode)
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register