windows-server-2008

NT Eventlog single message size

风格不统一 提交于 2019-12-06 19:19:30
问题 Can anybody tell me what is maximum size of a windows NT log message? I know that it is possible to reset the maximum log size of event log from 32 MB. I am interested about the memory a single message can hold in NT event log. Thanks in advance 回答1: In Windows Server 2008 the maximum size of a single Event Log entry is: 31,839 characters http://msdn.microsoft.com/EN-US/library/windows/desktop/aa363679.aspx 回答2: The answer is 32766 characters ~ 32 KB See a example below: Error: Log entry

python fdb, trying to connect to an external firebird 1.5 super server

独自空忆成欢 提交于 2019-12-06 16:50:36
I'm trying to connect to a Firebird 1.5 database that is located on a server, from my local machine with Python fdb libary. but I'm having no luck. the server is windows 2008 server R1 running Firebird 1.5.6 as a service. It also has a System DSN called firebird . How can i connect to it via python? I'm using this code: import fdb db = fdb.connect(host='192.168.40.28', database="C:\databases\database12.GDB", user='admin', password='admin') but it generates this result: Traceback (most recent call last): File "data.py", line 4, in <module> db = fdb.connect(host='192.168.40.28', database="C:

System.DirectoryServices.AccountManagement not working on the server

五迷三道 提交于 2019-12-06 16:42:22
I am using System.DirectoryServices.AccountManagement to find the logged-in user's AD entry. It is working great in the VS2008 WebDev server on developers machines. But when we installed the code on the development server (windows server 2008), we get an access error. Both the developer's machine and the development server are members of the same domain. We have Impersonation turned on, so we are connecting to AD with the same user credentials. What are we missing here? Why is it working on the developer's machine, but not the development server? The actual exception that we were receiving was

Checking if port is open [closed]

[亡魂溺海] 提交于 2019-12-06 15:40:09
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 . I want to see if port 1878 is open on my Windows Server 2008 R2. I use VPS server, so i talked with the VPS servers company and asked them to open all ports. When i'm running telnet 172.0.0.1 1878 i get that the port is not reachable. Is there another way to see if the port is open or open it? Use may use software such as nMap to test if a port is working, more specifically if it is closed or open. You may have

How to auto login to windows account?

自作多情 提交于 2019-12-06 15:04:36
问题 I am researching ways to auto login to a windows server, so applications can be restarted on reboot if the server crashes. Do windows services load before or after a user logs in? Can a windows service be used to login to an account? If not, is there any way to use some sort of login script to facilitate automatically loggin in? 回答1: Services run regardless of whether a user logs on. If you need an application to run all the time, have you considered converting it to a service? Auto-logon is

What DNS Name Label should I give my Azure Virtual Machine?

烈酒焚心 提交于 2019-12-06 13:41:55
In my ongoing effort to wrap my head around Azure's new Resource Group model (see previous questions here and here ), I am now trying to create a new Virtual Machine that will be used as a web server. I have thee questions: Question One: Assuming I eventually want this VM to host the website woodswild.com, what DNS Name Label should I give this VM? Does it matter? All I know for sure is that it needs to be globally unique. Does it need to reflect the domain I want to host (woodswild.com)? Question Two: Do I even need to set the DNS name at all? Question Three: And, now that I've already

Find out if IIS is installed by examining the Registry

99封情书 提交于 2019-12-06 12:14:42
问题 I have an innosetup installer that needs to create an IIS Virtual Directory. In order to create the virtual directory, IIS Management Service must be enabled. How do I check which Windows Features are enabled? The best solution would be to check a registry setting, but other methods that are possible via innosetup are fine. The solution should work with XP, Vista, Win7, Win2003 server and Win2008 server (32 and 64 bit). 回答1: I don't know offhand how to generically tell which features are

FileSystemWatcher InternalBufferOverflow

我是研究僧i 提交于 2019-12-06 11:51:24
I am getting an exception System.IO.Internal.BufferOverflowException when I am trying to monitor a folder on network path(DFS - Distributed File System): To many changes at once . It works fine when FileSystemWatcher is monitoring local/network path that don't use this filesystem. I am able to get an event from 1000 + files on local path and I am not getting BufferOverflow exception, however when I am copying file to folder that is on DFS I am not even able to get an event from one(To clarify this, I am getting an error event raised...). I've already tried to set: fileSystemWatcher

Scripting SFTP unattended download

假装没事ソ 提交于 2019-12-06 10:50:17
I am trying to connect to an SFTP server via software called WinSCP which is a Secure FTP client, I can script it to work by sending keys and doing it in a psuedo unattended mode, but the Server has to have a user logged in to send the keys, I need WinSCP to logon and transfer the files like a service where the console doesn't launch. I have tried following the Tutorials on the WinSCP website (for automated/unattended transfers but it gives me errors: Cannot created object , or cannot find library (from the dll file that I have associated with the COM) The error I get when I run the following

How to access GUI of a Windows application run by task scheduler under a specific domain user?

耗尽温柔 提交于 2019-12-06 09:21:39
On our server running Windows Server 2008 R2 there is a scheduled task that runs a Windows application (.Net 4.0) under a specific domain user that performs some tasks and reports its progress in a listbox on a form that pops up by double clicking on a tray icon (right hand side of the task bar). I understand that if I logon to the server (I can only remote desktop to the server) with a different user other than the one the scheduled task runs the application under I would not be able to see any user interface of the application but the problem is even if I remote desktop with the same login