Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 2007-将STP文件移动到其他服务器_Sharepoint_Sharepoint 2007_Sitetemplate_Stp - Fatal编程技术网

Sharepoint 2007-将STP文件移动到其他服务器

Sharepoint 2007-将STP文件移动到其他服务器,sharepoint,sharepoint-2007,sitetemplate,stp,Sharepoint,Sharepoint 2007,Sitetemplate,Stp,我必须将VS2008中的SP 2007项目内部版本移动到另一台服务器。 在我的第一台服务器上,站点模板库中有一些stp文件。在我的项目中,我使用这些文件创建新的SP站点。我已经在新服务器上上传了stp文件,但在使用GetCustomWebTemplates函数的源代码中找不到它们。我在新机器上创建的模板都可以正常工作。所以我想这就是问题所在 是否有可能将这些文件移动到其他服务器 谢谢您是如何将网站模板上载到新服务器的?通过用户界面。正常的DocLib上传功能。你是说你是在代码中以编程方式访问st

我必须将VS2008中的SP 2007项目内部版本移动到另一台服务器。 在我的第一台服务器上,站点模板库中有一些stp文件。在我的项目中,我使用这些文件创建新的SP站点。我已经在新服务器上上传了stp文件,但在使用GetCustomWebTemplates函数的源代码中找不到它们。我在新机器上创建的模板都可以正常工作。所以我想这就是问题所在

是否有可能将这些文件移动到其他服务器


谢谢

您是如何将网站模板上载到新服务器的?通过用户界面。正常的DocLib上传功能。你是说你是在代码中以编程方式访问stp文件吗?问题不清楚,请重新表述。我使用SPSite的GetCustomWebTemplates功能获取模板并创建新网站。但此函数无法找到模板。如果我在服务器上创建了一个新模板,它将被此函数找到。是的,正确,两者都在Sp2007中运行