简体   繁体   English

从 Dynamics CRM 2011 中的沙盒插件查询不同的 sql 服务器

[英]Querying a different sql server from a sandboxed plugin in Dynamics CRM 2011

I am writing a plugin (my first) for CRM2011 which needs to pull some information from a different sql server when an account is opened in the CRM.我正在为 CRM2011 编写一个插件(我的第一个),当在 CRM 中打开帐户时,它需要从不同的 sql 服务器中提取一些信息。 I'd like to run the plugin in the sandbox and am comfortable using ado.net, or linq2sql, or ef.我想在沙箱中运行该插件,并且很乐意使用 ado.net、linq2sql 或 ef。 I'm looking for advice on我正在寻求建议

  1. can this be done from the sandbox?这可以从沙箱中完成吗?

  2. which technology should i use so that I don't have to load up a bunch of assemblies that aren't already being used by CRM2011,我应该使用哪种技术,这样我就不必加载一堆 CRM2011 尚未使用的程序集,

  3. if I pass a username/password inside the connection string will that work?如果我在连接字符串中传递用户名/密码,那会起作用吗?

Any advice you can offer would be great!你能提供的任何建议都会很棒!

Can't be done from the sandbox.无法从沙盒中完成。 Take it out of the sandbox and the plugin was able to query other sql servers.将其从沙箱中取出,插件就能够查询其他 sql 服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从CRM 2011中提取SQL Server价值-如何做到这一点? - Extracting SQL Server Value from CRM 2011 - How do I do this? MS Dynamics CRM online 2011 - 身份验证问题 - MS Dynamics CRM online 2011 - Authentication issues 使用WCF的Dynamics CRM 2011附件 - Dynamics CRM 2011 attachments using WCF Dynamics CRM 2011 SyncWorkflowExecutionPlugin 找不到程序集 - Dynamics CRM 2011 SyncWorkflowExecutionPlugin unable to find assembly 是否可以在MS CRM 2011中禁用消息插件 - Is it possible to disable message plugin from firing in MS CRM 2011 从CRM沙盒插件调用WCF(使用生成的客户端)会抛出System.Security.SecurityException - Calling WCF (using generated client) from CRM sandboxed plugin throws System.Security.SecurityException 在开发 Dynamics CRM 2011 中找不到类型或命名空间名称 - The type or namespace name could not be found in Developing Dynamics CRM 2011 Microsoft Dynamics CRM 2011使用什么Web框架? - What web framework is used by Microsoft Dynamics CRM 2011? 此Microsoft Dynamics CRM 2011快速入门计划例外的解决方案是什么? - What is the resolution for this Microsoft Dynamics CRM 2011 Quick Start Program Exception? Dynamics CRM 2011-使用QueryExpression获取N:1相关实体集 - Dynamics CRM 2011 - Getting set of N:1 related entities with QueryExpression
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM