jump to navigation

CRM: AuthenticationParameters: Object reference not set to an instance of an object October 16, 2018

Posted by juanpablo1manrique in SharePoint.
Tags:
trackback

Este código me estaba arrojando un error,

AuthenticationParameters ap = await AuthenticationParameters.CreateFromResourceUrlAsync(
new Uri(serviceUrl + “api/data/”));

return ap.Authority;

El error que arrojaba era del tipo

Object reference not set to an instance of an object

Para solucionarlo fue necesario agregar la siguiente línea en el web.config

<httpRuntime targetFramework=”4.6″ />

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: