I followed up this link :
http://www.kbalertz.com/kb_871179.aspx
and I solved the logon problem ,but now I get this error
Logon failure: unknown user name or bad password
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Logon
failure: unknown user name or bad password
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[COMException (0x8007052e): Logon failure: unknown user name or bad
password]
System.DirectoryServices.DirectoryEntry.Bind(Boole an throwIfFail) +707
System.DirectoryServices.DirectoryEntry.Bind() +10
System.DirectoryServices.DirectoryEntry.get_IsCont ainer() +10
System.DirectoryServices.ChildEnumerator..ctor(Dir ectoryEntry container)
+24
System.DirectoryServices.DirectoryEntries.GetEnume rator() +26
CgaCanada.Org.Common.ADUtils.getMMSList() in
c:\vss\SMIA\Common\ADUtils.cs:111
[SystemException: Failed to retrieve examiner list.Logon failure: unknown
user name or bad password]
CgaCanada.Org.Common.ADUtils.getMMSList() in
c:\vss\SMIA\Common\ADUtils.cs:118
SMIA.Business.ApplicationCache.GetExaminers() in
c:\vss\SMIA\Business\ClassFiles\ApplicationCache.c s:962
SMIA.Business.ApplicationCache.init() in
c:\vss\SMIA\Business\ClassFiles\ApplicationCache.c s:1163
[SystemException: ApplicationCache initialization failed. ]
SMIA.Business.ApplicationCache.init() in
c:\vss\SMIA\Business\ClassFiles\ApplicationCache.c s:1204
SMIA.Business.ApplicationCache..cctor() in
c:\vss\SMIA\Business\ClassFiles\ApplicationCache.c s:31
[TypeInitializationException: The type initializer for
"SMIA.Business.ApplicationCache" threw an exception.]
SMIA.Business.ApplicationCache.get_Reference() +0
SMIA.Business.BusinessLayer.Init(String baseName, String assemblyName) in
c:\vss\SMIA\Business\ClassFiles\BusinessLayer.cs:2 8
SMIA.Web.Global.Application_Start(Object sender, EventArgs e) in
c:\vss\SMIA\SMIAWeb\Global.asax.cs:50
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032