EzDevInfo.com

windows-server-2000 interview questions

Top windows-server-2000 frequently asked interview questions

Secure FTP for Windows 2000 Server

Can someone recommend a secure FTP implementation that works well on Windows Server 2000? I'm uploading files into virtual directories and web applications under IIS and the existing provider, obviously, isn't secure or encrypted.


Source: (StackOverflow)

SQL Server 2005 Installation on Windows 2000 Server

We want to install sql server 2005 on Windo ws 2000 Server. We are able to install database service engine, analysis services engine and integration services.

But we are unable to install workstation components like SSMS.

Does anybody faced this problem? What is the fix for this?

Thanks, Raghu


Source: (StackOverflow)

Advertisements

Apache 2 Windows rotatelogs help

I've been trying to use rotatelogs.exe on Windows Server 2k to rotate the access.log. But whenever I restart apache it gets an error when reading http.conf

Here is the line:

CustomLog "|D:\Apache2\Apache2\bin\rotatelogs.exe D:\Apache2\Apache2\logs\access.log 86400” common

I don't know why it's not working. The paths are correct, common log format is defined. Is my syntax wrong somewhere?


Source: (StackOverflow)

Windows Service started, but process killed

I am running a Windows Service on a Windows 2000 machine. Sometimes the executable for this service dies, but the Windows service is still listed as "started" in the service manager. In this situation the restart behaviour defined for this service does not take effect.

How can I avoid this situation? Is this a configuration problem of Windows 2000 or is the Windows service wrongly configured?

EDIT: The windows service is self-written in Python using py2exe, based on this description: http://stackoverflow.com/questions/263296/creating-a-python-win32-service


Source: (StackOverflow)

powershell : has anyone tried to install powershell on windows 2000 server?

Has anyone tried installing powershell on a Windows 2000 server? I realize its not supposed to be installed on windows 2000 server and therefore not supported; however the vbscript that runs on it takes 3.5 days to complete which powershell could probably finish in lesser time. Nevertheless, I noticed it just requires .NET 2.0 to run.

thanks in advance.


Source: (StackOverflow)

Silly SSL cert question for Windows 2000/ASP/IIS

I've got an ssl certificate for what I think is my domain and I want to apply it to two separate applications in that domain that run under ASP classic in IIS on Windows 2000.

I have the following stupid questions:

  1. Are certificates issued for URLs or domains? Or subdomains?
  2. Can I use the same cert for multiple websites (applications) within that domain, or do I need a separate one?
  3. Can I inspect the cert file to determine for what or to whom it's issued?

Thanks!


Source: (StackOverflow)

Check user credential against a workgroup server

My app will be used on LAN on a client desktop computer. In this LAN, there is one dedicated Windows 2k server. There is no AD.

The user have to fill in a server's user account informations so the app can then do some remote operations with this account (Map network drives)

How can I check the user credentials against this server?

When mapping drivers, I will have the error if the user account authentication is not ok, but I would like to have this information before trying to map.

Something like LogonUser API function, but working on a remote computer.

Thanks,


Source: (StackOverflow)

Register DLL file on Windows Server 2008 R2

I'm trying to register a COM DLL file on Windows Server 2008 R2. Here are the steps I took:

  1. Run cmd as administrator
  2. c:\windows\system32\regsvr32.exe c:\tempdl\temp12.dll

When I execute that command I get this error:

The module temp12.dll failed to load. Make sure the binary is stored at the specified path or debut it to check for problems with the binary or dependent .DLL files. The specified module could not be found.

I was able to register the same DLL file on Windows 2000.

I also tried

c:\windows\syswow64\regsvr32 "c:\tempdl\temp12.dll"

And I got this error:

the module c:\tempdl\temp12.dll was loaded but the call to DllRegisterServer failed with error code 0x80040154. For more information about this problem, search online using the error code as the search term


Source: (StackOverflow)

Can WCF run on Win2k?

What is needed to either support WCF on Win2k, or at least minimize the effort in supporting remote communication with Win2k servers via .Net?

Background:

A product I'm working on has a legacy .NET remoting implementation that has been largely replaced by the WCF for new development. The legacy implementation is used as a fall-back for communication with servers running older versions prior to our WCF implementation.

