|
|
||||||
|
#1
|
|
|
|
|
Hi,
We have integrated our portal developed in ASP.NET 2.0 with MS CRM 3.0 using the web services exposed by CRM. We are able to insert the records successfully in Account and Contact Entity but while in update code fails with The Request Failed with HTTP status 401 Unauthorized We have tried all PreAuthenticated = True, Impersonation = True, default credential etc....but no Luck. Kindly, help us in over coming this strange problem. Thanks & Regards Bharat Arora |
|
|
|
#2
|
|
|
|
|
Hi Bharat,
The information you told, are too few telling you something "precious". I suggest some things, but I don't know is it useful for you, - you should create crm webservice proxy using wsdl.exe instead of Visual Studio 2005 add web reference dialog. The difference, wehn you are using directly Vstudio, the Vstudio builts in automatically the authentication method. may be it is incompatible. - the scenes behind might be infrastructural problems. For discovering authentication problems in IIS, you should use iisdiag (IIS diagnostic toolkit - free download from Microsoft). - You must install ms crm into a new website other than your application lays and unregister aspnet 2.0 scriptmaps before installation. (in 2.0 framework dir run aspnet_regiis.exe -k W3SVC/<crm website id>/ROOT if they are registered already. - possibly may have problems with website and AD integration. before MS CRM installation you can create a website for ms crm, and set explicitly NTLM AND Kerberos authentication on the website. Defaultly all website uses implicit authentication which sometimes not enough. Use adsutil.vbs for querying and setting NTLM and Kerberos in your website - You must use another app pool in your aspnet 2.0 website than CRMAppPool - If you have Windows 2003 R2 server, you must read the new IIS security settings and facilities in Technet pages - Please try to get information in the MS CRM Deployment list as well, because your problem might have infrastructural causes. Regards, Tibor "Bharat" wrote: [..] |
|
#3
|
|
|
|
|
Good or solve problems seemed with the VS.NET 2005 with the following
steps: You must create a new alone POOL for the application in vs.net 2005 that uds have created. On the other hand, I also trataria of placing OService. Credentials = new System. Net. NetworkCredential ("administrator", "pass@word1", "crm"); Slightly this way in the credentials for fault, it tries with the user that your using these. Agree yourself that the MSCRM runs under Framework 1.1 and the application throw in VS.ET 2005 this one in 2.0 On 9 feb, 19:35, "Bharat" <arorabha> wrote: [..] |
|
#4
|
|
|
|
|
Hi,
If you are a victim of “HTTP status 401: Unauthorized error” then please try the following tip. It may work for you. http://ayazahmad.wordpress.com/2007/...orized-errors/ Regards, |
|
|
| Similar Threads | |
| The request failed with HTTP status 401: Unauthorized. Hello All, Could be regurgitating an old issue that I have been unable to find a solution but here goes... System Info: VM1 (Virtual Machine running on VMWare Server 1.0.8) -... |
|
| The request failed with HTTP status 401: Unauthorized I am working on rolling out a new CRM 4.0 deployment. I have CRM up and running and now from a client machine am trying to get Outlook integration working. Please note that... |
|
| The request failed with HTTP status 401: Unauthorized. Hello, I am using the web service posted by MS under this link [..] to upload a file to a document library. Sharepoint is on a remote machine. I am getting the this error... |
|
| The request failed with HTTP status 401: Unauthorized I have a WebService in localhost, and the set in the web.config is <add key="WebReference.Service" value="http://localhost/HealthService/Service.asmx"/> and the code to... |
|
| The request failed with HTTP status 401: Unauthorized Hello, I'm trying to create a new account with the code from Microsoft tutorial and i am running into trouble with this line : "String accountId = account.Create(userAuth,... |
|
|
All times are GMT. The time now is 04:31 PM. | Privacy Policy
|