windows-server-2012-r2

Issue ImageMagick-6.9.8-Q16 on win server 2012R2 .NET

痴心易碎 提交于 2019-12-11 08:07:45
问题 After downloading ImageMagick-6.9.8-Q16 from the official site of ImageMagick, i receive this error when i try to convert a file .tiff to .pdf using this command: convert -resample 200X200 dir.tif dir.pdf error and when i try to run using .NET program, this command can't create a file.pdf ProcessStartInfo pinfo = new ProcessStartInfo(); pinfo.UseShellExecute = false; pinfo.RedirectStandardOutput = true; pinfo.CreateNoWindow = true; pinfo.FileName = converterPath; pinfo.Arguments = "convert

Kerberos SPN gets cached on Windows Servers?

荒凉一梦 提交于 2019-12-11 05:56:59
问题 Been integrating Kerberos authentication in my SSO project. Came across a peculiar scenario. I made a new user and attached an SPN to it. Followed steps on this question and got everything working. By everything I mean :- kinit username - and then entering password gave me the message that ticket was saved. kinit spn(int the format HTTP/FQDN) - and then entering password gave me the message that ticked was saved. After some time I decided to try this over once again, and so I used the command

Error with OLEDB provider New transaction cannot enlist in the specified transaction coordinator

我怕爱的太早我们不能终老 提交于 2019-12-11 05:18:16
问题 using (TransactionScope transactionscope = new TransactionScope()) { try { function1(); //perform update on table function2(); //perform update on table transactionscope.Complete(); } catch(Exception ex) { } } Code working fine with sqlclient provider but in case of oledb provider it gives error "New transaction cannot enlist in the specified transaction coordinator". Already enable DTC service on server. 回答1: You can not open connection in transaction more than one, so create connection

unmanaged win32 dll not loading in .net MVC app on IIS 8.5, Win Server 2012 R2, Azure virtual machine

白昼怎懂夜的黑 提交于 2019-12-11 03:58:25
问题 I am trying to consume a win32 DLL in a .net MVC app. However I keep getting the following error Unable to load DLL 'experiment_dll.dll': The specified module could not be found I have used Process Monitor to capture file system activity when the code trying to load the DLL executes. It shows that the DLL can be seen and most of the file system operations are a success. Two full size screen captures of file system activity - Screencapture 1 Screencapture 2 As you can see one of the results of

IIS AppPool user permissions not working

自古美人都是妖i 提交于 2019-12-11 02:14:39
问题 I'm moving a PHP app from IIS7 to IIS8.5 on Win2012 R2. The app runs in its own application pool (MyPortal) and needs write permission on a sub-folder to create PDFs. So I assign Modify or Full Control permissions to IIS AppPool\MyPortal on the local machine, however the app is still unable to write to the folder. The only way I have found to allow it to do so is by giving Modify access to the local USERS group, which I'd rather not do (although I have no choice ATM). The php-cgi.exe process

gzip compression not working with IIS 8.5

爷,独闯天下 提交于 2019-12-11 01:07:22
问题 I have a Server 2012 R2 box running IIS. I've tried enabling compression for several sites running on that box, but I can't figure out why it won't work. My request headers all show accept-encoding, but the response headers are always Transfer-Encoding:chunked and Vary:Accept-Encoding. The following steps have been performed to try to get gzip compression working: Dynamic and Static compression have been enabled on each site and at the machine level Both compression methods are installed from

Virtual or psyical location of adfs directories do not exisit in IIS or Anyfolder Server 2012 R2

a 夏天 提交于 2019-12-10 23:48:28
问题 I have a Federated Authentication Server that is fully operational, Azure Synced, Office 365 Synced and local. Every part of the configuration works flawlessly. The issue that i am having is that There is no trace of any Web Directory Files, I have looked in every location, and the virtual directories do no exist on my Federation Proxy or Federation Server. I am trying to edit the Log in pages or create a new form. Where are these files? or how can i create them so The federation server

Can a Rails 5 application with ActionCable be deployed on Windows?

微笑、不失礼 提交于 2019-12-10 23:21:56
问题 I have a Rails 5 application which I was planning to deploy on Linux, but because we needed some access very specific Windows-only software, I need to deploy it on Windows Server 2012 R2. My software stack (or mix) was supposed to be Nginx/Puma/Rails/PostgreSQL/Redis. Everything installs for me on Windows except Puma, and the Rails documentation says that I need Puma for ActionCable. How do I get Puma to run on Windows? I have seen and tried snippets of things to try, and I have also seen and

How do I run my C# service with elevated UAC privileges on Windows 2012r2?

ε祈祈猫儿з 提交于 2019-12-10 17:31:27
问题 I have a service which requires elevated administrative permissions. The service runs fine on Windows XP and Windows 2008r2 but when I run the code which checks to see whether the application is executing under an elevated administrative context on Windows 2012r2 - the result is always false. I have already tried adding <requestedExecutionLevel level="requireAdministrator" uiAccess="true" /> to the application manifest and this works fine when I run the same code as a console application -

How to solve Microsoft SQL Server. Error 233. Provider: SSL Provider

时光总嘲笑我的痴心妄想 提交于 2019-12-10 13:44:30
问题 After the global RansomeWare attack, we updated our Windows Server 2012 R2 only to find out that our SQL Server Management Studio (SSMS) stopped working. Whenever we try to connect to SSMS locally or remotely it provides us the following Error: A connection was successfully established with the server, but then an error occured during the login process. (Provider: SSL Provider , error: 0 - No process is on the other end of the pipe.) ( Microsoft SQL Server, Error: 233 ) I tried logging in