windows-server-2003

Cannot get Remote Debugging working with VS2010

北慕城南 提交于 2019-12-20 08:48:39
问题 I have a server and a workstation on the same corporate domain. My user is a local administrator on both machines. I have Installed the VS2010 version of MSVSMON and set it to run as a service on the server under my user DOMAIN\greg.b (I gave myself "log on as service"). I log onto the server using my domain account and start Remote Debug monitor. I then connect to the server from my Visual Studio. In the monitor on the server I can see 23/09/2010 16:26:33 DOMAIN\greg.b connected. Then a

Text to Speech in ASP.NET - Access is denied… what to do?

 ̄綄美尐妖づ 提交于 2019-12-20 02:39:07
问题 On my personal website, i would like to make it "pronounce" something I solved the "concept" problem, as in here, and on my desktop it works smoothly when launched from visual web developer. Creates a file, and then an embedded player in the page will play it. Perfect. So, I uploaded it on the server... I get this error 500: Server Error in '/sapi' Application. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Description: An unhandled exception occurred during the

Echoing in the same line

前提是你 提交于 2019-12-18 04:53:13
问题 I had a look at the previous questions of your db and I didn't try an answer, but I try. I would like to write the following lines code: echo Executing backup.... backup procedure echo Ok but the output should be: Executing backup... Ok That's possible?! 回答1: I suppose you are using dos/nt-batch. It is possible with the set /p command, because set /p doesn't print a CrLf set /p "=Executing backup...." <nul echo OK Also it's possible to erase the line with a CR character. It's important to

What possibilities can cause “Service Unavailable 503” error? [closed]

China☆狼群 提交于 2019-12-17 22:19:39
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . we have a asp.net MVC application deployed to a server, and but when there is too many request to the server, the client will just get a "503 service unavailable" error. But if I deployed the application to another server ( lower hardware configuration ), everything worked fine,

Installing ImageMagick extension with php/windows

孤者浪人 提交于 2019-12-17 15:44:51
问题 Running PHP Version 5.2.5 on Windows Server 2003 with IIS. Have virtually an identical server where we were able to install ImageMagick with no issues. It's running exactly the same version of php. Used the following steps to install, but it just won't seem to work on this server. ImageMagick itself is installed but php won't load the extension. We've spent hours trying to get the extension installed. It just won't show up in phpinfo(). INSTALL STEPS TAKEN To install IMagick on Windows XP

C# System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send

我是研究僧i 提交于 2019-12-17 12:40:30
问题 I'm getting this error on just one server running Windows Server 2003: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. Here's my code... Any ideas? HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https:// URL HERE "); //request.Headers.Add("Accept", "application/xml"); byte[] bytes; bytes = System.Text.Encoding.ASCII.GetBytes(xml); request.KeepAlive = false; request.Accept = "application/xml"; request.ContentType =

How can a windows service programmatically restart itself?

让人想犯罪 __ 提交于 2019-12-16 23:39:13
问题 I need to write robust code in .NET to enable a windows service (server 2003) to restart itself. What is the best way to so this? Is there some .NET API to do it? 回答1: Set the service to restart after failure (double click the service in the control panel and have a look around on those tabs - I forget the name of it). Then, anytime you want the service to restart, just call Environment.Exit(1) (or any non-zero return) and the OS will restart it for you. 回答2: Dim proc As New Process() Dim psi

Python subprocess.call on sfxcl.exe not working from Windows 2003 Task Scheduler

佐手、 提交于 2019-12-13 19:25:19
问题 I have written a script in Python to call SecureFX's commandline tool (sfxcl.exe) result = subprocess.call([securefx, '/NoPrompt', '/Q', '/RetryCount', retries, '/RetryDelay', '1', '/Log', sfxLogFile, '/List', '/S', session]) and then converted it into .exe using py2exe. I can schedule it locally on my WinXP machine and everything works OK. When I run it manually on the Win2003 environment, it also works. BUT when I schedule it using Windows Task Scheduler in Win2003, it runs through the

Windows server Task Scheduler, close after?

半腔热情 提交于 2019-12-13 17:26:38
问题 I have a scheduled task on my server which runs a PHP script every minute. In the 'Run' part of the scheduled task I have the following: "C:\Program Files\Internet Explorer\iexplore.exe" "http://www.example.co.uk/script.php" So when it runs it opens Internet Explorer and browses to that URL. Is it possible to get it to close Internet Explorer after running the script? 回答1: You may install PHP on you windows server, put php.exe in to the global PATH variable, and just start your php-script

Install ASP.NET 4.0 alongside ASP.NET 2.0 on IIS6

喜夏-厌秋 提交于 2019-12-13 13:17:38
问题 I've read where you create a new application pool, one for 2.0 sites and one for 4.0 sites. But there is no option I see when creating a pool to configure the framework. My problem is I have several 2.0 sites running as the Default Web Site. I added a WCF 4.0 service under a new virtual directory and set the framework to 4.0. I also put it in a separate app pool. Now, I can only get one working at a time. Either the 2.0 sites or the 4.0 site. I get: It is not possible to run two different