snap-in

MMC could not created the snap-in SQL Server configuration manager

心不动则不痛 提交于 2021-02-19 02:53:11
问题 When i tried to connect to sql server configuration manager in sql server 2008. It shows error MMC could not create the snap-in. It was working perfectly till last night. What can be the reason, how can i solve it. But in background sql server is working perfect. 回答1: Win button + R , then type mmc and press enter. Choose File->Add/Remove Snap-in . Click Add to Console Root and find the "SQL Server Configuration Manager" You will be able to use it from there or replace existing console by

Referencing external assemblies from PowerShell snap-in

和自甴很熟 提交于 2019-12-23 03:22:43
问题 I'm developing a custom PowerShell snap-in, which references another project in the solution. When I try to debug the snap-in (following [these instructions][1]), the assembly fails to load and my cmdlet fails with the message "Could not load file or Assembly..." How do you instruct PowerShell on how to locate assemblies, or how do you specify where are located the assemblies needed by the snap-in? I'd prefer to avoid registering the assemblies in the GAC, at least during development. 回答1:

MMC 3.0 snap in development and 'connect to another computer…' dialog

感情迁移 提交于 2019-12-11 15:46:16
问题 I'm in the process of developing a custom MMC 3.0 snap-in and was wondering if there is some built in SDK/API way of connecting to another computer running the same snap-in? If so, can someone provide some code samples or links to tutorials on how this is possible? If it is not possible, what do you recommend to use for communicating with other machines? Would there need to be a separate service on the remote machine to accept and propagate the actions taken on the remote instance? Any help

What is the difference in the way I launch powershell console?

China☆狼群 提交于 2019-12-11 00:53:02
问题 I work with Sharepoint and I need Sharepoint snap-in present in my console host. When I run powershell from my Windows start menu, I run command Add-PSSnapin Microsoft.Sharepoint.Powershell snap-in is added ok, and everything works well. Also, everything is ok, when I run cmd.exe, and type powershell.exe to it and press enter. So I think no shortcut parameters are involved in this problem (but I not 100% sure :) ). But when I launch powershell through some launcher (I've tested Launchy and

MMC crash in windows 10

∥☆過路亽.° 提交于 2019-12-08 14:02:48
问题 On my Windows 10, mmc.exe crashes when I try to add the certificate snap-in. When I click "Ok" after having added the snap-in (computer account, local computer) the message: "Microsoft Management Console has stopped working" and I am offered a debug option. There are no further error messages. I have tried to run "sfc /scannow" and found nothing to repair. 回答1: The MMC is crashing because of the SqlManager.dll from SQLServer 2014 RTM ( 2014.0120.2000.08 ((SQL14_RTM).140220-1924 ) ) **********

Add-PsSnapin WebAdministration in Windows7

时间秒杀一切 提交于 2019-11-28 23:31:12
I want to use PowerShell to administer my IIS7 on Windows7 64 bits. I try install IIS7 Powershell snap-in http://www.iis.net/download/PowerShell I "Run as administrator", then typing the command listed below: msiexec /I iis7psprov_x64.msi but I get this error message: "The PowerShell snap-in is part of Windows Operating System. Please install via Programs and Features or Server Manager" I think this particular feature is not necessary to load the WebAdministration module but I active all options in "Programs and features | turn Windows features on or off | IIS | Web Management Tools | IIS

Add-PsSnapin WebAdministration in Windows7

僤鯓⒐⒋嵵緔 提交于 2019-11-27 14:48:44
问题 I want to use PowerShell to administer my IIS7 on Windows7 64 bits. I try install IIS7 Powershell snap-in http://www.iis.net/download/PowerShell I "Run as administrator", then typing the command listed below: msiexec /I iis7psprov_x64.msi but I get this error message: "The PowerShell snap-in is part of Windows Operating System. Please install via Programs and Features or Server Manager" I think this particular feature is not necessary to load the WebAdministration module but I active all