windows-7

How can I use a local SMTP server when developing on Windows 7? [closed]

依然范特西╮ 提交于 2019-12-17 21:50:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . How can I get SMTP to work on a Windows 7 development box? I used to just be able to turn on the IIS SMTP server on Windows XP. Is SMTP not included with Windows 7? If so, what can I use instead as a free relay mechanism? 回答1: SMTP isn't included with Windows Vista, either - you'll have to download and install a

How to run ASP.NET C# web application locally?

三世轮回 提交于 2019-12-17 20:22:48
问题 For a web application I am using ASP.NET C# (OS- Windows7, .NET 4) and the task has done. But I don't know how to run it locally in Windows7 as well as in Server 2008(.NET 4 and IIS installed in server 2008). And I have to run it in both the platfrom . So any help please. Thanks a lot. 回答1: If you have IIS 7 installed on your Win 7 machine, then: Open you project in VS.NET Right click on your project's node in solution explorer and choose "Properties" Switch to the "Web" tab. Select the radio

How to explicitly lock a mounted file system?

霸气de小男生 提交于 2019-12-17 20:01:15
问题 How do i write to a physical drive in Windows 7? I am trying to write to a physical disk (e.g. \\.\PhysicalDrive0 ) in Windows 7. This question has been asked to death , but has never been answered. It is something that used to work in Windows XP, but Microsoft intentionally broke in Windows Vista. Microsoft provides hints about how to do it, but nobody has even been able to figure it out. It used to work In the olden days, writing to a physical disk was allowed (as long as you were an

Eclipse and Windows 7

有些话、适合烂在心里 提交于 2019-12-17 19:44:17
问题 I have reinstalled my computer with Windows 7, and Eclipse 3.5.1 (Galileo). The weird thing is that I can not see any files that Eclipse produces. I can not find the workspace, can not find the files from the SVN after check out. It seems like Windows 7 can not read the files produced by Eclipse ... wierd What could be the reason for this? 回答1: Where do you have Eclipse installed? Where is your workspace? In Windows 7 (Vista, actually), a lot of security policies that existed only on paper in

HTTP Error 403.14 - Forbidden Error when accessing website

帅比萌擦擦* 提交于 2019-12-17 19:42:36
问题 So I have all the updated code, the entire solution builds. It works on everyone else's machine, however when I try and access localhost/extranet on my machine, it gives me this error: HTTP Error 403.14 - Forbidden Detail Error Info: Module DirectoryListingModule Notification ExecuteRequestHandler Handler 0x00000000 Requested URL http://localhost:80/extranet/ Physical Path C:\svn\K2\trunk\appteam\web\Chatham.Web.UI.Extranet\ Logon Method Anonymous Logon User Anonymous Now I tried going into

ADB cannot detect my Kindle Fire on Windows 7, but Device Manager can

旧城冷巷雨未停 提交于 2019-12-17 19:38:11
问题 So I've thrown the book at this problem and think I've isolated the cause. I've downloaded and installed JDK 32 and 64 bit. I've installed the Android SDK as needed. I've modified android_winusb.inf inside of the google-usb-driver to include the Kindle Fire device IDs. I tried downloading the kindle fire windows 7 driver from amazon (as described in the answer here), and using that. I tried modifying that driver to include the fire device ID in the x86 section. I've killed and restarted adb

get report of all open explorer windows

佐手、 提交于 2019-12-17 19:09:28
问题 I want to get a report of all open explorer windows titles and current paths. The current paths part of this is problem is answered here with C#, but I want this for powershell and am not sure how to adapt it. I am not sure how to bring out the window titles part of it. Could someone please assist. 回答1: Sounds to me like you're looking for something like this: $app = New-Object -COM 'Shell.Application' $app.Windows() | Select-Object LocationURL AFAICS the window objects don't have a title

Calling IPrincipal.IsInRole on Windows 7

送分小仙女□ 提交于 2019-12-17 18:42:00
问题 We use NTLM auth in our application to determine whether a user can perform certain operations. We use the IPrincipal of their current Windows login (in WinForms applications), calling IsInRole to check for specific group memberships. To check that a user is a local administrator on the machine, we use: AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); ... bool allowed = Thread.CurrentPrincipal.IsInRole(@"Builtin\Administrators") This works if the current user is

How to use the start command in a batch file?

让人想犯罪 __ 提交于 2019-12-17 18:34:22
问题 I have a batch file that starts an app with a lot of command-line parameters: "C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\11.0\WebDev.WebServer40.exe" /port:1672 /path:"C:\Code.Net\My App\Iteration 6\REL_6.8.806_PerfEnhanceV\Fusion\Code\CC.Fusion\CC.Fusion.Services" /vpath:"/FusionServices" The problem is that when I run the batch file, the DOS window stays up until the command completes and I would like it to go away. So I tried using the start command, but placing it in

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

旧城冷巷雨未停 提交于 2019-12-17 18:11:33
问题 Can you explain what this error is (and secondly why I am getting it)? FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) P.S. It may be related to Known Tomcat 6.0 and JDK 1.7.0_02 issues?, as I only started getting it after upgrading from JDK 1.7.0 to 1.7.0 update 2, with no other upgrades to other software. I am running: Eclipse Indigo 3.7 JDK 1.7.0_0u2 (JDK 7 update 2) Tomcat 6.0 Windows 7 Apache HTTP Server (although not using it yet)