Dynamics crm自定义报表无法运行

使用的是dynamics crm2016 本地部署。admin是部署管理员帐号。service是crm的服务帐号,所有的服务都使用的是同一个帐号。
数据库使用的是Microsoft SQL Server 2014 sp1 的版本。使用的sqlserver的服务帐号。
现在出现的问题是:
所有的系统自带的报表都可以运行。使用报表向导创建的自定义报表没有办法运行。
服务器日志显示:

无法与数据源“CRM”建立连接。 (rsErrorOpeningConnection)
Microsoft.Crm.CrmConfigObjectNotFoundException: User Was Not Found
User Was Not Found

用sqlserver data tools 创建报表的时候数据源使用Microsoft Sql server 的类型方式可以创建成功
使用Microsoft Dynamics CRM Fetch的方式则无法创建,连接数据源提示

ID3242: 未能对安全令牌进行身份验证或授权。

连接到服务器“https://crm.tsta.com.cn/XRMServices/2011/Discovery.svc”时发生身份验证错误。确保连接字符串和凭据正确无误,然后重试。

这个问题折磨了我很久,请大神们帮忙。。。。。

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
我可以为Microsoft Dynamics CRM使用“Dynamics CRM PHP Connector”库吗?

<div class="post-text" itemprop="text"> <p>Is "Dynamics CRM PHP Connector" library created to make a connection with Microsoft Dynamics CRM? OR it is just a library to connect to PHP sources?</p> <p>If it can get connected to Microsoft Dynamics CRM, How? Could you help me in detail? Because the basic help exists but I want a complete documentation.</p> <p>I don't know the structure of Microsoft Dynamics CRM, so I asked if it can be used by ReST actions or I must use SOAP only? I want to create a form for example in my website, and then when I click submit in my site, I want it to be added to Microsoft Dynamics CRM Database too. So there are two approaches: 1. To use SOAP 2. to use ReST. Can I use ReST or not? I have searched and have found out that in order to send data to database in CRM, I must write bunch of code in PHP. So I decided to use some library like "Dynamics CRM PHP Connector", but its documentation is partial. Can you help me?</p> </div>

Dynamic CRM 2016 app连接服务器特别慢

Dynamic CRM 2016 app连接服务器特别慢,一直在第4步 下载自定义项那里转。请问是什么原因?

通过PHP API访问MS Dynamics CRM

<div class="post-text" itemprop="text"> <p>I need to authenticate and perform CURD operations in MS Dynamics CRM using PHP API.</p> <p>I have referred <a href="https://stackoverflow.com/questions/11993169/microsoft-dynamics-crm-2011-and-php/14740018#14740018">Reference1</a> <a href="https://msdn.microsoft.com/dynamics/crm/mt149065.aspx#_Create_new_Azure_subscription" rel="nofollow noreferrer">Reference2</a> <a href="https://msdn.microsoft.com/en-us/library/gg309638.aspx" rel="nofollow noreferrer">Reference3</a> <a href="https://msdn.microsoft.com/en-us/dynamics/crm/webapipreview.aspx" rel="nofollow noreferrer">Reference4</a></p> <p>and using the below steps:</p> <pre><code>settings &gt; Administration &gt; system settings &gt; previews &gt; accept terms &amp; conditions &gt; Web API Developer Preview &gt; Enable Dynamics CRM Web API Preview to yes </code></pre> <p>which is given in <code>Reference4</code> link.</p> <p>When I access,</p> <p><code>https://&lt;your organization name&gt;.crm.dynamics.com/api/data/contacts</code> </p> <p>and </p> <p><code>https://&lt;your organization name&gt;.crm.dynamics.com/api/data/accounts</code></p> <p>I can get all my contacts and accounts. </p> <p>But now I want to access it through php using api, </p> <ol> <li>How to send the request for contacts and accounts?</li> <li>How to create an application using AAD for trail version without providing credit card details?</li> </ol> <p>I tried the below code:</p> <pre><code>$ZDURL= 'https://www.microsoft.com/en-sg/dynamics/'; curlWrap("GET",$ZDURL); function curlWrap($action,$ZDURL) { $ch = curl_init(); /* $data = array('accountType' =&gt; 'MICROSOFT DYNAMICS', 'id' =&gt; '83261c03-3a21-4c64-b62c-00d6c2127c64', 'source'=&gt;'PHI-cUrl-Example', 'service'=&gt;'lh2'); */ //curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_USERPWD, "username:password"); curl_setopt($ch, CURLOPT_URL, $ZDURL); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); $output = curl_exec($ch); if($output===false) { echo "curl error &gt;&gt; ".curl_error($ch); exit; } else { echo "No Curl error occurs"; echo "&lt;pre&gt;";print_r($output); } exit; curl_close($ch); $decoded = json_decode($output); return $decoded; } </code></pre> <p>It shows as below:</p> <p><a href="https://i.stack.imgur.com/l8ubr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l8ubr.png" alt="enter image description here"></a></p> <p>Finally, got this <a href="https://msdn.microsoft.com/en-us/library/gg334767.aspx" rel="nofollow noreferrer">Query Data using the Web API</a> link, but no idea how to pass the request using php.</p> <p>Need a help to retrieve CRM details by using api.</p> </div>

