Menu
  • HOME
  • TAGS

Windows Server 2008 IIS7 CSS Not Consistently Working

css,iis,windows-server-2008

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...

How to deploy ASP.NET project?

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,...

PHP - Get File Name of Running Script from Windows Processes?

powershell,process,cmd,windows-server-2008

Try this: Get-WmiObject -Class win32_process -Filter "Name = 'php.exe'" | Where {$_.CommandLine -match 'my_script\.php'} ...

Java Runtime Environment was not found at bin\javaw.exe

java,windows-server-2008,odac

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...

Do something only if date created greater than

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 Cloud Services, deny access to subfolder using web.config

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> ...

Windows Logstash output to AWS SQS with IAM EC2 Role “Unable to access SQS queue”

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" } ...

Why is CPU % Decreasing At Highest User Load During Load Testing?

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...

Running selenium on Windows server 2008

selenium,windows-server-2008

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...

Web.config redirect to another URL without trailing slash

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> ...

How to get Tomcat 7 to run on Port 80 on Windows Server 2008?

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....

Task Scheduler with powershell not working

powershell,scheduled-tasks,windows-server-2008

All parameters must go into the Add arguments (optional) box: ...

What does the last digit of msysgit version mean?

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...

“Workstation service has not been started” caused by DirectoryEntry

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...

Can i Run Windows Phone 8.1 Emulators on Server 2008 R2?

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 Scheduled Task with Windows Authentication

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....

java.lang.UnsatisfiedLinkError: Access denied. using JNI

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....

Task Scheduler error 0X1 How can I solve this?

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.

Unable to understand Cruise Control build error

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.

Distributing code to multiple locations

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...

How to check weblogs in IIS

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.

Service not accessible when “Enable 32-Bit Applications” set to true

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...

trying to give permissions to specific app pool identity in IIS 7.5 - “object cannot be found”

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...

Application can save files when run manually but not when run by Task Scheduler

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....

exit fails to set error code

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...

FileSystemWatcher Exception - The network BIOS command limit has been reached

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...

2 Servers & 1 Client (Mini home internet project)

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...

Remote computer drive information is not precise

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...

Is it possible to copy a local MySQL database to a remote MySQL database?

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 <...

Windows/Temp directory is full of Php Session's files that block the server

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...

Unable to query Indexing Services with a SQL Authentication User

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 R2 not using allocated Memory

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...

Installing Microsoft Office on a windows server?

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...

Configure Remote Desktop to resize resolution to connecting client window?

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 web deploy errror ERROR_EXCEEDED_MAX_SITE_CONNECTIONS

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...

Is there any way to validate given password is valid with computer object created in AD?

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#...