windows-server-2008-r2

creating service principal for springsecurity kerberos in 2k8 server

浪子不回头ぞ 提交于 2019-12-24 01:01:36
问题 I'm following this post http://blog.springsource.com/2009/09/28/spring-security-kerberos/ to set up a service principal on a local server which i'll be using to test the spring security integration with active directory. The server has tomcat running where i deploy my application and I access it by http://localhost:8080/myapp Question What should be my service provider name? The article says: For this to work, every web applications needs to be registered at the Kerberos server and gets a

Implementing Oracle.Web.dll, Oracle.DataAccess.dll 64-bit failed on Windows Server 2008 with IIS 7.5 32-bit disabled

我怕爱的太早我们不能终老 提交于 2019-12-23 22:31:53
问题 After successfully testing my MVC4 programs using this environment I tried to publish it to 64-bit Windows 2008 Server with the IIS that disallows 32 bit apps, then I start getting stuck with the exception : the referenced dll's dependencies cannot be found! I tried every advice the internet can give me including modifying web.config to reflect their dlls' on deploy-to server win 2008 using global cache cmd's on the prompt! Yet nothing works. 32-bit is working but 64-bit is flat broke! 回答1:

How to run wkhtmltopdf securely on user-supplied HTML?

六月ゝ 毕业季﹏ 提交于 2019-12-23 17:03:14
问题 Is wkhtmltopdf secure enough to prevent abuse when run server-side on user-supplied HTML, and if so, which arguments would I need? I found how to disallow local file access, but I'd also like at least to prevent network access to localhost, and generally have it be about as secure as a modern browser. Is it? I don't actually intend to run wkhtmltopdf on user-supplied HTML, but on server-generated HTML. I'm concerned that the presence of wkhtmltopdf would make any HTML injection vulnerability

Random “Printer selected is not valid” errors on Win2K8R2

别等时光非礼了梦想. 提交于 2019-12-23 12:56:22
问题 I recently changed the printing code for automated printing to a TPrinter based solution. (The old solution, writing text directly to the printer network device worked without errors for many years.) The application is written in Delphi 2009 Enterprise and runs continuously in a user session (not as a service). In regular intervals, the application scans a database for new documents, creates the text to be printed, and sends it to a printer. Before printing, the code sets the printer index:

Issue connecting to Server from WCF Client - HTTPS endpoint - Works on Local Dev but not Server

孤街浪徒 提交于 2019-12-23 11:39:08
问题 UPDATE LOG: Added more detail - Included the WCF Trace. Firstly, not a lot of WCF experience, so apologies if this is an obvious error. I'm writing a simple console application, that needs to connect to a third-party SOAP web service. The WSDL supplied by the supplier is here: http://pastebin.com/LJurv0qA I have used this to create a Service Reference within Visual Studio 2010 (Using .NET 4.0) to create the auto-generated code behind. I have also setup the app.config for the various

.net 4.5 Asp Mvc -> Error 403.14- IIS 7 - Windows Server 2008 R2

妖精的绣舞 提交于 2019-12-23 07:02:24
问题 When I want to deploy an MVC 4 (.net 4.5) application to my iis i got the 403.14 calling me that the content ist not browseable. This also occurs when i deploy the unchanged mvc 4 template. when using the mvc 4 template with .net 4.0 everything works. I checked the other posts but can't figure out the solution. ist set i ran aspnet_regiss -i which completed without any errors. the only strange thing is that .net 4.5 is installed in the .net 4.0 directory %windows%/microsoft.net/Framework64/ 4

scheduled task run .exe problem

旧巷老猫 提交于 2019-12-23 03:59:24
问题 I have a c# console app that writes some text to a txt file when runs. I have added it in scheduled task. the task runs without error on a scheduled time... but the console window dose neither pop up nor any text in the destination file! any idea where is the problem? I'm on windows server 2008 r2. 回答1: The console does not show because the scheduled task does not run as an interactive user. Text is not written in the dest file because probably it is not accessible by the user running the

How can I use the Browse for Folder dialog from a WPF app on Windows Server Core?

孤街醉人 提交于 2019-12-22 12:52:14
问题 I've tried using the FolderBrowserDialog and that seems to work on my development machine. However, this is not supported on a Windows 2008 R2 Server Core . I tried running this code anyway - the dialog appears, but the main display pane is not available. I've also tried using Windows shell32 API (SHBrowseForFolder) with the exact same results. ComDlg32 GetOpenFileName seems to work fine for selecting a file. Not sure what else to try. 回答1: There have been questions about why this is

ADODB COM object not found

大城市里の小女人 提交于 2019-12-22 12:26:11
问题 I am using ADODB COM object in my c# application which is developed on Windows 2008 R2 Standard 64bit. Now I have moved application on prod server with Windows 2008 Standard 64bit(not R2) and now I get error below. It seems MDAC 2.8 is not installed on my prod machine? I can't find any reference how to install MDAC 2.8 on Windows 2008 machine, maybe someone could point me to right direction? Error: Unable to cast COM object of type 'ADODB.StreamClass' to interface type 'ADODB._Stream'. This

TCP Provider: The semaphore timeout period has expired

谁说胖子不能爱 提交于 2019-12-22 12:19:53
问题 In Sql Server2008 R2 and Windows Server 2008R2, when I start Replication I have this error: TCP Provider: The semaphore timeout period has expired Please help me to solve it. 回答1: in order to fix the error: System.IO.IOException: The semaphore timeout period has expired. ​Solution​ I have done below NIC changes to resolve this error. Open the Network and Sharing Center. Right click on Ethernet Adapter>>Properties Select Client for Microsoft Networks Click on Configure Tab Click on Advanced