windows-server-2012

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

空扰寡人 提交于 2019-12-04 04:19:13
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()). Connection failed: SQLState: '08001' SQL Error: 18 [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security

C# app hangs randomly when called from Process.Start()

荒凉一梦 提交于 2019-12-03 16:51:33
I have a Windows service set up to manage custom .Net tasks. Organization is: -Windows Service monitors a schedule and starts a worker .exe as needed. -Worker .exe (lightweight winform app) uses a command line argument to pull up a DLL (plugin) and run some code. This has been working well for months. I recently migrated it to Server 2012 (from 2008 IIRC) - this may be unrelated but it's hard to tell. Since some time after the migration, I've encountered an issue where the worker .exe "starts" after being called by a process.start(), but doesn't reach my code. No errors or anything, it just

“Task failed because AXImp.exe was not found” when using MSBuild 12 to build a MVC 4.0 project

无人久伴 提交于 2019-12-03 15:43:27
问题 I am trying to set up a build server using CruiseControl.Net and MSBuild. However, it's failing with the error: "C:\Builds\PremiumStore\checkout\PremiumStore.sln" (default target) (1) -> "C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj" (default target) (37) -> (ResolveComReferences target) -> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2151,5): error MSB3091: Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is

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

蓝咒 提交于 2019-12-03 11:58:57
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... Could not connect to the remote computer ("<computer name>.cloudapp.net"). On the remote computer

Jenkins can't find msbuild

久未见 提交于 2019-12-03 11:55:33
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 C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe Jenkins was very matter-of-factly lying to you with its

Deploy Meteor on Windows

荒凉一梦 提交于 2019-12-03 09:27:00
问题 I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I

“Task failed because AXImp.exe was not found” when using MSBuild 12 to build a MVC 4.0 project

限于喜欢 提交于 2019-12-03 06:12:49
I am trying to set up a build server using CruiseControl.Net and MSBuild. However, it's failing with the error: "C:\Builds\PremiumStore\checkout\PremiumStore.sln" (default target) (1) -> "C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj" (default target) (37) -> (ResolveComReferences target) -> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2151,5): error MSB3091: Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location

Infinite redirect loop for Basic or Windows authentication?

依然范特西╮ 提交于 2019-12-03 05:57:29
问题 I am working on a new ASP.NET application. On IIS8, if I disable Anonymous access and enable Basic or Windows authentication, it goes into an infinite redirect loop and lands at the following URL after the browser breaks the loop: https://XXXXXX.com/Account/Login?ReturnUrl=%2FAccount%2FLogin%3FReturnUrl%3D%252FAccount%252FLogin%253FReturnUrl%253D%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FAccount%2525252FLogin%2525253FReturnUrl%2525253D%252525252FAccount%252525252FLogin

Deploy Meteor on Windows

风流意气都作罢 提交于 2019-12-02 23:45:27
I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I feel if anyone would write up such a step by step on how to deploy a Meteor app on a Windows server, a

Infinite redirect loop for Basic or Windows authentication?

杀马特。学长 韩版系。学妹 提交于 2019-12-02 19:19:54
I am working on a new ASP.NET application. On IIS8, if I disable Anonymous access and enable Basic or Windows authentication, it goes into an infinite redirect loop and lands at the following URL after the browser breaks the loop: https://XXXXXX.com/Account/Login?ReturnUrl=%2FAccount%2FLogin%3FReturnUrl%3D%252FAccount%252FLogin%253FReturnUrl%253D%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FAccount%2525252FLogin%2525253FReturnUrl%2525253D%252525252FAccount%252525252FLogin%252525253FReturnUrl%252525253D%25252525252FAccount%25252525252FLogin%25252525253FReturnUrl%25252525253D