windows-server-2008

Using Microsoft.Ink in ASP.NET on Windows Server 2008

I'm developing an ASP.NET web application. The site generates PDF files which contain images of handwritten content (signatures etc.). The bitmap images are created by some methods of the Microsoft.Ink library, converting MS Ink data (generated on a Tablet PC and transferred to the site.). Now, it works like charm on my Vista developmen...

Visual Studio 2008 Vista Socket Problem

Hey there, I am trying to use a port checking program written in Visual Studio 2008 using the 3.5 SP 1 .Net Framework, and I seem to have a problem using my program on Vista based OS's (in this case the actual OS is Windows 2008 Server (both 32 and 64 bit machines)) while it does however work fine on XP machines. I am not entirely sure w...

Give webservice access to windows service

I am running a webservice on server 2008 that needs access to a windows service and I need to give access to [the user that the web service is running as] via the command line. (sorry if my wording is terrible, hopefully the brackets helped?). I know there is a utility available with the windows 2000 resource kit (SUBINACL.exe), but i...

Which is better to use for a recurring job: Service or Scheduled Task?

I have a task that needs to run every 30 seconds. I can do one of two things: Write a command line app that runs the task once, waits 30 seconds, runs it again and then exits. I can schedule this task with Scheduled Tasks in Windows to run every minute Write a Service that runs a task repeatedly while waiting 30 seconds in between each...

Application is not shown. Why?

Hi, My application was built with VB.NET. It's an EXE application. It's already running well on dozens of Windows hosts as an independent app - without a development environment. Now I try to run it on a Windows 2008 server (as a native app), but the form is not shown - nothing is displayed. When I debug, I see that it's running all "f...

Oracle Database Deleting Files Using Java

Sometime this weekend one of our databases (11.1.0.7) began having problems accessing certain folders on a portion of the network through Java. I have reproduced the problem using a small portion of java that does nothing but create a file object and attempt to delete the file. From the database this works for deleting local files and de...

Does anybody know output path Win Server 2008 for Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData

Hi, I need do some quick and dirty logging and I was asked to write to a file. I have done all the logging and now I need to save it somewhere on this Win Server 2008 Operating system. Does anybody know what the output is in Win Server 2008 for the following line of code. string myPath=Environment.GetFolderPath(Environment.SpecialFolde...

How to add new DNS zone on Windows Server 2008 using API or PowerShell?

Is there any API in Microsoft DNS Server 2008 to add new forward DNS using VBScript or PowerShell or P/Invoke or WMI? It's easy to generate plain text file and put it into \system32\dns. How to replace a number manual commands in MMC with just a script execution? ...

Active directory queries intermittently take 40 minutes to complete

Having moved our ASP.NET site from 32-bit Windows Server 2003/IIS6 to 64-bit Windows Server 2008/IIS7 (classic mode), certain active directory operations are intermittently experiencing huge delays. Specifically, DirectorySearcher.FindOne() and DirectoryEntries.Children.Add() sometimes take up to 40 minutes to complete. These problems s...

UAC: Manifest file is ignored

One of my Executables writes some configuration into a XML file to C:\Program Files\MyApp\config.xml. It needs to run as Administrator on Vista / Server 2008, otherwise the OS won't let it write to that location. I included a manifest file named config.exe.manifest, to automatically request administration rights at launch. Here's my ma...

Connection to .mdb file fails on windows 2008 core - 32bit

Hi, I have an application where I am doing connection with .mdb file. Here are the steps we are following : Creating object for database utils inteface Calling the connect() function, to get connected to the database whose extension is .mdb file Above flow is working correct on all windows platform but not on windows server 2008 CO...

How to set user environment variables in Windows Server 2008 R2 as a normal user?

In older versions of Windows, it was just open the Control Panel, select the System applet, select the Advanced tab, and then hit the Environment variables button. As a normal user, you could edit the "User variables" but not the "System variables". In Windows Server 2008 R2, if I try to hit the Advanced System settings option in the S...

Unable to publish from VS 2008 to Windows 2008 using WebDAV

I'm trying to publish a web site from VS 2008 directly to a mapped folder on a Windows 2008 server. Some of the files publish OK (e.g. aspx files) but others don't (e.g. ascx, asmx, cs, config, sitemap, etc files). Also, some folders are created OK and others not (e.g. the bin folder can't be created). The message I get is (in this ca...

Exception When Reading OCSP Signing Certs in Java

Hi all, I'm currently working on getting a Java application (JRE 1.5+) to talk to a Windows 2008 OCSP Responder, and I'm getting a strange error on trying to read the Responder's signing cert. I get the following exception on trying to perform an OCSP validation. Caused by: java.security.cert.CertificateParsingException: java.io.IOExc...

Regularly invoking an interactive process (WatiN tests) via Task Scheduler

I'm using a suite of WatiN tests driving IE to do some periodic sanity checking for the purposes of monitoring a site. The suite works fine when I invoke it interactively and/or when I configure the task in Task Scheduler to "Run only when the user is logged on". However, when I set it to "Run whether the user is logged on or not", and...

.NET global culture on a new server

We've just moved to a new server and everything's being going well. However earlier I ran into a .NET error when it was trying to convert a string in the format "dd/mm/yyyy" to a date, now I changed the culture setting in the local web.config but we require this to be global. Where do I change this? I assumed the machine.config but I co...

Dr. Watson alternatives for Windows 2008+?

We used to use Dr. Watson logfiles and dumps for crash analysis in our production environment, but Dr. Watson is no longer part of server 2k8 and our infrastructure team has had issues getting it running on 2008. Are there alternatives that can be used in a similar way? In particular, we'd need the faulting module and address causing t...

Jrun ColdFusion service intermittently fails to start

We occasionaly have a problem where we attempt to start the Jrun service and it fails with the following two errors: error JRun Naming Service unable to start on port 2902 java.net.BindException: Port in use by another service or process: 2902 info No JDBC data sources have been configured for this server (see jrun-resources.xml) error...

Windows Server 2008 - is there some kind of 'Developer Edition'?

Hi all, just wondering: is there some kind of 'Express' edition of Windows Server 2008 that developers can use to build and test sites locally? I want to test my sites in IIS7 (and learn my way around the OS), but I can't justify buying a full license just for that purpose. ...

How to enable .NET Extensibility, ASP.NET, ISAPI Extensions, and ISAPI Filters on Windows Small Buisness Server 2008

Today wanting to deploy an asp.net mvc application I had to enable .NET Extensibility, ASP.NET, ISAPI Extensions, and ISAPI Filters on Win Small Buisness Server 2008 I was surprised 1h and I could not find how to do it. This was the hint but ... still nothing. http://blogs.dovetailsoftware.com/blogs/kmiller/archive/2008/10/07/deploying-...