Sales has asked for Win2k support which leaves dev in somewhat of a pickle as .NET 3.0 (and therefore presumably WCF) is not supported on Win2k. We want to support Win2k with a minimum of extra development effort, but it seems that to support Win2k we must implement the interfaces twice; once for remoting with legacy servers and once for WCF.


Source: (StackOverflow)

Is there a way to install Delphi 2010 on Windows 2000

I just downloaded the Delphi 2010 iso from my SA-subscription and wanted to install it in addition to my other Delphi installations on my notebook computer. Unfortunately it refuses to install because the machine is running Windows 2000.

Is it possible somehow to get it to install it anyway? Or is there a technical reason why it might not work, even if it installed?

edit:

Some more information:

  • Delphi 2009 installed fine on that computer, so dotNET 2.0 is already installed.
  • The Delphi 2010 installer comes up, asks me for the language to use and then says "This product requires at least Windows XP. Setup cannot continue."

What I am looking for now, is either:

  • a way to get the installer to skip this check and install anyway - or -
  • a reason why this would not work (e.g. Delphi is using some Windows API that is not available in Windows 2000)

Source: (StackOverflow)

Why is access denied when installing SSL cert on IIS 5?

I'm working with a support person who is supposed to be able to install SSL certs on a web server he maintains. He has local admin rights to the server via a domain security group. He also has permissions on our internal CA running Windows 2003 Server Certificate Authority: "Request cert" and "Issue and Manage certs".

The server he's working with is running Windows 2000 SP4 / IIS 5. When he attempts to create an online server cert the IIS wizard ends with "Failed to install. Access is Denied.". The event viewer is not working properly, so I can't find any details there. I suspect the permission issue is locally and not with the CA.

My account is a domain admin account and I know I am able to do this operation, however I need to make this work for others that are not domain admins.

Any ideas why he can't perform this operation?


Source: (StackOverflow)

PHP/WinServer PDF to JPG

Is there a plugin / extension that exists for PHP to convert PDF docs to a JPG format on a windows server 2000 machine?


Source: (StackOverflow)

Windows 2000 Server and .NET 3.5

For reasons that I won't get into here, I will be doing some new development a Windows 2000 Server with a SQL Server 7 database. The existing website housed on this box is running Classic ASP and I will be developing some new capabilities that I was hoping to develop in ASP.NET, preferably MVC, so .NET 3.5 would be what I am shooting for.

Is it possible to setup .NET 3.5 on a Win 2K server?


Source: (StackOverflow)

RunDll32 Problem on Win2k with Visual C++ 2008 Express Compiled DLL

First off, I'm not a C++ programmer (but I am learning). I have finally managed to modify and compile some C++ source code using Visual C++ 2008 Express Edition. I've tried to get the same code compiled in the full version of Visual C++ 2003 without success (I get a wide variety of errors, but no luck).

The problem is that everything is working fine using RunDll32 to call the DLL on Windows Vista, but when I try the same rundll32 call on Windows 2000, I get the following error:

"Error loading mysampledll.dll" "The specified module could not be found."

Of course, I've tried setting the full path, moving the file around, etc...but no luck. I guarantee that the file exists and has the correct permissions.

I thought perhaps that there is something wrong with the manifest that is getting compiled along with the DLL in Vista. So I removed it using a resource editor, but then I get the same error in Vista and Win2k. Here's the manifest:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
        <requestedPrivileges>
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false"></requestedExecutionLevel>
        </requestedPrivileges>
    </security>
    </trustInfo>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
        </dependentAssembly>
    </dependency>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
    </dependentAssembly>
    </dependency>
</assembly>

Now, I assume that the problem is with Win2k not having the Microsoft.VC90.CRT installed, but why does my DLL have this dependency? I've set the "Common Language Runtime Support" to "No Common Language Runtime Support" in the project properties, so why does it still require the CLR? Is there a way to change the manifest to use an older Visual C++ runtime that is available by default in Win2k? Sorry for my ignorance in these matters, and thanks in advance for any help.


Source: (StackOverflow)

How can locked files be monitored on a WIN 2000 server

I'm interested to know what would be the best way to monitor locked files/open file handles on a win 2000 server. I am interested in a general system report that could show locked files or handles over time (over the course of one night, for example) without having to specify which processes are to be monitored specifically.

Thanks, Adi


Source: (StackOverflow)