Exforsys

Free Training

Connecting without using deafault credential

This is a discussion on Connecting without using deafault credential within the Microsoft CRM forums, part of the ERP category; Hi, Is there any way besides using default credential to connect to CRM? Sunny...

Go Back   Exforsys > ERP > Microsoft CRM

Exforsys.com


Microsoft CRM Microsoft CRM Questions and Discussions.

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 01-18-2005, 10:28 PM
Sansanee
Guest
 
Posts: n/a
Connecting without using deafault credential

Hi,

Is there any way besides using default credential to connect to CRM?

Sunny


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-18-2005, 10:44 PM
daniel
Guest
 
Posts: n/a
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
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-20-2005, 01:42 AM
Matt Parks
Guest
 
Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-20-2005, 11:14 PM
Sansanee
Guest
 
Posts: n/a
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
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-21-2005, 02:27 AM
Laz
Guest
 
Posts: n/a
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
>>
>>

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-21-2005, 01:17 PM
Matt Parks
Guest
 
Posts: n/a
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
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.