windows-7

IIS on Windows 7: 400 bad request when requesting XML files

房东的猫 提交于 2019-12-08 18:40:33
I have a website running under IIS on Windows 7. Everytime the webpage requests an XML file I receive a 400 Bad Request (diagnosed through firebug). If I request the XML file directly by typing it into my browser it works. This not only happens for .xml file extensions but .xsl too; both of which contain XML data. I found the issue. When requesting the XML files I was adding the If-Modified-Since header which is in the HTTP spec but IIS on Windows 7 seems to return 400 Bad Request when this is added. Simply removing this header from the request fixes the issue. Is your xml file static or

“JRE 1.3 or higher must be installed!” / “JDK 1.3 or higher must be installed!” errors installing JAI 1.1.3 on Windows 7 (x64)

為{幸葍}努か 提交于 2019-12-08 17:39:58
问题 I am getting these errors... Severe: JRE 1.3 or higher must be installed! Severe: JDK 1.3 or higher must be installed! ...when installing JAI (Java Advanced Imaging) 1.1.3 on Windows 7 (x64), with JRE 7 (1.7) installed at "C:\Program Files\Java\jre7" and JDK 7 (1.7) installed at "C:\Program Files\Java\jdk1.7.0". Following http://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html#Windows, specifically this is what I did: Visited: http://download.java.net/media/jai/builds/release/

How to correctly have modeless form appear in taskbar

情到浓时终转凉″ 提交于 2019-12-08 17:00:02
问题 I am trying to achieve the age-old Delphi dream of having a modeless form appear in the taskbar. What is the correct way to have a modeless form appear in the taskbar? Research Effort These are my attempts to solve the problem. There are a lot of things needed to make it behave correctly - simply having a button appear on the taskbar is not a solution. Having a Windows application behave correctly as a Windows application should is my goal. For those who know me, and how deep my "shows

Delphi application window z order and MainFormOnTaskBar property

旧时模样 提交于 2019-12-08 16:51:19
问题 I'm maintaining an application originally written in Delphi 7 and ported to Delphi XE. Using Windows 7, we have experienced some problems like modal windows appearing under the main window and the eventual inability to interact with the program because the user is expected to interact with the modal form and that's impossible since it's under the main window. To avoid this problem I changed the MainFormOnTaskBar property of the project to True (older projects don't have this property) and now

F12 not working in Delphi debugger on Windows 7/8

限于喜欢 提交于 2019-12-08 16:43:41
问题 Pressing F12 while the program is running in the debugger should break the execution and open the debugger. This works correctly on Windows XP (tested with D2007 and XE2) but fails on Windows 7 and 8 (also tested with D2007 and XE2; tested on three computers). Registry is set up properly (Windows 7): [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug] "UserDebuggerHotKey"=dword:00000000 "Debugger"="\"C:\Windows\system32\vsjitdebugger.exe\" -p %ld -e %ld" [HKEY_LOCAL

Automatic toggling of character width by Windows 7 input methods in Java

做~自己de王妃 提交于 2019-12-08 16:25:35
问题 I have a couple of input methods for writing (Traditional Chinese) Taiwanese that come with the Windows 7. Also, all of the input methods have an option to switch the character width (single byte/double byte characters). Chinese (Traditional) - New Quick Chinese (Traditional) - ChangJie Chinese (Traditional) - Quick Chinese (Traditional) - Phonetic Chinese (Traditional) - New Phonetic Chinese (Traditional) - New ChangJie If I select one of these input methods in Java application and set the

Edit with IDLE (Python GUI) context menu on Windows 7

倖福魔咒の 提交于 2019-12-08 15:11:58
问题 Under Windows XP I have a context menu entry "edit with IDLE" for Python source files. I tried to make this work under Windows 7 (32 bit) as well by setting the corresponding registry entries under HKEY_LOCAL_MACHINE\SOFTWARE\.py\shellex\ContextMenuHandlers\ However without success - the context menu entry does not appear. How do I set a context menu entry for a specific file type in Windows 7? 回答1: I spent some time trying to figure this out, and finally got it. I'm running Windows 7, but it

Error installing a python module

六眼飞鱼酱① 提交于 2019-12-08 15:07:44
问题 I am trying to install a python module with the standard python setup.py install but I get the following error. I am fairly new to python but I have been able to install other modules in this way in the past. I am under the impression this module setuptools is not something I am supposed to have gotten separate from my python installation. Do I need to be in a specific directory or something? Error: Traceback (most recent call last): File "setup.py", line 3 in <module> from setuptools import

Powershell Get-WebSite name parameter is ignored

馋奶兔 提交于 2019-12-08 14:35:35
问题 I want to retrieve information regarding specific IIS 7 website using the PowerShell Get-Website cmdlet. Unfortunately, Get-Website returns information for all websites regardless of the -Name parameter I pass in. It appears that the -Name parameter is ignored. For instance, if I use: Import-Module WebAdministration Get-Website -Name "Test Website" I will receive information for all websites on my machine: Name ID State Physical Path Bindings ---- -- ----- ------------- -------- Default Web

Issues installing android studio on windows 7

∥☆過路亽.° 提交于 2019-12-08 13:54:27
问题 I have spent 2 days now trying to research answers, but I seem to be having a different installation issue with Android Studio than others- the 'installer' never runs. Here's the situation: New to Android Studio, fresh install on a Win7 machine. Java JDK 1.8.0_25 installed, JAVA_HOME variable set, JDK_HOME variable set. javac -version returns proper version. I download the .zip file (android-studio-ide-135.1538390-windows) and unzip it per instructions. Next instruction is to launch studio