Placing your css file within a folder, rather than the root directory may do the trick for you. So, rather than referencing your css like href="style.css" place it into a folder like: site>styles>style.css and make your href into: "~/site/styles/style.css" might be more beneficial to you (as personally I haven't placed...
svn,visual-studio-2013,webforms,windows-server-2008,webdeploy
I figured out a useable solution for my own problem. Here's what I did in case anyone else needs help: 1) In IIS, on server machine, browse to the inetpub folder, right click on it and share the folder with the machine hosting the VS project. 2) In Visual Studio,...
powershell,process,cmd,windows-server-2008
Try this: Get-WmiObject -Class win32_process -Filter "Name = 'php.exe'" | Where {$_.CommandLine -match 'my_script\.php'} ...
While I was copying ODAC setup file to server, it didn't copied completely. The setup file is only 30 MB in server where as the original one is 290MB. Server is not copying big size files properly. So, I downloaded the component from internet and executed the exe file. Its...
windows,batch-file,cmd,windows-server-2008
Using the modifier %%~tx in the FOR loop. You can do like this : @echo off set $Lim=20140101 setlocal Enabledelayedexpansion for /f "delims=" %%a in ('dir /s /b/a-d "E:\images\*.txt"') do ( set $FileDate=%%~ta set $FileDate=!$FileDate:~6,4!!$FileDate:~3,2!!$FileDate:~0,2! if !$FileDate! Gtr %$Lim% echo E:\jpegoptim.exe -v --strip-all "%%~fa" ) Test it and remove the...
azure,web-config,windows-server-2008,azure-web-roles
In case anyone else has the same issue, you need to add a location element to your root web.config/web.cloud.config. It needs to be directly within the configuration element like so: <configuration> ..... ..... <location path="--folder or file--"> <system.web> <authorization> <deny users="?"/> </authorization> </system.web> </location> </configuration> ...
elasticsearch,windows-server-2008,logstash,amazon-sqs,amazon-iam
The correct IAM policy: { "Statement":[ { "Resource": [ "arn:aws:sqs:us-west-2:1111111:Dev-ELK-LogstashBuffer" ], "Action":[ "sqs:SendMessage", "sqs:GetQueueAttributes", "sqs:GetQueueUrl", "sqs:ListQueues", "sqs:ChangeMessageVisibility" ], "Effect":"Allow" } ], "Version":"2012-10-17" } ...
visual-studio-2012,iis,asp.net-web-api,windows-server-2008,load-testing
IIS does have separate output cache settings which are enabled by default which does start to make sense after considering how it handles dynamic content with static response and cache worthiness: The IIS output caching feature targets semi-dynamic content. It lets you cache static responses for dynamic requests and increase...
There is nothing you can do about that. Starting with Windows Vista, Microsoft locked down the "interactable" sessions and so running WebDriver grid hub as a service which starts browsers in a desktop session will not work unless you are using Windows XP. So, what you need to do is...
windows,iis,iis-7,web-config,windows-server-2008
add exactDestination="true" to your config. It should look like this <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpRedirect enabled="true" destination="http://www.example.com/my-page.html" exactDestination="true" /> </system.webServer> </configuration> ...
java,apache,tomcat,tomcat7,windows-server-2008
Some other app is using port 80. Do a local port scan and print executable path with netstart (This video will help : https://www.youtube.com/watch?feature=player_detailpage&v=V3nWkr7v4-E#t=7) Often its skype (or other chat or peer to peer file sharing app). Shutdown skype (quit not just sign out, process should exit) then start tomcat....
powershell,scheduled-tasks,windows-server-2008
All parameters must go into the Add arguments (optional) box: ...
git,version,windows-server-2008,msysgit
I tested all 3 versions, and found that: git version 1.9.4.msysgit.0 is Git-1.9.4-preview20140611 git version 1.9.4.msysgit.1 is Git-1.9.4-preview20140815 git version 1.9.4.msysgit.2 is Git-1.9.4-preview20140929...
c#,.net,asp.net-mvc-4,iis-7.5,windows-server-2008
I had this issue pop up as well - I was just in the process of implementing (reusing) some code that did a similar thing. It turns out that in my case the error message was a little bit of a red herring - it was complaining that it couldn't...
windows-phone-8,windows-store-apps,windows-server-2008,virtualization,windows-phone-8-emulator
You cannot run an Emulator in a VM. Running a VM (emulator) in an other VM is not supported.
php,sql-server,database-connection,scheduled-tasks,windows-server-2008
I resolved the problem : In the tasks properties, the option "Do not store password" was checked. Without this option, everything works....
tomcat,permissions,jni,windows-server-2008,tesseract
Finally the problem was caused by a 32-64bit mismatch. As I said Tomcat, JVM, Tesseract and OS was in their 64bit version. But the war had been generated with a 32-bit build setting. Re-creating the .war for 64-bit solve the issue for me....
windows,batch-file,scheduled-tasks,windows-server-2008
I think the problem is that you only have the rights to write to the remote drive when a user is logged in that also has ther rights to do so. You should add the machine with the scheduled task to the administrator group of the remote pc.
svn,windows-server-2008,cruisecontrol.net
Execute command from error (C:\Program Files\TortoiseSVN\bin\svn.exe log "http://xxx.xxx.....) from server which running CruiseControl and update question with reported error.
php,batch-file,web-applications,windows-server-2008
It really depends on how extensive your modifications are for the individual clients. Is 90% shared code? 50%? If 90% of the code is common code: I would put my core codebase in one folder and then just use custom files for the modifications. In the core code you need...
iis,iis-7,server,windows-server-2008,windows-server-2008-r2
The is a folder named 'logs' in your 'inetpub' folder where all the logs live. You can look at the Logging tab under IIS in IIS Manager to see the name of the specific log you should check for your site.
web-services,iis-7.5,.net-4.5,windows-server-2008
Step 1: Enable Logging in IIS In Order to enable better error messages and log files in IIS you must install two Features: Control Panel->Programs and Features->Turn Windows features on or off You'll need two features installed: WebServer->Common Http Features->HTTP Errors WebServer-> Health an Diagnostics->HTTP Logging Step 2: Analyse Error...
windows,iis,windows-server-2008,application-pool,applicationpoolidentity
By default whenever you try to add a new account on a machine that joined a domain the accounts are only searched on the domain controller for your domain. This said, if you want to add the IIS AppPool account, you need to click on "Locations..." and scroll up to...
c#,windows,windows-server-2008,scheduler
According to this MSDN forum post: ...mapped drives won't exist when no one is logged on so always best to use a UNC path as in; \\servername\sharename So changing the path string to be: <add key="Path" value="\\Server\Share\Path\To\Folder" /> will make sure that drive is accessible even if the maps aren't....
c++,windows,windows-server-2008,exit-code
I have tried to use exit, _exit, ExitProcess, and return You've eliminated all reasonable explanations, particularly with ExitProcess(). There is only one possibility left, you need to try TerminateProcess(). If that still doesn't set the exit code then you need to shove that machine out of a 4th story...
c#,.net,windows-services,windows-server-2008,filesystemwatcher
Things to consider in the decision of "should you ditch the FSW and roll your own (RYO)?": You currently monitor 22 folders. Will this number go up? How high? How many files are in each folder? A few? or a few thousand? What is the nature of the solution? Is...
networking,windows-server-2008,windows-7-x64
There are a lot of tutorial about that out there, just use keyword "windows server 2008 failover". I had done that with a client-server apps & database running on the server and the client only has 2-3 second connection down and then it's automatically re-connecting to the other server and...
c#,windows-server-2008,diskspace
The management scope is missing some path parts, the correct one should be: ManagementScope scope = new ManagementScope("\\\\FullComputerName\\root\\cimv2"); Source: http://msdn.microsoft.com/en-us/library/ms257337%28v=vs.80%29.aspx...
mysql,wordpress,iis,windows-server-2008
Simplest way would be to mysqldump the database, transfer it using the same mechanism you have for your source files, then import it into mysql. Dump the primary database... mysqldump -u user -p database > c:\somedir\backup.sql ...transfer the sql file... Import on the failover... mysql -u user -p database <...
php,session,iis-7,windows-server-2008
I was able to solve the problem. it was enough to change the folder where PHP saves the session.. changing it, the files "sess_..." older than one hour, will be automatically deleted! I think Php tried to delete the files in the Windows/Temp folder but probably for permission problems, he...
sql-server,windows-server-2008,indexing-service
I have now resolved this issue. I didn't know this, but when you run a program under NT AUTHORITY\LOCAL SYSTEM, it will authenticate over the network as an anonymous user. To resolve this, I created a new SqlServer user on both the web server and the DB server with the...
sql-server-2008,sql-server-2008-r2,windows-server-2008,vmware
How much memory is allocated to SQL Server Via max server memory. The information you posted did not included that. Can you also add output of below query in question please format the question so that output is clear and visible select * from sys.dm_os_process_memory You should NEVER look at...
ms-office,windows-server-2008,office-interop
Microsoft Office supports Windows Server OS - feel free to install it on your server. But it doesn't support automation on the Server server side. The Considerations for server-side Automation of Office page states the following: Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications...
windows-server-2008,resolution,remote-desktop
If you are establishing a connection from a Microsoft Windows system, have you tried mstsc with width and height parameters in pixels from the command line on your remote system to establish an RDP connection? E.g.: mstsc /w:1024 /h:768 /v:server1.example.com Or you could try the span parameter, which "matches the...
visual-studio-2013,windows-server-2008,webdeploy
In the end, I deleted the web server in IIS and created a new one. This is still a weird errorr...
active-directory,ldap,windows-server-2008,windows-authentication
Validating a computer account password can be done in the same way as user passwords. Computer accounts also have a username SamAccountName. I'm not sure how to provide an example as you have not specified any programming platform but for the sake of it here is an example using c#...