|
|||
|
Re: Connecting without using deafault credential
If you want to login as a different user than the one you logged onto the
computer as you can right click on IEXPLORE.EXE and select Run As... "Sansanee" <sansanee@nospam.com> wrote in message news:OV$Dg6c$EHA.2984@TK2MSFTNGP09.phx.gbl... > Hi, > > Is there any way besides using default credential to connect to CRM? > > Sunny > > |
|
|||
|
Re: Connecting without using deafault credential
You can change the security option for IE to prompt for a login when you run.
This is done in the advanced settings for the Interanet Zone. Another option is to use the IP address instead of the DNS name. Matt Parks MVP - Microsoft CRM ---------------------------------------- ---------------------------------------- On Tue, 18 Jan 2005 18:28:54 -0800, "Sansanee" <sansanee@nospam.com> wrote: Hi, Is there any way besides using default credential to connect to CRM? Sunny |
|
|||
|
Re: Connecting without using deafault credential
Hello Matt,
Thank you for your help. I actually have a slightly different problem. I try to connect to the CRM system using the default credentials, as follows: // BizUser proxy object Microsoft.CRM.Proxy.BizUser oBizUser = new Microsoft.CRM.Proxy.BizUser (); oBizUser.Credentials = System.Net.CredentialCache.DefaultCredentials; oBizUser.Url = strDir + "BizUser.srf"; Microsoft.CRM.Proxy.CUserAuth oUserAuth = oBizUser.WhoAmI(); The call to WhoAmI fails with HTTP 401 (Unauthorized access). This is strange as I do have a user account on the machine. There is another thing that is strange. When I go into IE and try to connect to the CRM system, it asks me for the login information. I don't understand why it does that. IIS is set up for integrated Windows authentication. I never have this problem when I connect to Exchange Server using Outlook Web Access. I appreciate your help. Sunny "Matt Parks" <mattp65@Yax_RemoveDashAndX_xhoo.com> wrote in message news:e4huu0t350jjiia1q0dhflag5l37nfbevj@4ax.com... > You can change the security option for IE to prompt for a login when you run. > This is done in the advanced settings for the Interanet Zone. Another option is > to use the IP address instead of the DNS name. > > Matt Parks > MVP - Microsoft CRM > > ---------------------------------------- > ---------------------------------------- > On Tue, 18 Jan 2005 18:28:54 -0800, "Sansanee" <sansanee@nospam.com> wrote: > > Hi, > > Is there any way besides using default credential to connect to CRM? > > Sunny > > |
|
|||
|
Re: Connecting without using deafault credential
Is your IE browser configured with a proxy server? If so, it may be
interfering with the automatic login to CRM. Blk "Sansanee" <sansanee@nospam.com> wrote in message news:O$YTnd2$EHA.936@TK2MSFTNGP12.phx.gbl... > Hello Matt, > > Thank you for your help. > > I actually have a slightly different problem. I try to connect to the CRM > system using the default credentials, as follows: > > > // BizUser proxy object > Microsoft.CRM.Proxy.BizUser oBizUser = new Microsoft.CRM.Proxy.BizUser (); > oBizUser.Credentials = System.Net.CredentialCache.DefaultCredentials; > oBizUser.Url = strDir + "BizUser.srf"; > > Microsoft.CRM.Proxy.CUserAuth oUserAuth = oBizUser.WhoAmI(); > > The call to WhoAmI fails with HTTP 401 (Unauthorized access). This is > strange as I do have a user account on the machine. > > There is another thing that is strange. When I go into IE and try to > connect > to the CRM system, it asks me for the login information. I don't > understand > why it does that. IIS is set up for integrated Windows authentication. I > never have this problem when I connect to Exchange Server using Outlook > Web > Access. > > I appreciate your help. > > Sunny > > > "Matt Parks" <mattp65@Yax_RemoveDashAndX_xhoo.com> wrote in message > news:e4huu0t350jjiia1q0dhflag5l37nfbevj@4ax.com... >> You can change the security option for IE to prompt for a login when you > run. >> This is done in the advanced settings for the Interanet Zone. Another > option is >> to use the IP address instead of the DNS name. >> >> Matt Parks >> MVP - Microsoft CRM >> >> ---------------------------------------- >> ---------------------------------------- >> On Tue, 18 Jan 2005 18:28:54 -0800, "Sansanee" <sansanee@nospam.com> > wrote: >> >> Hi, >> >> Is there any way besides using default credential to connect to CRM? >> >> Sunny >> >> > > |
|
|||
|
Re: Connecting without using deafault credential
The 2 issues could be related. Are you using a DNS name or an IP to access CRM?
If you are using an IP, then it assumes the machine is in the Internet zone and you will most likely be prompted for credentials. You may need to add the machine to your Local Intranet zone in IE. Does this same thing happen from other client machines or just yours? The 401 could be coming from the above issue or it could be a number of other issues. Where is the code deployed? on the CRM erver or another machine? If it's on a nother machine, try putting it on the CRM server. Web apps have trouble passing the credentials through properly. Make sure your virtual directory is configured to run with the same auth reqs as the CRM site. Also, try passing in explicit creditisla vs default credentials to see if it's an integrated security issue or not. Matt Parks MVP - Microsoft CRM ---------------------------------------- ---------------------------------------- On Thu, 20 Jan 2005 19:14:58 -0800, "Sansanee" <sansanee@nospam.com> wrote: Hello Matt, Thank you for your help. I actually have a slightly different problem. I try to connect to the CRM system using the default credentials, as follows: // BizUser proxy object Microsoft.CRM.Proxy.BizUser oBizUser = new Microsoft.CRM.Proxy.BizUser (); oBizUser.Credentials = System.Net.CredentialCache.DefaultCredentials; oBizUser.Url = strDir + "BizUser.srf"; Microsoft.CRM.Proxy.CUserAuth oUserAuth = oBizUser.WhoAmI(); The call to WhoAmI fails with HTTP 401 (Unauthorized access). This is strange as I do have a user account on the machine. There is another thing that is strange. When I go into IE and try to connect to the CRM system, it asks me for the login information. I don't understand why it does that. IIS is set up for integrated Windows authentication. I never have this problem when I connect to Exchange Server using Outlook Web Access. I appreciate your help. Sunny "Matt Parks" <mattp65@Yax_RemoveDashAndX_xhoo.com> wrote in message news:e4huu0t350jjiia1q0dhflag5l37nfbevj@4ax.com... > You can change the security option for IE to prompt for a login when you run. > This is done in the advanced settings for the Interanet Zone. Another option is > to use the IP address instead of the DNS name. > > Matt Parks > MVP - Microsoft CRM > > ---------------------------------------- > ---------------------------------------- > On Tue, 18 Jan 2005 18:28:54 -0800, "Sansanee" <sansanee@nospam.com> wrote: > > Hi, > > Is there any way besides using default credential to connect to CRM? > > Sunny > > |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|