问题标签 [windows-server-2012]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
3277 浏览

azure - Keyset does not exist exception with deployment on windows server 2012 on Azure

I got a problem with upgrading my deployment to windows server 2012, my deploy works fine with osfamily=2 and compiled with .net4, but failed at .net4.5 and osfamily=3,

the exception I saw when remote to the vm is "Keyset does not exist", seems to related to some certificates. My program using the certificates to encrypt some stream and should be able to using this certs to decode this stream after I deploy it. I checked the certs on vm, it is installed fine, in the right place. So I suspect this is an issue with the different secure policy with 2012 that prevent my role to get the key in the certs.

this blocks me for a while so Thank a lot for any clue!

0 投票
1 回答
275 浏览

html - 我可以在 Windows Server 2012 上使用 HTML5 为 Windows 8 编写和运行 Metro 应用程序吗?

我需要学习编写 Windows 8“Windows Store”应用程序(以前称为 Metro)。我拥有 Windows Server 2012 的许可证,而不是 Windows 8。问题是,我可以运行和编写 Metro 应用程序(用 HTML 5 编写)在 Windows Server 2012 上?我有可以安装在服务器上的 Visual Studio 2012。

0 投票
1 回答
1057 浏览

msmq - Winserver 2012 上的 Nservice 总线安装

我正在尝试在新的 win server 2012 机器上安装 nservice 总线,但工作不正常。任何帮助表示赞赏..

我的设置过早地失败了,当我转储到日志文件时..这是我得到的错误..

如有必要,调用自定义操作 NServiceBus.Wix.CustomActions!NServiceBus.Wix.CustomActions.CustomActions.InstallMsmq 安装/启动 MSMQ。CustomAction InstallMsmqAction 返回实际错误代码 1603(请注意,如果翻译发生在沙箱内,这可能不是 100% 准确) 操作于 16:36:36 结束:InstallFinalize。返回值 3. 动作 16:36:36:回滚。回滚动作:

我必须手动添加 MSMQ 功能吗?

0 投票
1 回答
2914 浏览

c# - C# Powershell 脚本失败:“无法获取区域信息”

我创建了一个实用地创建 DNS NS 记录的小站点。当我在 PS(在我的 site.com 服务器上)中执行我的代码时,它运行良好,但是当我从网站(托管在我的 site.com 服务器上)运行它时,它失败并出现错误:“创建 IP 1.1.1.1 时出错。错误:无法在服务器 myServer 上获取 site.com 的区域信息”

我的 PS 脚本是:

我的 C# 代码是:

我已经确认该站点将运行 PS 命令,例如

没有问题。

Powershell 版本是 3.0,服务器是运行 IIS 6.2 的 Windows Server 2012。

非常感谢任何帮助,在此先感谢。

0 投票
1 回答
177 浏览

windows - 文件夹在 VS2012 中不可见,但在资源管理器、Powershell 和 Open.. 记事本中的对话框中可见

我在 Windows Server 2012 上安装了 VS2012。我还在同一台机器上安装了 Microsoft 证书服务,目的是在那里自定义经典 ASP 页面。

当我使用“打开网站”对话框时,我看不到该文件夹​​。无论我是否被提升,结果都是一样的。

在此处输入图像描述

但是我可以在powershell中查看文件夹

在此处输入图像描述

为什么VS2012看不到文件夹?

我还创建了一个名为 certsrv-powershell 的文件夹,它也没有出现

0 投票
0 回答
139 浏览

php - PHP版本升级后出现致命错误

重新安装服务器后,我刚刚升级了我的 PHP 版本。以前有效的代码不再有效。它告诉我一个致命错误。

我检查了附近的线路(39-41 包括在下面),我看不到任何可能出错的地方。

我在 Windows Server 2012 上运行 PHP 5.4.9。在 php.ini 中,我设置了错误报告以显示所有错误,并且我还启用了 PDO 扩展。

怎么了?

0 投票
1 回答
494 浏览

amazon-web-services - 如何使用 windows server 2012 设置 AWS elastic beanstalk

我是 AWS 设置的新手,在花了很多时间研究在 AWS 上为 .NET 应用程序设置实例的简单方法之后,我最终决定使用 Elastic Beanstalk。

创建弹性 beanstalk 应用程序(示例应用程序)后,我需要将我的文件和数据库上传到该应用程序并通过 URL 访问它。

我还没有找到一个简单的直接教程来展示这一点。如果有人有教程网站的链接或已完成此操作,希望您知道该过程。

我创建了一个安全组并添加了一个密钥对。我需要通过 SSH 访问它并安装 FTP 等吗?

帮助表示赞赏。

-阿迪。

0 投票
2 回答
1731 浏览

mongodb - MongoDB Window 服务连接到文件服务器而非本地磁盘上的“data/db”

我在Windows 8 服务器上安装了MongDB 2.2.2 ,但无法启动服务。我正在尝试连接到位于同一网络中的文件服务器上的数据库,但它不会启动并且我收到此错误:

e:/data/db是映射目录,我什至尝试过使用连接\\SERVERNAME\SharedFolder\data\db,但结果仍然相同。

0 投票
1 回答
844 浏览

iis - iis 8 元数据库是否向后兼容 7.5

我将 IIS 8 元数据库 (Windows Server 2012) 复制到 IIS 7.5 (Windows 2008 R2) 框中。它工作正常。Microsoft 是否有官方声明确认 IIS 8 元数据库向后兼容 IIS 7.5?

0 投票
1 回答
5840 浏览

windows-server-2012 - 使用现有数据在 Windows Server 2012 上创建存储池?

我有一个现有的 2TB 驱动器,大约 1/3 已满。我有另一个 2TB 驱动器,我想添加并创建一个存储池以实现冗余。唯一的问题是,我只能将空驱动器添加到存储池中。有什么方法可以创建一个新的存储池,同时仍然保留我现有的数据?

谢谢!蒂姆