【问题标题】:Sharepoint 2010 stsadm createsite command in command line giving me error that "The web application url http://xxxx cannot be reached命令行中的 Sharepoint 2010 stsadm createsite 命令给我错误“无法访问 Web 应用程序 url http://xxxx
【发布时间】:2012-01-19 22:00:30
【问题描述】:

我试图从 sharepoint2010 中的命令行运行 createsite stsadm 命令,但我收到错误消息“无法访问 Web 应用程序 url http://....”。我已经搜索了网络和大多数博客/网站,它们都从 Visual Studio 代码中引用了这种相同类型的错误。他们要求将 VS 中的目标更改为 64 位。但在这里我不是从 Visual Studio 运行的,我只是尝试在命令行中运行 createsite stsadm 命令。

任何帮助将不胜感激..

谢谢

【问题讨论】:

  • 你正在尝试的用户,是否有足够的权限?

标签: sharepoint command-line stsadm


【解决方案1】:

如果您运行的是 SharePoint 2010,则应考虑迁移到 PowerShell。用于此的 PowerShell 命令是:

获取-SPWebTemplate $template = 获取-SPWebTemplate "STS#0" New-SPSite -Url "" -OwnerAlias "" -Template $template

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多