简体   繁体   English

使用spmetal图层指定的工作流程任务摘要抛出错误时,投射无效

[英]workflow task summary throwing error specified cast is not valid using spmetal layer

I have created share point data access layer with spmetal, everything is works fine but when I try to query with task summary list through SPMETAL it throws error I tried several techniques to cast , directly use this Iqueryable list but as I try to access it, "it throws error specified cast is not valid" 我已经使用spmetal创建了共享点数据访问层,一切正常,但是当我尝试通过SPMETAL查询任务摘要列表时,它会引发错误,我尝试了多种方法来强制转换,直接使用此Iqueryable列表,但是当我尝试访问它时, “它抛出指定的强制转换错误无效”

Any help or clue why is throwing this error 任何帮助或线索为何引发此错误

Its solved by changing the types of event type to string and duration field with double . 通过将事件类型的类型更改为具有double的字符串和duration字段来解决。 that error was produced by SPMETAL wrong mapping while generating the layer form SharePoint. 该错误是由SPMETAL错误映射在生成图层表单SharePoint时产生的。

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

相关问题 指定的强制类型转换无效查询Sharepoint - Specified cast is not valid querying Sharepoint SharePoint 2010:使用SPMetal映射到图片超链接时出错 - SharePoint 2010: Error Mapping to Picture Hyperlink with SPMetal 自定义Sharepoint工作流抛出“WinWF内部错误,终止工作流”错误 - Custom Sharepoint Workflow throwing “WinWF Internal Error, terminating workflow” error 工作流模板没有为此页面指定FormURN关联现成的SharePoint 2010发布批准工作流时出错 - The workflow template has specified no FormURN for this page Error when Associating Out of the box SharePoint 2010 publihsing approval workflow 获取错误指定的参数超出有效值范围 - Getting error Specified argument was out of the range of valid values 使用SharePoint Web服务/对象模型批准SharePoint工作流任务 - Approve a SharePoint workflow task using SharePoint Web Services / Object Model Sharepoint工作流程任务时间限制 - Sharepoint workflow task time limite 在特定任务列表中创建Sharepoint工作流任务? - Creating a Sharepoint Workflow task in a specific task list? 使用多个任务列表的SP2010自定义状态机工作流 - SP2010 Custom State Machine Workflow using multiple Task Lists Sharepoint 2010工作流程:添加具有列表内容的任务 - Sharepoint 2010 Workflow: add task with List content
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM