简体   繁体   English

通过Visual Studio为SharePoint 2013创建文档库

[英]Creating document library through visual studio for SharePoint 2013

I am trying to create document library using C# in visual studio for SharePoint 2013. But on running my application I am getting this error " Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable." 我试图在Visual Studio中为SharePoint 2013使用C#创建文档库。但是在运行我的应用程序时,出现此错误“ 32位进程不支持Microsoft SharePoint。请验证您是否在64位可执行文件中运行”。 at this part of the code using (SPSite site = new SPSite(siteUrl)) . 在这部分代码中使用(SPSite site = new SPSite(siteUrl)) What can be the possible solution for this?? 有什么可能的解决方案呢?

Thanks in advance. 提前致谢。

You seem to have a 32-bit machine. 您似乎有一台32位计算机。 SharePoint requires a 64-bit environment. SharePoint需要64位环境。 See here . 这里

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM