当我尝试使用远程桌面连接连接到Windows 2012 Server时,我已连接约1秒钟.然后与以下错误断开连接:
由于协议错误(代码:0x112f),远程会话将被断开.
直到昨天,连接工作正常,没有错误,没有服务器更改.我之前从未见过这个错误.我试图降低体验面板中的视觉外观设置(找到类似错误的可能解决方案),但没有结果.
如何检查GAC组装详细信息Windows Server 2012?我设法通过Powershell注册一个DLL,现在我需要验证它是否真的完成了.
我正在尝试使用" 阶段 "任务在Windows Server Server 2012上播放2应用程序,目标是将其包装在服务中,以便应用程序在服务器重新启动时自动运行.但是,在运行应用程序时,我收到以下消息:
The input line is too long.
The syntax of the command is incorrect.
Run Code Online (Sandbox Code Playgroud)
这是因为Windows 对命令行指令的限制大约为8000个字符,但似乎Play阶段命令通过将类路径作为参数传递而超出此范围.
将"stage"文件夹复制到c:\ 可能会解决问题(因为它会减小类路径的大小),但我希望有一个更优雅的解决方案.
有没有人找到解决这个问题的方法?或者,人们对在Windows上运行Play应用程序有任何建议,以便在服务器重新启动时自动运行.
谢谢.
首先感谢您对此进行审核.
我基本上有一个第三方代理软件,它允许我作为LocalSystem执行PowerShell.这使我可以在没有WinRM等的情况下轻松运行远程PowerShell命令.
我遇到的问题是,在某些服务器上,我无法执行get-WindowsFeature或Add-WindowsFeature.
我试图实现这一目标的一个例子是:
Import-Module ServerManager;
Get-WindowsFeature;
Run Code Online (Sandbox Code Playgroud)
输出如下:
The term 'Get-WindowsFeature' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Run Code Online (Sandbox Code Playgroud)
如果我在PowerShell窗口中键入相同的命令,或直接调用PowerShell.exe,则返回.我试图弄清楚我们在应用程序中做得不对,但我是PowerShell中最熟悉的人.
加载这些cmdlet需要做些什么特别的事情吗?奇怪的是,Get-Module没有显示任何内容.
谢谢!
回应JBSmith:
Yessir - 看起来像2.0.以下是您提到的命令的结果
>Name Value
>---- -----
>CLRVersion 2.0.50727.6407
>BuildVersion 6.1.7600.16385
>PSVersion 2.0
>WSManStackVersion 2.0
>PSCompatibleVersions {1.0, 2.0}
>SerializationVersion 1.1.0.1
>PSRemotingProtocolVersion 2.1
>
>Name : AppLocker
>Name : Appx …Run Code Online (Sandbox Code Playgroud) 我试图在Windows Server 2012上启用Net 3.5 Framework.但是,我在Internet上找到的所有说明都说我必须拥有Windows Server 2012的DVD.
由于我没有DVD,我一直在寻找下载此功能的位置.
提前致谢
我如何在Windows Server 2012中使用Windows索引服务.我在Windows Server 2003和Windows Server 2008中使用了窗口索引.我无法在窗口服务器2012中找到窗口索引.
我正在尝试使用CruiseControl.Net和MSBuild设置构建服务器.然而,它失败了错误:
"C:\Builds\PremiumStore\checkout\PremiumStore.sln" (default target) (1) ->
"C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj" (default target) (37) ->
(ResolveComReferences target) ->
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2151,5):
error MSB3091: Task failed because "AxImp.exe" was not found, or the correct Microsoft
Windows SDK is not installed.
The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK- NetFx40Tools-x86.`
You may be able to solve the problem by doing one of the following:
1. Install the Microsoft Windows SDK. …Run Code Online (Sandbox Code Playgroud) msbuild asp.net-mvc-4 visual-studio-2012 windows-server-2012
我们使用以下函数来获取当前引导配置指定的处理器数.此数字仅用于记录.
以下功能适用于XP,Vista,7,2003和2008.但是,它在Windows 2012 Server上失败.
// -1 = not implemented or not allowed
// 0 = not limited
// >0 = number of processors in the {current} boot entry
function Internal_GetBCDNumberOfProcessors: integer;
var
objBcdStore : OleVariant;
objElement : OleVariant;
objWBL : OleVariant;
objWMIService: OleVariant;
begin
// for more info, see: http://stackoverflow.com/questions/7517965/accessing-bcdstore-from-delphi/7527164#7527164
Result := -1;
try
objWMIService := GetObject('winmgmts:{(Backup,Restore)}\\.\root\wmi:BcdStore');
if (not VarIsNull(objWMIService)) and
boolean(objWMIService.OpenStore('', objBcdStore)) and
(not VarIsNull(objBcdStore)) and
boolean(objBcdStore.OpenObject('{fa926493-6f1c-4193-a414-58f0b2456d1e}', objWBL)) and
(not VarIsNull(objWBL))
then
if objWBL.GetElement($25000061, objElement) and //<-- fails here …Run Code Online (Sandbox Code Playgroud) .NET团队是否有计划在.NET 8/Server 2012中引入可在.NET中使用的RIO套接字?
在.NET中使用它们的过渡时期我有哪些选择 - 扩展Socket类?
除了Windows API文档,Windows套接字的新功能和Channel9视频,开发低延迟网络应用程序的新技术之外,我几乎找不到任何有关它们的文档.
我正在开发一个新的ASP.NET应用程序.在IIS8上,如果我禁用匿名访问并启用基本或Windows身份验证,它将进入无限重定向循环并在浏览器中断循环后登陆以下URL:
https://XXXXXX.com/Account/Login?ReturnUrl=%2FAccount%2FLogin%3FReturnUrl%3D%252FAccount%252FLogin%253FReturnUrl%253D%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FAccount%2525252FLogin%2525253FReturnUrl%2525253D%252525252FAccount%252525252FLogin%252525253FReturnUrl%252525253D%25252525252FAccount%25252525252FLogin%25252525253FReturnUrl%25252525253D%2525252525252FAccount%2525252525252FLogin%2525252525253FReturnUrl%2525252525253D%252525252525252FAccount%252525252525252FLogin%252525252525253FReturnUrl%252525252525253D%25252525252525252FAccount%25252525252525252FLogin%25252525252525253FReturnUrl%25252525252525253D%2525252525252525252FAccount%2525252525252525252FLogin%2525252525252525253FReturnUrl%2525252525252525253D%252525252525252525252FAccount%252525252525252525252FLogin%252525252525252525253FReturnUrl%252525252525252525253D%25252525252525252525252FAccount%25252525252525252525252FLogin%25252525252525252525253FReturnUrl%25252525252525252525253D%2525252525252525252525252FAccount%2525252525252525252525252FLogin%2525252525252525252525253FReturnUrl%2525252525252525252525253D%252525252525252525252525252FAccount%252525252525252525252525252FLogin%252525252525252525252525253FReturnUrl%252525252525252525252525253D%25252525252525252525252525252FAccount%25252525252525252525252525252FLogin%25252525252525252525252525253FReturnUrl%25252525252525252525252525253D%2525252525252525252525252525252FAccount%2525252525252525252525252525252FLogin%2525252525252525252525252525253FReturnUrl%2525252525252525252525252525253D%252525252525252525252525252525252FAccount%252525252525252525252525252525252FLogin%252525252525252525252525252525253FReturnUrl%252525252525252525252525252525253D%25252525252525252525252525252525252FAccount%25252525252525252525252525252525252FLogin%25252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525253D%2525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252FLogin%2525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525253D%252525252525252525252525252525252525252F
Run Code Online (Sandbox Code Playgroud)
凭据框永远不会弹出.可能有什么不对?