Microsoft Dynamics CRM

请问一下Microsoft Dynamics CRM这个东西该怎么使用?我是新手,刚刚接触这个!求高手指点一下!本人感激不尽!谢谢

PHP:使用php中的curl通过microsoft dynamics crm将文件上传到sharepoint

<div class="post-text" itemprop="text"> <p>I am trying to upload files to the microsoft dynamics crm using php, for this I have integrated microsoft sharepoint to the crm. I have used curl for uploading the file to the sharepoint via crm but am getting 411 or 401 http error while executing the curl script.i am new to curl.Please help</p> <pre><code>&lt;?php ini_set('display_errors','On'); error_reporting(E_ALL); if(isset($_POST['submit']) ) { $process = curl_init(); $username = 'xxx'; $password = 'xxx'; $filename = $_FILES['ecosFile']['name']; $filedata = $_FILES['ecosFile']['tmp_name']; $filesize = $_FILES['ecosFile']['size']; $post = array('file' =&gt; new CurlFile($filedata), "filename" =&gt; $filename); print_r($post); curl_setopt($process, CURLOPT_URL, 'https://crmsharepoint.XXX/sites/xxx/application/Forms/?RootFolder=xxx'); curl_setopt($process, CURLOPT_HEADER, 1); curl_setopt($process, CURLOPT_HTTPHEADER, array('Content-Type:multipart/form-data', 'Content-Length:50')); curl_setopt($process, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($process, CURLOPT_USERPWD, $username . ":" . $password); curl_setopt($process, CURLOPT_TIMEOUT, 30); curl_setopt($process, CURLOPT_HTTPAUTH, CURLAUTH_NTLM); curl_setopt($process, CURLOPT_POSTFIELDS, $post); curl_setopt($process, CURLOPT_INFILESIZE, $filesize); curl_setopt($process, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($process, CURLOPT_FOLLOWLOCATION, true); curl_setopt($process, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($process, CURLOPT_SSL_VERIFYPEER, FALSE); $response = curl_exec($process); $resultStatus = curl_getinfo($process); curl_close($process); echo '&lt;pre&gt;';print_r($resultStatus); if($resultStatus['http_code'] == 200) { echo "hi".$response; } else { echo 'Call Failed '.print_r($resultStatus); } } ?&gt; &lt;div&gt; &lt;form action="testingcrm.php" enctype="multipart/form-data" method="post"&gt; &lt;input type="file" name="ecosFile" id="ecosFile"&gt; &lt;input type="submit" name="submit" value="Upload"&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> </div>

使用PHP从MS Dynamics CRM Web API获取联系人

<div class="post-text" itemprop="text"> <p>I'm using jamesmcq's library (<a href="https://github.com/jamesmcq/oidc-aad-php-library" rel="nofollow noreferrer">https://github.com/jamesmcq/oidc-aad-php-library</a>) to connect and fetch contacts data from Microsoft Dynamics CRM Online with PHP. I have successfully logged in via OAuth and got a token, but when I'm trying to access CRM Web API with the access_token, I got the following Exception:</p> <pre><code>AADSTS65001: The user or administrator has not consented to use the application with ID 'XXXXXX-XXXXXX-XXXX-XXX-XXXXXXX'. Send an interactive authorization request for this user and resource. </code></pre> <p>I already found this answer: <a href="https://stackoverflow.com/a/34885153/1305261">https://stackoverflow.com/a/34885153/1305261</a>, but I have only access to the new Azure Portal, not the Classic, so I have no idea where can I find the settings that the guy talked about. Besides, I found something similar under the Azure Active Directory menu, and I granted access for all permissions, but the Exception is still there.</p> <p>Can anyone help me how can I fix this error? </p> <p>UPDATED: Here's my setup for the app's privileges: <a href="https://i.stack.imgur.com/sGXh2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGXh2.png" alt="enter image description here"></a></p> </div>

将客户注册信息从PHP站点导入Microsoft Dynamics CRM 2011

<div class="post-text" itemprop="text"> <p>I spend a lot of time and searching and i don't find any solution for connect to my company crm and inser register customers information into the contact list crm. my site backend is php. Is there a solution for conncet to Dedicated crm company and insert my costomer info such as name and phone , ... to contact list of it?</p> </div>

CRM Explorer视图不显示

创建MicrosoftDynamics CRM系统Package项目,再创建Plug-in项目 ,找不到CRM Explorer视图,也找不到Connect to Dynamics CRM Server对话框,求解!!!!!

Linux / Apache使用PHP与基于Microsoft Dynamics构建的CRM集成

<div class="post-text" itemprop="text"> <p>Is it possible to to integrate/communicate from a linux/Apache (PHP) web server to a CRM built around Microsoft Dynamics?</p> <p>The example code I have is in C / C#, and assuming the web server is running on Microsoft - but I am using Linux/Apache and PHP. Can I still communicate and if so - how do I "interpret" the C# code to PHP?</p> </div>

未经授权:从PHP在线访问Web API Dynamics 365

<div class="post-text" itemprop="text"> <p>I'm trying to call the Dynamics CRM 365 online using PHP, but I keep getting the same error:</p> <blockquote> <p>Error: failed with status 401, response HTTP Error 401 - Unauthorized: Access is denied , curl_error</p> </blockquote> <p>This is my code</p> <pre><code>define('MS_CRM_URL', 'https://xxxx.crm4.dynamics.com'); define('MS_CRM_USER', 'xxxxx@xxxxx.onmicrosoft.com'); define('MS_CRM_PASS', 'xxxxxxxx'); $method = '/api/data/v8.2/contacts'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, MS_CRM_URL . $method); curl_setopt($ch, CURLOPT_USERPWD, MS_CRM_USER .':'. MS_CRM_PASS); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, array( )); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Accept' =&gt; 'application/json', 'OData-MaxVersion' =&gt; '4.0', 'OData-Version' =&gt; '4.0', 'Content-Type' =&gt; 'application/json', )); $server_output = curl_exec($ch); $status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); $json = array(); if ((int)$status_code === 200) { $json = json_decode($server_output); } </code></pre> </div>

在vs中写插件的流程细节是啥啊求救还有怎么把插件放入dynamics365中啊新手求帮助

在vs中写插件的流程细节是啥啊求救还有怎么把插件放入dynamics365中啊新手求帮助

Microsoft Dynamics 365 SDK 通讯 基础问题

我有一个应用程序,WPF开发的,现在要和一个公司的管理软件交互数据,已知与管理软件的通信方式是”Microsoft Dynamics 365 SDK 通讯“,我之前没有用过这种方式,明天有一个与管理软件开发人员的交流会。**我需要了解哪些内容呢?,如身份验证安全模型,应用程序使用的是 Web API 还是组织服务?等等。越详细越好,感谢

dynamics ax 窗体文本框下拉筛选

以一个表的某字段,筛选出另一个表的一批字段。如:部门和部门员工,实现下拉式,该怎么做

Web 部署到服务器一段时间后报数据库连接异常,回收或重启IIS资源池后正常,但隔段时间后又出现

做了个web应用,部署到服务器,开始运行正常,但是一段时间后(一天左右)就会报以下错误,重启或回收对应的IIS application pool后又恢复正常,一天之后又重现这个错误,严重影响使用,还请在线的各位帮忙分析分析。非常感谢 Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA). 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.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA). Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x800703fa): Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +119 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1088 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +124 System.Data.OleDb.OleDbConnectionInternal.CreateInstanceDataLinks() +94 System.Data.OleDb.OleDbConnectionInternal.GetObjectPool() +114 [InvalidOperationException: The .Net Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later.] System.Data.OleDb.OleDbConnectionInternal.GetObjectPool() +150 System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +320 System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +88 System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +24 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +38 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +507 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21 System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +19 System.Data.OleDb.OleDbConnection.Open() +42 _Default.Bt_test_Click(Object sender, EventArgs e) +1549 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9782450 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3163.0

PHP SOAP与MS Dynamics 2011/2013集成(IFD)

<div class="post-text" itemprop="text"> <p>Currently, I am trying to connect PHP website with MS Dynamics 2013. I found the following example (<a href="https://github.com/rocketeer007/php-dynamics-crm-2011" rel="nofollow">https://github.com/rocketeer007/php-dynamics-crm-2011</a>) to connect to but it is not working.</p> <p>I provided the configuration but is getting following error i.e.</p> <pre><code>string(576) "http://www.w3.org/2005/08/addressing/soap/faults:Sendera:InvalidSecurity An error occurred when verifying security for the message." </code></pre> <p>I couldn't find more information about the soap response.</p> <p>Here is the more information that I am sending in my request i.e.</p> <pre><code> **NOTE: For example purposes below I have changed the URLs** //Parameters values used in the below CURL $soapUrl = https://example.crmserver.com/adfs/services/trust/13/usernamemixed $headers = 'POST /adfs/services/trust/13/usernamemixed HTTP/1.1 Host: adfs.crmserver.com Connection: Keep-Alive Content-type: application/soap+xml; charset=UTF-8 Content-length: 1481' $content = '&lt;s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt; &lt;s:Header&gt; &lt;a:Action s:mustUnderstand="1"&gt;http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue&lt;/a:Action&gt; &lt;a:ReplyTo&gt; &lt;a:Address&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a:Address&gt; &lt;/a:ReplyTo&gt; &lt;a:To s:mustUnderstand="1"&gt;https://adfs.crmserver.co.nz/adfs/services/trust/13/usernamemixed&lt;/a:To&gt; &lt;o:Security xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" s:mustUnderstand="1"&gt; &lt;u:Timestamp u:Id="_0"&gt; &lt;u:Created&gt;2015-07-16T04:09:52.00Z&lt;/u:Created&gt; &lt;u:Expires&gt;2015-07-16T04:10:52.00Z&lt;/u:Expires&gt; &lt;/u:Timestamp&gt; &lt;o:UsernameToken u:Id="user"&gt; &lt;o:Username&gt;desktop\abc_service.mrl&lt;/o:Username&gt; &lt;o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"&gt;password&lt;/o:Password&gt; &lt;/o:UsernameToken&gt; &lt;/o:Security&gt; &lt;/s:Header&gt; &lt;s:Body&gt; &lt;trust:RequestSecurityToken xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512"&gt; &lt;wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"&gt; &lt;a:EndpointReference&gt; &lt;a:Address&gt;https://dev2013.crm.crmserver.co.nz/XRMServices/2011/Discovery.svc&lt;/a:Address&gt; &lt;/a:EndpointReference&gt; &lt;/wsp:AppliesTo&gt; &lt;trust:RequestType&gt;http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue&lt;/trust:RequestType&gt; &lt;/trust:RequestSecurityToken&gt; &lt;/s:Body&gt; </code></pre> <p></p> <pre><code> // Request $cURLHandle = curl_init(); curl_setopt($cURLHandle, CURLOPT_URL, $soapUrl); curl_setopt($cURLHandle, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($cURLHandle, CURLOPT_TIMEOUT, self::$connectorTimeout); curl_setopt($cURLHandle, CURLOPT_SSL_VERIFYPEER, TRUE); curl_setopt($cURLHandle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_NONE); curl_setopt($cURLHandle, CURLOPT_HTTPHEADER, $headers); curl_setopt($cURLHandle, CURLOPT_POST, 1); curl_setopt($cURLHandle, CURLOPT_POSTFIELDS, $content); curl_setopt($cURLHandle, CURLOPT_HEADER, false); curl_setopt($cURLHandle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $responseXML = curl_exec($cURLHandle); if(curl_exec($cURLHandle) === false) { echo 'Curl error: ' . curl_error($ch); } else { echo "no error &lt;br /&gt;"; var_dump($responseXML); } </code></pre> <p>I tried to see the error but get following i.e. no error</p> <p>I am stuck and researched over the internet and couldn't find anything on it therefore, is posting over here...</p> <p>More Information: When I tried this from command line i.e. curl -H "Authorization: Bearer" <a href="https://dev2013.crm.example.com/XRMServices/2011/Discovery.svc" rel="nofollow">https://dev2013.crm.example.com/XRMServices/2011/Discovery.svc</a> -v</p> <p>Then, I got the following output i.e.</p> <pre><code>About to connect() to dev2013.crm.appserv.co.nz port 443 (#0) * Trying x.x.x.x... connected * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using AES128-SHA * Server certificate: * subject: C=AU; ST=Sydney; L=Sydney; O=Example Ltd; CN=*.crm.example.com * start date: 2015-06-24 00:00:00 GMT * expire date: 2017-08-22 23:59:59 GMT * subjectAltName: dev2013.crm.example.com matched * issuer: C=US; O=thawte, Inc.; CN=thawte SSL CA - G2 * SSL certificate verify ok. &gt; GET /XRMServices/2011/Discovery.svc HTTP/1.1 &gt; User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 &gt; Host: dev2013.crm.example.com &gt; Accept: */* &gt; Authorization: Bearer &gt; &lt; HTTP/1.1 200 OK &lt; Connection: Keep-Alive &lt; Set-Cookie: ISAWPLB{11FDD9E3-24F0-455D-8590-436AF3F4D26D}={B0F3D377-6B32-45C6-A517-DA83209E8EA4}; HttpOnly; Path=/ &lt; Content-Length: 3127 &lt; Date: Thu, 16 Jul 2015 03:26:39 GMT &lt; Content-Type: text/html; charset=UTF-8 &lt; Server: Microsoft-IIS/8.5 &lt; Cache-Control: private &lt; X-AspNet-Version: 4.0.30319 &lt; REQ_ID: 5b87d8d2-8b5e-4979-b090-7df14a3a1603 &lt; Set-Cookie: ReqClientId=751fb9c2-ac10-478a-b933-2117420c660c; expires=Thu, 16-Jul-2065 03:26:39 GMT; path=/; secure; HttpOnly &lt; X-Powered-By: ASP.NET </code></pre> <p>It means that there is no issue with connecting to CRM using the above discovery server.</p> <p>Looking for instant help on the error and the best recommendation to get authentication from the CRM using PHP SOAP webservices.</p> <p>Thanks in advance.</p> <p>Cheers,</p> </div>

关于Box2d-自定义重力

下面是我在网上找的关于Box2d-自定义重力的设置教程--- cocos2dx box2d 自定义/重置重力 Box2D中的Dynamics包下有一个b2Island类,类中有一个Solve方法,这方法通过gravity形参对刚体进行重力模拟,代码如下: b.m_linearVelocity.x += step.dt * (gravity.x + b.m_invMass * b.m_force.x); b.m_linearVelocity.y += step.dt * (gravity.y + b.m_invMass * b.m_force.y); b.m_angularVelocity += step.dt * b.m_invI * b.m_torque; 所谓重置重力,就是在这里动手脚了。要怎么做呢?把这个gravity形参改成我们想要的重力,比如可以像下面的代码,设置为0. gravity = new b2Vec2(0, 0); b.m_linearVelocity.x += step.dt * (gravity.x + b.m_invMass * b.m_force.x); b.m_linearVelocity.y += step.dt * (gravity.y + b.m_invMass * b.m_force.y); b.m_angularVelocity += step.dt * b.m_invI * b.m_torque; 或者我们用了一个更便于重用的方法,在b2Body类添加一个b2Vec2类型的公共属性m_customGravity,然后在b2Island.Solve()方法中,判断是否设置了刚体的m_customGravity属性,如果有,则用m_customGravity进行重力模拟计算。然后我们在创建刚体时,只要设置一下m_customGravity属性就可以轻松重置重力了。 //2012-7-27 //added by ladeng6666 //如果刚体有自定义m_customGravity属性,则用其进行重力模拟计算 if (b.m_customGravity != null) { LDgravity = b.m_customGravity; }else { LDgravity = gravity; } //用更新后的LDgravity属性进行重力模拟计算 b.m_linearVelocity.x += step.dt * (LDgravity.x + b.m_invMass * b.m_force.x); b.m_linearVelocity.y += step.dt * (LDgravity.y + b.m_invMass * b.m_force.y); b.m_angularVelocity += step.dt * b.m_invI * b.m_torque; 请问在"或者我们用了一个更便于重用的方法,在b2Body类添加一个b2Vec2类型的公共属性"之后的操作.. 应该怎么完成,语句应该怎么添加?b2Body类跟b2Island我都找到了已经.但是具体修改.我试了一下都有错误 教程原文地址: http://www.ladeng6666.com/blog/2012/09/06/box2d%E8%87%AA%E5%AE%9A%E4%B9%89%E9%87%8D%E5%8A%9B/ 我已经在b2Body.h中添加 ![CSDN移动问答][1] 我添加有没有错误呢? 还是应该放在这里呢? ![CSDN移动问答][2] 有人说原教程的是AS的代码..会不会有影响呢? [1]: http://pic.wenwen.soso.com/p/20140823/20140823111753-1119451982.jpg [2]: http://pic.wenwen.soso.com/p/20140823/20140823111849-1825767215.jpg

如何使用PHP集成Dynamic CRM 2015内部部署API并创建潜在客户

<div class="post-text" itemprop="text"> <p>I am creating a web application in php, in that I need to integrate with Dynamic CRM 2015 on-premise API. Currently our CRM not using any authentication(not using ADFS). I have the following code which returns me some xml/array. But I am not sure if this is the expected output. It is returning only 'OrganizationData.svc'.</p> <pre><code>// The host name of the on-premises dynamics instance $host = 'crm.mycompany.com'; $organization = 'MyCompany'; $crm_url = "http://$host/$organization/"; $username = 'username'; $password = 'password'; $url = $crm_url . 'XRMServices/2011/OrganizationData.svc/SystemUserSet'; $ch = curl_init(); $headers = array( 'Method: GET', 'Connection: keep-alive', 'User-Agent: PHP-SOAP-CURL', 'Content-Type: application/json; charset=utf-8', 'Accept: application/json', 'Host: ' . $host); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_NTLM); curl_setopt($ch, CURLOPT_USERPWD, "$username:$password"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); $response=json_decode($response, true); print_r($response); </code></pre> <p>Microsoft has given APIs to create: <a href="https://msdn.microsoft.com/en-us/library/mt770366.aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/mt770366.aspx</a> , and retrive: <a href="https://msdn.microsoft.com/en-us/library/mt607871.aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/mt607871.aspx</a> . but I am confused how do I use that? </p> <p>Can someone please help me. I am new to API integration. Thanks a lot..</p> </div>

Azure托管服务关键技术

Azure 推出的托管服务,像NET应用服务、SQL服务、SharePoint服务、Dynamics CRM服务等,是怎样将现有的业务扩展到云端的?

CRM动态2011 XML缺失请求

<div class="post-text" itemprop="text"> <p>I am facing a problem with my XML request, which is part of the web to CRM dynamics 2011 in order to create leads.</p> <p>The code that i'm stuck in at the moment is as follows:</p> <pre><code> &lt;s:Body&gt; &lt;Create xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services"&gt; &lt;entity xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;b:Attributes xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"&gt; &lt;b:KeyValuePairOfstringanyType&gt; &lt;c:key&gt;name&lt;/c:key&gt; &lt;c:value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema"&gt;Name Test 1&lt;/c:value&gt; &lt;c:key&gt;E-mail&lt;/c:key&gt; &lt;c:value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema"&gt;test@test.com&lt;/c:value&gt; &lt;/b:KeyValuePairOfstringanyType&gt; &lt;/b:Attributes&gt; &lt;b:EntityState i:nil="true"/&gt; &lt;b:FormattedValues xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/&gt; &lt;b:Id&gt;00000000-0000-0000-0000-000000000000&lt;/b:Id&gt; &lt;b:LogicalName&gt;account&lt;/b:LogicalName&gt; &lt;b:RelatedEntities xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/&gt; &lt;/entity&gt; &lt;/Create&gt; &lt;/s:Body&gt; </code></pre> <p>The name is already available from within the code that I found, I tried to add the Email attribute (even Address) but nothing in the CRM other than the name, what exactly is the error in the code? how should it be fixed?</p> <p>Any help is appreciated and thank you everyone in advance.</p> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

ArrayList源码分析(入门篇)

ArrayList源码分析 前言: 写这篇博客的主要原因是,在我上一次参加千牵科技Java实习生面试时,有被面试官问到ArrayList为什么查找的速度较快,插入和删除的速度较慢?当时我回答得不好,很大的一部分原因是因为我没有阅读过ArrayList源码,虽然最后收到Offer了,但我拒绝了,打算寒假学得再深入些再广泛些,下学期开学后再去投递其他更好的公司。为了更加深入理解ArrayList,也为

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

玩转springboot启动banner定义所得

最近接手了一个springboot项目,不是不熟悉这个框架,启动时打印的信息吸引了我。 这不是我熟悉的常用springboot的打印信息啊,我打开自己的项目: 还真是的,不用默认的感觉也挺高大上的。一时兴起,就去研究了一下源代码,还正是有些收获,稍后我会总结一下。正常情况下做为一个老程序员,是不会对这种小儿科感兴趣的,不就是一个控制台打印嘛。哈哈! 于是出于最初的好奇,研究了项目的源代码。看到

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

你打算用Java 8一辈子都不打算升级到Java 14,真香

我们程序员应该抱着尝鲜、猎奇的心态,否则就容易固步自封,技术停滞不前。

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

立即提问
相关内容推荐