Answered by:
The request failed with HTTP status 404: Not Found.

Question
-
Hi All,
Prevoiusly ms crm was hosted on 5555 and now it has been changed to 5055. After that when i am trying to browse my web services that i have deployed on the same port i.e 5055 then I am getting that error. I tried with the single html page from the same location and I am able to browse that page with the port no 5055 but not that web service. I have checked code has no error, there is only one line in source code. ALSO WEBSITE DEPLOYED AND IIS are in same framewaork i.e .Net 2.0.
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.Net.WebException: The request failed with HTTP status 404: Not Found.
Stack Trace:
[WebException: The request failed with HTTP status 404: Not Found.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +412862 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300 Microsoft.Crm.Metadata.MetadataWebService.GetDataSet() +53 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadDataSetFromWebService(Guid orgId) +564 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromWebService(LoadMasks masks, Guid organizationId) +45 Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context) +561 Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context) +482 Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context) +574 Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id, String entityName, Guid organizationId) +119 Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context) +540 Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) +553 Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context) +119 Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) +119 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo) +428 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId) +212 Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId) +405 Microsoft.Crm.Authentication.WindowAuthenticationProviderBase.Authenticate(HttpApplication application) +732 Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application) +332 Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application) +106 Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) +1358 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
Any ASAP help is appreciated.
Regards,
Bhaskar
Saturday, August 21, 2010 12:03 PM
Answers
-
Have a read through this KB. There are several settings that need to be addressed.
How to update the Microsoft Dynamics CRM Web site port after you install Microsoft Dynamics CRM 4.0
- Marked as answer by Jim Glass Jr Tuesday, August 24, 2010 4:00 PM
Tuesday, August 24, 2010 1:46 PM
All replies
-
Hi ,
Are you not able to access any Custom web service or you are not able to access MS CRM Web service on this port 5055 ?
Vilas http://www.mscrm-vilas.blogspot.comMonday, August 23, 2010 6:42 AM -
Hi,
Custome webservice hosted in MS CRM website.It is working in default website.
Thanks and regards,
Bhaskar
Monday, August 23, 2010 7:03 AM -
also check in windows registry on crm server for the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM and check the value in "ServerUrl". may be you will need to restart iis or recycle crmapppool afterwards
- Proposed as answer by ameed sheikh Monday, August 23, 2010 7:57 PM
Monday, August 23, 2010 7:56 PM -
Have a read through this KB. There are several settings that need to be addressed.
How to update the Microsoft Dynamics CRM Web site port after you install Microsoft Dynamics CRM 4.0
- Marked as answer by Jim Glass Jr Tuesday, August 24, 2010 4:00 PM
Tuesday, August 24, 2010 1:46 PM