windows-server-2012

Append security rights to a folder via Powershell

我怕爱的太早我们不能终老 提交于 2019-12-08 04:11:33
问题 Trying my hand at Powershell and I'm trying to figure out how to add specific permissions to our user account. The code below will add the service account to the folders Security tab, however it will not adjust the permissions. Any idea why? #variables $okeeffename = "WCFService" $domain = "InsideServices.dev.com" $okeeffedirectory = "d:\webcontent\$domain\$okeeffename" #create webcontent and application folders Write-Host "Creating directories" -ForegroundColor Yellow New-Item -Path

Oracle 11gR2 installation in Windows server 2012

我与影子孤独终老i 提交于 2019-12-06 18:54:13
问题 While installing Oracle 11gr2 it gives the error [INS-13001] Environment does not meet minimum requirements. I've looked at the prerequisites given at the Oracle website, but everything seems to be there. There is this log file genereated, but I am not able to tell what it's looking for. sing paramFile: E:\win64_11gR2_client\win64_11gR2_client\client\install\oraparam.ini Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed The commandline for unzip: E:

OWIN and ASP.net membership in IIS 8.5 not working

五迷三道 提交于 2019-12-06 15:29:46
I created an ASP.NET MVC project in visual studio 2015. I used the Windows Identity Foundation based template for individual accounts available in visual studio. Then I configure it for facebook and Google. It works perfectly when i run it from Visual Studio or IIS 7.5. I Could redirect to Google or Facebook page and I was able to register using email and I could see the records saved in the database. However, when i deploy the app on IIS 8.5 running on windows server 2012 R2, on clicking the Facebook or google button, gives me 404 Resource Not Found Error. Server Error in '/' Application. The

Start VPN from SSIS package?

六月ゝ 毕业季﹏ 提交于 2019-12-06 09:33:40
Using SSIS I need to retrieve data from a server outside my network/domain. I can only get to this server through a VPN. I created 2 packages: StartVPN - using some VB this package starts the VPN. Works great. :) Import Files - This package is called from StartVPN and should import some data. When I run package 2 directly with the VPN already started this package runs great. When I run package 2 from package 1 without the task that starts the VPN but with the VPN manually started this package runs great. However, if I call this package from package 1 it fails with the error: The

Unable to connect to SQL Server 2008 using ODBC connection via system dsn on windows 2012

假装没事ソ 提交于 2019-12-05 22:53:59
问题 I have Windows 2012 server and I am able to connect to a SQL Server 2008 instance through Visual Studio Server Explorer by creating a data connection. I can also use SQL Server Management Studio and connect to that SQL Server. But for some reason when I try to connect using the ODBC Data Source Administrator to set up a DSN I get the following error. Connection Failed: SQLState: '01000' SQL Error: 1 [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials()).

What could cause “The certificate key algorithm is not supported” exception on a GET web request

南笙酒味 提交于 2019-12-05 05:19:56
We are trying to connect to the facebook api from a asp .net MVC 4.6 app using a standard webrequest. Everything works fine on all but one of our servers. The server in question is running windows 2012 and IIS 8. On this particular server we get the following exception when running a GET webrequest to facebook. The certificate key algorithm is not supported. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System

Jenkins can't find msbuild

好久不见. 提交于 2019-12-04 19:49:25
问题 I've installed Jenkins on Windows Server 2012, which all worked fine. However once I tried to configure the MSBuild and VS Code metrics plugins, I get the following error: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe is not a directory on the Jenkins master (but perhaps it exists on some slaves) I've checked the paths and they are correct, but Jenkins can't access them. Can anyone suggest what may be wrong. Thanks 回答1: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:

Cannot Connect to Windows Azure VM (Server 2012 R2) Web Deploy Service

空扰寡人 提交于 2019-12-04 19:33:00
问题 I can't seem to be able to deploy a site to a windows server 2012 r2 running IIS and Web Deploy in Azure VM. I have verified that the port is open, the credentials are correct and the site name as well. I tried using http: and https: also tried using msdeploy.axd end point and the MSDEPLOYAGENTSERVICE one nothing. Check is the services are running and if I can connect to the machine which at can on port 80 to the default site. Tried connecting from multiple connections I get the same result..

Windows Server 2012 VM created from Snapshot fails to Boot on GCE

試著忘記壹切 提交于 2019-12-04 15:14:17
I am not a Windows expert and stuck while recovering Windows Server 2012 from Snapshot. I am trying to create a new VM instance on Google Compute Engine - GCE from a Snapshot which I created from Windows Server 2012 VM Instance couple of weeks ago . Whenever I create a new VM I am never able to do RDP then after reading GCE Troubleshooting guide I determined that may be Windows is not booting up properly. I was able to view the Serial Port Output as following SeaBIOS (version 1.8.2-20161003_105447-google) Total RAM Size = 0x00000003c0000000 = 15360 MiB CPUs found: 4 Max CPUs supported: 4 found

Prevent direct access to files on IIS server

﹥>﹥吖頭↗ 提交于 2019-12-04 12:27:20
I have two servers, one for my mvc application and the other one as a storage for large files like images etc, both running on Windows Server 2012 R2. How can I prevent direct access to the files on storage server? say, mvc is on IP1/ and storage is on IP2/ . Link to a file would be like: IP2/MediaFiles/2015/12/image0001.jpg . I need only GET requests from IP1 have access to the link above. How? UPDATE server1 on IP1 needs to be free of file sharing since media server is on IP2 and we don't need to load files per request on server1's RAM. (server1 will crash soon!) therefore no HttpHandler can