windows-server-2003

SQL query on windows IIS server 2003 breaks with passed variable, jQuery AJAX

Working on a current project I have encountered a strange issue. I have an html page that performs an AJAX call to a php file, passing a variable. The php file creates a SQL query using this variable, generates an XML file, and returns the result. On my webserver this all works fine. However, when moved to a Windows 2003 IIS (permanent ...

How do you run jvisualvm.exe under the local system account under Windows Server 2003?

I am running GlassFish 3.0.1 as a windows service under Windows Server 2003 with Java 1.6 u 20, and am generally happy. I would like to be able to use VisualVM on this JVM and used http://stackoverflow.com/questions/503057/unable-to-use-jconsole-with-tomcat-running-as-windows-service/812041#812041 as a starting point, but starting with ...

delay at logon while applying your personal settings

Our application is creating a new Windows user in answer to each request. In space of one year hundred of thousands of new users are being added and subsequently deleted. We noticed that after a while our servers start to slow down while logging on a new user. The delay occurs when Windows displays "Applying your personal setting" messag...

Running a vbs file via a scheduled task on Server 2003

Hey, guys. I've been working on modifying an existing vbscript. The wierd part is that when I run the script manually, it works fine. But as soon as I try to run it as a scheduled task, it reports as complete, but doesn't actually do anything. After much troubleshooting, I think I tracked it down to the original CreateObject. Here...

Routing & Remote Access & Dial In VPN, assign default gateway.

Ok, i have routing and remote access set up on a server 2003 enterprise, to allow users to dial in via vpn to our server, authenticated out of active directory. -- I have the server assigning private IP's to each user who dials in, everything is working fine without any issues. Basically what i am wondering. is there is any way to assign...

Problem deploying VSTO add-in in 64 bit Windows Server 2003 Terminal Server environment

Hi, We are having a problem deploying a VSTO 2005 Second Edition Add-In and would appreciate any help with this. We previously successfully deployed this add-in onto a 32bit Windows 2003 terminal service environment. By default VSTO installs on a per-user basis. But we got around this limitation by creating a custom CASPOL script which...

NAudio + Windows 2003 Server? Help!

Hello, I have a web application using NAudio that works great on my development machine (Windows XP, IIS 5.1), but when I put it on the server (Windows 2003 Server 32-bit, IIS 6), I get the following error: NoDriver calling waveInOpen Exception Details: NAudio.MmException: NoDriver calling waveInOpen [MmException: NoDriver calling waveI...

Correct Detecting of the Terminal Services

I've been trying to detect whether or no the Terminal Services are running. I tried to use MSDN Way: OSVERSIONINFOEX osVersionInfo; DWORDLONG dwlConditionMask = 0; memset( &osVersionInfo, 0, sizeof( osVersionInfo ) ); osVersionInfo.dwOSVersionInfoSize = sizeof( osVersionInfo ); osVersionInfo.wSuiteMask = VER_SUITE_TERMINAL; VER_SET_CO...

Adding logging to FTP Batch scheduled job on Windows 2003 Server

open xx.xx.xx.xx user admin password prompt lcd K:\CLAIMS\Now cd /usr/share/current mget *.* bye I have this stored as ftpjob.txt and I have added this job as scheduled job using windows scheduler. I want to add logging to the script that I can see what files mget . fetched. I tried adding C:\WINDOWS\system32\ftp.exe -n -s:c:\ftp...

Issues calling a DLL from WCF/Silverlight

Trying to use a DLL that returns a list of tasks in the W2k3 server's Task Scheduler. Works great when I use it in a C# console app on the server, and using it on my computer (ASP.NET Dev Server), but when doing the same thing through the Silverlight-WCF RIA on the W2k3 server, it just wouldn't go. Silverlight returned "Object reference...

Batch with No args runs as job (scheduled task) with no errors, Batch with 1 arg fails with Access Denied. Why?

Here's a trivial batch: @echo off if not .%1==.-b goto else echo Running with -b flag ON goto endif :else echo Running with NO flags :endif Now, trying to run this from a scheduled task on a Windows Server 2003... If the task is ran like: "C:\Test\test.bat" then the log (Schedlgu.txt) says: "Test Job.job" (test.bat) ...

Temporary ASP.NET directory: Which folder for which website?

Hi there! We have a multi-use web server that has a bunch of separate web applications hosted on the same server (IIS6, Windows 2K3). Now, I'd like to clear the contents of the temporary asp.net files for a certain web application, however, how do we find out which directory in the temporary asp.net files maps to the appropriate websi...

I have two machine.config files on my server, which one do I edit and how do I verify they are being used?

Hi there, I need to do some performance tuning and need to modify the following settings: processModel, httpRuntime, and connectionManagement. Simple enough I suppose, but I'm not sure which of the two machine.config files to edit, or do I edit both? \Windows\microsoft.net\ Framework \v2.0.50727\CONFIG\machine.config \Windows\microso...

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)

I created a Windows 2003 R2 Virtual Machine running on VirtualBox and I installed Oracle (10201_database_win32). I assigned a static IP on the Virtual Ethernet too. Everything worked great right after installation. I listed(lsnrctl services) the services the listener knew right after installation and the result was: LSNRCTL for 32-b...

Windows Service Multi Core Utilisation

We have an number of old visual C++ 6 windows services that are currently running on a single server. The problem seems to be that all of the service seem to utilise only a single core. (There are 4 cores) Isn't the multi core utilisation (on windows server 2003) supposed to be optimised by the OS? ...

Problem accessing AppSettings via configSource in Windows Server 2003

According to the MSDN documentation, configSource is supported on Windows Server 2003 SP2. However, when I try to access a setting using the following syntax: System.Configuration.ConfigurationManager.AppSettings["SettingName"]; then null is returned. However, the same app works properly on Windows 7 and Windows XP (i.e. AppSettings["...

Going live with a MVC site

I just moved my site to my server which is windows 2003 sp2, sql 2005. I have a mvc site running on my server (althought i have it turned off) it works fine but my new site does not work correctly For some reason the routing fails to work on my server. I can hit the homepage fine using the domain but clicking on any link(or typing it i...

SUBMIT certificate request - outside domain

Hello I need to submit a PKCS#10 certificate request to a certificate authority who is outside my domain. This article in MSDN shows a way to submit certificate requests within a network using ICertRequest2 COM object. hr = CertRequest->Submit( CR_IN_ENCODEANY | CR_IN_FORMATANY, RequestStr, AttributesStr, CANa...

service installation on server 2003

I'm trying to install service which I created in visual studio 2008 on windows server 2003 the problem is that I'm keep getting the following error: Error 1053: The service did not respond to the start or control request in a timely fashion all the documentation I read about the issue suggested to install .NET Framework 1.1 Servic...

Adding application level authentication using ActiveDirectory

I am not sure if this is the right place to ask this question or no but i could not find any other website. I want to give access of different applications using ActiveDirectory. Before you answer this question, let me explain you few things I know only the very basics of AD When i said application security, I meant that those applic...