windows-server-2008

Service not accessible when “Enable 32-Bit Applications” set to true

时光怂恿深爱的人放手 提交于 2019-12-21 06:43:01
问题 On the development server I use IIS Veresion 7.5.7600.16385 And a Service compiled for .Net 4.5.1, Any CPU The service works fine on the development server (Win Server 2008 R2). On the client's production server however I get strange problems: (Same IIS Version, same OS version) As soon as I set "Enable 32-Bit Applications" the service's URL is no longer accessible in a browser . (Page not available) (I need the 32Bit mode because the service uses some legacy COM components) What may cause

How do you run jvisualvm.exe under the local system account under Windows Server 2008?

无人久伴 提交于 2019-12-21 05:16:24
问题 I've been looking for a comparable approach as posted here for Windows Server 2003 for starting jvisualvm under system account. But I got the error: ...\jdk1.6.0_24\bin\jvisualvm.exe exited on ... with error code -1073741819. I found that jvisualvm is using a configuration file: ...\jdk1.6.0_24\lib\visualvm\etc\visualvm.conf This configuration file contains a default_userdir property that points to ${HOME}/... . The system account seems to have issues with ${HOME} . Changing this parameter

Trouble using DOTNET from PHP.

牧云@^-^@ 提交于 2019-12-21 05:14:21
问题 I've been trying to call a .net assembly from PHP through com (using DOTNET()). It seems like php is finding the DLL and initializing properly, but I can't see/use the methods for some reason. Anyone know how I might be able to fix this? Here is the php code I'm using to call the .net class. When I call it the output is "hello1 hello2". When I try to directly call the function by doing $csclass->ModelBuilder("","") I get a 500 server error specifying that it couldn't find the function. <?php

The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems

 ̄綄美尐妖づ 提交于 2019-12-21 03:56:10
问题 I have hosted my Webapp on server 1 and my database on server 2 But i m getting following error "Communication with the underlying transaction manager has failed." I googled and found a post which mentioned that it is the issue of DTC(Distributed Transaction) I enabled DTC on server2(DB server) and made an exception of it in Firewall. But still same error. Here is the full stack trace Message: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying

Installing System Font with Powershell

二次信任 提交于 2019-12-20 19:07:11
问题 I have a folder filled with TTF files of custom fonts. I need to install them as system fonts using a powershell script (this is on Windows Server 2008 R2). Does anybody know how to do that in powershell? Thanks! 回答1: It is quite simple. Take a look on the snippet below: $FONTS = 0x14 $objShell = New-Object -ComObject Shell.Application $objFolder = $objShell.Namespace($FONTS) $objFolder.CopyHere("C:\test\Myfont.ttf") And it should not require to restart/logoff... The 0x14 value is the CLSID

PTP sync on windows server (compared to i.e. Linux) - what precision can be guaranteed

纵饮孤独 提交于 2019-12-20 15:21:49
问题 I would like to know if everyone knows how precise PTP synchronization can be guaranteed on Windows Server 2008. I know about this thread: What is the minimum guaranteed time for a process in windows? which discusses windows' native time and yes, this does not give any guarantees at all. But what when it comes to hardware solutions (PTP)? Are there any limitations preventing a guarantee of < 1ms? I know the processes depending on the time will be competing for CPU time but if the process DOES

Application throws an error when launched from task scheduler

时光总嘲笑我的痴心妄想 提交于 2019-12-20 07:16:13
问题 I have a custom application which uses Microsoft.Office.Interop.Excel.Application to open and save excel file. I have a batch which fires the app with all the required parameters. That batch completes the task successfully when run manually but when I tried to schedule the same in task scheduler I got the following error msg logged from ma app: Microsoft Office Excel cannot access the file 'E:\tasks\extractSPdocs\downloads\Last_Minute_IT_DATA_DUMP_201404250000.xls'. There are several possible

Crystal Report redistributable for Windows Server 2008? - An error has occurred while attempting to load the Crystal Reports runtime

梦想与她 提交于 2019-12-20 04:06:26
问题 First at all, thanks everyone. What do I need to get work crystal report on windows server 2008? Or how can I get work rpt files (loaded by code and flush it to browser) on a website (framework 3.5/4.0) running on a windows server 2008 ? I mean, I load some rpt files (built them on crystal report 2008) and then using crystal object to export the file to xls/pdf, change the headers, make a flush to the browser and it works, this on windows server 2003/Seven/XP but the site doesn't work on

Does recycling the IIS7 application pool kill any currently executing requests?

房东的猫 提交于 2019-12-19 21:29:06
问题 Does recycling the IIS7 application pool kill any currently executing requests? Or does it wait for all requests to complete (like a drain-stop)? I don't want the recycling rules to cause intermittent errors from my WCF sites. Thanks 回答1: No. By default, the WWW service establishes an overlapped recycle, in which the worker process that is to be terminated is kept running until after a new worker process is started. This is from the Documentation for IIS6 and I am sure it applies for IIS7. If

R base package grid does not produce output

梦想的初衷 提交于 2019-12-19 10:28:55
问题 I am running 64-bit R 2.15.0 on a Windows Server 2008 R2 Amazon EC2 instance. grid does not produce output. For example, the following code should produce a single diagonal line in a device window: grid.newpage() l <- linesGrob() grid.draw(l) I, however, see nothing. Is there a flag or option I should be using on Windows Server 2008 R2 to enable grid output? EDIT: Another reproducible example that works on my home (Windows 7 x64) and work PCs (Windows XP): library(grid) library(png) img.path