Thursday 24 January 2013

CRM 2011 Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service


When trying to connect to org through Plugin registration tool, was getting error.

When tried to browse http://server:5555/XRMServices/2011/Discovery.svc also was getting error and detail of error is in event viewer as 

WebHost failed to process a request.
Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/65652305
Exception: System.ServiceModel.ServiceActivationException: The service '/xrmservices/2011/Discovery.svc' cannot be activated due to an exception during compilation. The exception message is: Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.. ---> System.NotSupportedException: Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.
at System.ServiceModel.Activation.HostedAspNetEnvironment.ValidateHttpSettings(String virtualPath, Boolean isMetadataListener, Boolean usingDefaultSpnList, AuthenticationSchemes& supportedSchemes, ExtendedProtectionPolicy& extendedProtectionPolicy, String& realm)
at System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(String virtualPath, Boolean isMetadataListener)
at System.ServiceModel.Channels.HttpTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
Process Name: w3wp
Process ID: 3648


--
When opened IIS manager Microsoft Dynamic CRM authentication was set to "Windows Authentication" but was still getting above error.

Resolution:

This was due to mistakenly someone removed "Negotiate" Provider from "Microsoft Dynamic CRM" website,
To add it back perform following steps

Start->Run-> Inetmgr -> Microsoft Dynamic CRM -> select authenticate and click open feature in action panel ->click windows authentication and click on providers in action panel-> select Negotiate from available providers dropdown list and click add, and move it to top.

Restart IIS 





Monday 21 January 2013

A currency is required message prompt


On entity form a currency type field is placed. When record is opened and some number value is added in it, I got following error message.

---------------------------
Message from webpage
---------------------------
A currency is required if a value exists in a money field. Select a currency and try again.
---------------------------
OK  
---------------------------


Resolution:

Go to File -> Option. Under General Tab go to option "select a default currency" and then click on "Currency" lookup and specify currency to use.

Wednesday 16 January 2013

Tuesday 15 January 2013

Report Server Error


In event viewer following error message was display,

“Report Server (MSSQLSERVER) cannot load the SQLPDW extension.”
“Report Server (MSSQLSERVER) cannot load the TERADATA extension.”

This is due to reporting server installed does not have SQLPDW and TERADATA extentions installed, there are two options to resolve this, first if these extensions are not used then comment configuration to not load these, and second to install these component on server. 

More details on: http://jandho.blogspot.co.uk/2012/06/report-server-cannot-load-teradata.html


Friday 11 January 2013

Error occurred while fetching the report

I exported solution from one environment and trying to import into different environment half way through on import i started getting this error "Error occurred while fetching the report" having error number 0x8004832B

Reason: Reporting server/services was not running

Resolution:  Before importing try to open and run any built in report in destination environment and make sure that is working fine, that will give you bit more detail to problem. it might be because you don't have permission on reporting server.

Wednesday 9 January 2013

Assembly must be registered in isolation

When trying to import solution Error message is coming ".... Assembly must be registered in isolation".
Error is shown as user who is trying to import solution does not have got deployment admin rights.

To resolve this open deployment manager with a user who has got access to it, and then add the user who is trying to import solution as a deployment administrator.


http://gotcrm.blogspot.co.uk/2012/02/assembly-must-be-registered-in.html

Wednesday 2 January 2013

Business Management Error

Error Message: You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.

Reason: User is not added in CRM users area to access CRM org.