windows-server-2008

WIC CreateDecoderFromStream returning 0x88982F50 post server migration

僤鯓⒐⒋嵵緔 提交于 2019-11-30 23:39:31
I have a thumbnail generation routine that I created using WIC for a .NET app. It has been working fine for the past year, but we just migrated to a new server. Old Server was W2k8 R2 Enterprise SP1 New Server is W2k8 Standard SP1 Here's the code that is failing Public Sub New(ByVal PictureData As Byte()) Me.WICFactory = New WICImagingFactory() Dim InputStream As IWICStream = WICFactory.CreateStream() InputStream.InitializeFromMemory(PictureData, PictureData.Length) InputDecoder = WICFactory.CreateDecoderFromStream(InputStream, Nothing, WICDecodeOptions.WICDecodeMetadataCacheOnDemand) '^=====

Fail to install Python 2.7.9 on a Windows google compute engine instance

試著忘記壹切 提交于 2019-11-30 20:32:12
I fired up a new Windows google compute engine instance. It's running Windows 2008 R2, service pack 1. I download and try running the Python .msi installer for version 2.7.9, and it fails with this error: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. I see this error for both the 64-bit and the 32-bit installer. Has anyone else seen it or know of a work-around? Adrián I reproduced your issue and I found two workarounds: You can install python 2.7.6 successfully without

Sendmessage from NT Service to remote desktop session

让人想犯罪 __ 提交于 2019-11-30 20:26:12
问题 How can i send a sendmessage & postmessage from nt service to an application which launched in a remote desktop session? currently i temporarily solved this problem via udp communications between applications. 回答1: You cannot send messages across session boundaries. So you need an IPC solution like TCP/IP, sockets, named pipes etc. 回答2: Make a program that does a sendmessage/postmessage: program sendit; uses converters; begin exitcode:=sendmessage(covert1(paramstr(1)),convert2( .... etc end.

MVC3 Custom Error Pages work in dev, not on server

狂风中的少年 提交于 2019-11-30 19:59:40
问题 I am using the solution detailed in this SO Question. I've used this on other sites before and its worked fine, and it works on my dev box. However, when I publish to a our Windows VPS, errors return the standard IIS error page. I have never administered a web server before, and I am not sure what settings I need to check to figure out why its not returning the custom errors I have set up. I have tried setting .net error pages for the app to off and on, with the default page set to the root

IIS: How to disable Data Execution Prevention in Windows Server 2008?

浪尽此生 提交于 2019-11-30 18:28:19
I've been trying to disable DEP on my windows 2008 dev box and have not succeeded. I've tried: System Properties->Performance Options->Data Execution Prevention->Turn on DEP for essential Windows programs and services only (still happens) System Properties->Performance Options->Data Execution Prevention->Turn on DEP for all programs and services except those I select in this case, i tried to choose both inetinfo.exe and w3wp.exe in the c:\windows\system32\inetsrv\ folder, and when selected, I receive this error: "You can not set DEP attributes on 64-bit executables". I'm sure that there is

WIC CreateDecoderFromStream returning 0x88982F50 post server migration

£可爱£侵袭症+ 提交于 2019-11-30 18:09:14
问题 I have a thumbnail generation routine that I created using WIC for a .NET app. It has been working fine for the past year, but we just migrated to a new server. Old Server was W2k8 R2 Enterprise SP1 New Server is W2k8 Standard SP1 Here's the code that is failing Public Sub New(ByVal PictureData As Byte()) Me.WICFactory = New WICImagingFactory() Dim InputStream As IWICStream = WICFactory.CreateStream() InputStream.InitializeFromMemory(PictureData, PictureData.Length) InputDecoder = WICFactory

How to enable “World Wide Services (HTTP)” in the firewall using command line?

丶灬走出姿态 提交于 2019-11-30 17:02:55
I'm trying to share my site in the local network. I want to use command line tool to perform this action. Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows Firewall". Scroll the bottom of the list and look for World Wide Web Services (HTTP) and enable it on your networks. It works fine. Command line doesn't work: >> netsh advfirewall firewall set rule name="World Wide Web Services (HTTP)" new enable=yes Error: No rules match the specified criteria. What is wrong in the command line? I had same problem when i

How to enable “World Wide Services (HTTP)” in the firewall using command line?

[亡魂溺海] 提交于 2019-11-30 16:24:52
问题 I'm trying to share my site in the local network. I want to use command line tool to perform this action. Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows Firewall". Scroll the bottom of the list and look for World Wide Web Services (HTTP) and enable it on your networks. It works fine. Command line doesn't work: >> netsh advfirewall firewall set rule name="World Wide Web Services (HTTP)" new enable=yes

Is the memory not reclaimed for Delphi apps running on Windows Server 2008 (sp1)?

微笑、不失礼 提交于 2019-11-30 15:58:09
We have a D2007 application whose memory footprint grows steadily when running on Windows Server 2008 (x64, sp1). It behaves normally on Windows Server 2003 (x32 or x64), XP, etc... where it goes up and down as expected. We have tried with the included Memory Manager or the latest FastMM4 4.92 with the same results. Has anyone tried to monitor the memory usage of any Delphi app on Win2008 and would confirm? Or would have any clue? Precisions: - no memory leaks in the common sense (and yes I'm quite familiar with FastMM et al) - memory usage was monitored with Process Explorer; both Virtual

Mercurial CGI (hgweb.cgi) fails

自闭症网瘾萝莉.ら 提交于 2019-11-30 13:14:00
I have Mercurial 1.8.1, Python 2.6.6 installed on Win 2k8 R2 running on a vm. I have tried installing from msi, source and using tortisehg. Command-line Hg works fine but I get the same error when running the hgweb.cgi: Traceback (most recent call last): File ".\hgweb.cgi", line 17, in application = hgweb(config) File "mercurial\hgweb\__init__.pyc", line 26, in hgweb File "mercurial\hgweb\hgwebdir_mod.pyc", line 61, in __init__ File "mercurial\hgweb\hgwebdir_mod.pyc", line 70, in refresh File "mercurial\ui.pyc", line 35, in __init__ File "mercurial\demandimport.pyc", line 75, in __getattribute