windows-7

Cannot copy file, even though FileIOPermission is granted in C#

不羁岁月 提交于 2020-01-13 11:26:53
问题 I was trying out the FileIOPermission in Windows 7 in .NET 3.5. I have been a Windows XP user and was granted this permission as I was an administrator I wrote the following code, testing to see if I could write to C:\Program Files\Outlook...... static void Main(string[] args) { Console.WriteLine("Am I an administrator? " + new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator); // Try and open a file in C:\Program Files\Microsoft Office\Office14

Wanted: WinAPI calls logger

吃可爱长大的小学妹 提交于 2020-01-13 10:42:09
问题 There was an "API Monitor" program, but it seems discontinued. Doesn't work on my system. Is there any such tool, which can work on Windows 7 x64? I need to log API calls from a selected set, better when parameter values. 回答1: Heres is an list of such tools: http://www.woodmann.com/collaborative/tools/index.php/Category:API_Monitoring_Tools. You could try the first one, its OpenSource and was last updated this year: http://jacquelin.potier.free.fr/winapioverride32/ Edit: You could try this

Visual Studio 2013: Unable to access IIS metabase

白昼怎懂夜的黑 提交于 2020-01-13 10:19:30
问题 I'm trying to open an asp.net MVC project in Visual Studio 2013 on a Windows 7 machine. I'm getting an error about being unable to access the IIS metabase. I've tried every suggestion I could find on the web, but am unable to get this to work. The major change at our company is that our local file server went down. This held all of My Documents. I'm guessing that there was something in there that I need, but I don't know what that file is or how to restore it. I'm unable to make any changes

node.js and npm has no network access in windows 7 64 bit ultimate

房东的猫 提交于 2020-01-13 07:33:08
问题 NOTE: to anyone else who has this problem, I tried all suggestions and all research. In the end I formatted the hard drive and reinstalled windows. Even though it was a fresh install from the start some windows installations just appear to not work at all with node. As far as I know this is the only solution. So to start with, I already found the similar question: Basic Node.js examples not working on Windows 7 which seems to be the same issue but there is no solution. I have also found forum

Avoiding administrator access for SslStream.AuthenticateAsClient?

喜夏-厌秋 提交于 2020-01-13 06:54:10
问题 I have an application which uses the .NET SslStream class along with client and server certificates. This application works great on Windows XP. However on Windows 7 (probably Vista too), the below exception appears when calling SslStream.AuthenticateAsClient: System.ComponentModel.Win32Exception: The credentials supplied to the package were not recognized at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc) at

Git for windows launch gitk context menu with gitk-all

被刻印的时光 ゝ 提交于 2020-01-13 05:46:06
问题 I have Git for Windows installed. When I right click on a project and select Git History I get the Gitk window, but every time I do so I need to set the view to see all branches. Even when I edit the view and set it to Remember , I still do not get all branches on subsequent visits to Gitk. Alternatively, I can open the Bash window and type gitk --all for the same result. Both are inconvenient and I'd like to make the default behavior of rght clicking and selecting Git History to show gitk -

Removing a pinned app's icon from the Windows 7 taskbar on the application's major upgrade with WiX

孤人 提交于 2020-01-13 02:50:50
问题 After removing a WPF application which were installed with WiX, the app's icon, previously pinned to the Windows 7 taskbar, have not been removed automatically. It remains orphaned and needs to be removed manually. Is it a supposed, typical behaviour? The problem is that after a major upgrade of the application, the pinned icon remains inactive and needs to be manually deleted and repinned. It confuses some users. Is there a possibility to delete or reactivate the app's icon, pinned to the

How can I debug a VB6 IIS Application on Windows 7 64-bit

别来无恙 提交于 2020-01-12 14:26:48
问题 I have a need to be able to debug a Visual Basic 6 IIS Application on Windows 7 64-bit. Not just for a single problem but for continuing development. An attempt to debug results in an error "An unspecified error has occurred" from the WebClass runtime. If I do not debug and simply access the compiled webclass the page loads just fine. Therefore, I don't believe there is anything wrong with the registration / configuration of the application but rather this is somehow related to Windows OS

How can I debug a VB6 IIS Application on Windows 7 64-bit

末鹿安然 提交于 2020-01-12 14:26:43
问题 I have a need to be able to debug a Visual Basic 6 IIS Application on Windows 7 64-bit. Not just for a single problem but for continuing development. An attempt to debug results in an error "An unspecified error has occurred" from the WebClass runtime. If I do not debug and simply access the compiled webclass the page loads just fine. Therefore, I don't believe there is anything wrong with the registration / configuration of the application but rather this is somehow related to Windows OS

Certificate problem - Error Importing Key “object already exists” after Windows 7 upgrade

末鹿安然 提交于 2020-01-12 14:12:22
问题 I have about 60 .pfx files for all major assemblies for a project. They are unique files, but I use the same password for all. After an upgrade from Windows Vista to Windows 7 I get an Import Key File dialog requesting the password for them when I click Build in Visual Studio 2008. This would have been fine, but after inserting the password I get an error dialog: Error Importing Key - Object Already Exists. Any ideas? 回答1: Solved it! After the upgrade from Vista to Windows 7 the permissions