Hi,
I am unable to authenticate when using the WhoAmi() method. I have the following senario:
My CRM server name is "MSCRM-SBS" and the CRM web application is installed in the Inetpub\wwwroot\CRM folder and the mscrmservices folder is contained
in the CRM folder. I have also installed Visual studio 2003 on the same machine where the CRM server is installed.
In my application i have the following lines of code: (the application resides also on the computer in which there the CRM server is installed)
string strServer = "MSCRM-SBS";
string strVirtualDirectory = "mscrmservices";
string strDir = "http://" + strServer + "/" + strVirtualDirectory + "/";
Microsoft.Crm.Platform.Proxy.BizUser oBizUser = new
Microsoft.Crm.Platform.Proxy.BizUser ();
oBizUser.Credentials = System.Net.CredentialCache.DefaultCredentials;
oBizUser.Url = strDir + "BizUser.srf";
string strErrorMsg;
try
{
Microsoft.Crm.Platform.Proxy.CUserAuth oUserAuth = oBizUser.WhoAmI();
at this point there is an error and i am not able to continue. I don't
know what is the problem.
Best regards
Jacques Hamalian