windows-server-2008

Make server automatic run asp-script every day

北城余情 提交于 2019-12-29 08:01:13
问题 Is it possible to create a batch-file which opens firefox, runs a website and then closes firefox again? Something like: @echo off start firefox http://..... This is where I am stuck... It needs to close firefix again when the website is finished loading. It is used to run a maintenance-script every night at 23:59. The script is based locally, but one cannot run a asp-file without using a server, so I have placed it as a website. 回答1: Adapted from an article I wrote on aspfaq.com years ago.

How to use a 32 bit COM object on Windows Server 2008 (works on 2008 R2 but non 2008)

别等时光非礼了梦想. 提交于 2019-12-29 05:37:13
问题 I am using the default DllSurrogate to enable automation of a 32bit COM object in 64bit. This works perfectly in Windows7 64 bit and Windows Server 2008 R2. However; regular flavor Windows Server 2008 (pre R2) completely ignores the DllSurrogate entry in the registry. I've researched this for days and found documentation that classic Windows Server 2008 had registry reflection which ignores the DllSurrogate value if its blank. (I leave the value of the registry string blank to use the default

WPF application issues on windows server 2003/2008

十年热恋 提交于 2019-12-25 08:50:06
问题 I deployed my WPF application on windows server 2008 and its working fine when i started using of it. But after some time i'm facing so many problems with my app like its freezing some windows/controls and some windows only minimize, maximize and close buttons are working and in some windows some controls only working, any one help me please to get out of this. Thanks, @nagaraju. 回答1: In a server environment, you should deactivate Hardware rendering, as most servers have only very limited GPU

Installing PostgreSQL on Windows Server 2008 [closed]

醉酒当歌 提交于 2019-12-25 03:22:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Trying to install PGSQL on Windows Server 2008 SP2 (not R2) x86_32. Got errors like " Problem running post-install step. Installation may not complete correctly. Failed to start the database server " and something like that. And also installation doesn't fill data directory - it empty. I tried start PGSQL

java.exe is not recognized as an internal or external command

 ̄綄美尐妖づ 提交于 2019-12-25 02:42:28
问题 I have already read some posts but I cant solve my problem yet. I am working on a remote desktop and windows server 2008. In the shared disk E: I put some batch file. This batch files call a new batch file from server which runs java script. And now I am taking the this message. java.exe is not recognized as an internal or external command, operable program or batch file . I try to set the environment like : First setup the JRE7 to disk E Second create new user variable which name is JAVA

JSF1064: Unable to find or serve resource, jquery.js Tomcat 7 + RichFaces 4

﹥>﹥吖頭↗ 提交于 2019-12-25 01:39:13
问题 I've been using RichFaces 4 with Tomcat 7. There are no errors when Cleaning and Building the app (NetBeans). When the app is deployed, everything works fine but from time to time the following exception is thrown and I don't know where or what could be the error: This is the Stack Trace of Tomcat's catalina.log may 07, 2012 3:36:43 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: JSF1064: Unable to find or serve resource, jquery.js. may 07, 2012 3:36:43

Delete Local User Home Dir powershell

大兔子大兔子 提交于 2019-12-25 01:29:45
问题 function deleteUsers($hash) { foreach ($h in $hash.GetEnumerator()) { Try { Remove-LocalUser -Name $($h.Name) } Catch{ "Can't Delete User {0}" -f $($h.Name) } } } function createUsers($hash) { foreach ($h in $hash.GetEnumerator()) { $Password = ConvertTo-SecureString $($h.Value) –AsPlainText –Force New-LocalUser -Name $($h.Name) -Password $Password -AccountNeverExpires -FullName $($h.Name) -PasswordNeverExpires -UserMayNotChangePassword Add-LocalGroupMember -Group "Users" -Member $($h.Name) }

No access to files in iis7 mvc app - server 2008 r2

时光怂恿深爱的人放手 提交于 2019-12-25 00:26:54
问题 I've just installed windows server 2008 r2 along with visual studio and dropbox. I'm using it as a VM for development and dropbox helps me keep my files in sync with other machines. I've got my site set up in IIS but I'm getting an access denied error when trying to view the site. I've had this before and to get around it in the past I've gone through and added the IIS_User account to the list of permissions to read/modify the files. I assume because the file's have been copied down with drop

Showing Silverlight App in Browser From batch file on Win2008

限于喜欢 提交于 2019-12-24 21:43:36
问题 I am trying to open a web page with a Silverlight App from a batch file on a Windows Server 2008 box. If I put this in the batch file: start iexplore http://www.google.com The google page shows. If I put this in the batch file (where TestPage has a Silverlight Application): start iexplore http://www.mysite.com/Configure/TestPage.html the page shows but with the "Download Silverlight" icon/link. If I browse to that page manually the app shows. Any ideas on how to get around this? I am trying