windows-server-2008

What is the limit on the machine name in window server?

江枫思渺然 提交于 2019-12-10 16:33:41
问题 I need to store the machine name in a database field, so I need to know how big to make the field. So is there a limit on the length of a machine name? If so what is the limit? Can I machine name be Unicode? 回答1: This KB article says 255 bytes for the FQDN and it does support Unicode. http://support.microsoft.com/kb/909264 DNS domain names The maximum length of the host name and of the fully qualified domain name (FQDN) is 63 octets per label and 255 bytes per FQDN. This maximum includes 254

The compiler failed with error code -1073741502 (SharePoint 2010 SP1 running on Windows Server 2008 R2)

本小妞迷上赌 提交于 2019-12-10 14:37:56
问题 I have a virtual machine (running in VMWare Workstation 8.0.2 on my laptop) running Windows Server 2008 R2 Standard and SharePoint Server 2010 SP1 that I use for SharePoint development (Visual Studio 2010 is installed on the virtual machine). Sometimes I get the following error message: Server Error in '/' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required

ASP.NET intranet site asking for credentials - Windows Authentication

笑着哭i 提交于 2019-12-10 14:01:12
问题 I created my first website in ASP.Net and I am trying to get it up and running on our intranet here at work. I have got almost everything completed now, and I have come to a roadblock. I need to use Windows Authentication - requirement from my team - so I went through the process of setting up the site. I have everything configured and attempted to access the site (non-localhost) and got a dialog box asking for my login credentials. I cannot figure out for the life of me why that is. I have

File.Delete doesn't throw error when the file doesn't exist

天涯浪子 提交于 2019-12-10 13:32:25
问题 Strange problem occurs on the production platform (64 bit win 2008 server). It is connected with File.Exists and File.Delete methods... On test platform in debug (win xp), etc it works fine. On Server 2008 for the first few times File.Exists reported true for the file which didn't exist ... When I Was doing further tests File.Exists finally reported false for the file which didn't exist. But File.Delete hadn't thrown any error when attempting to delete the file which didn't exists ... What is

FileSystemWatcher InternalBufferOverflow

笑着哭i 提交于 2019-12-10 11:33:43
问题 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

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

点点圈 提交于 2019-12-10 11:15:10
问题 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)?

UAC: Manifest file is ignored

有些话、适合烂在心里 提交于 2019-12-10 10:58:01
问题 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 manifest file: <?xml version="1.0" encoding="utf-8"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas

Scripting SFTP unattended download

老子叫甜甜 提交于 2019-12-10 10:48:09
问题 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

Dr. Watson alternatives for Windows 2008+?

纵然是瞬间 提交于 2019-12-10 10:27:31
问题 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 the crash (we use this with the PDB and map information to backtrace to the faulting location), and it would have to work with windows services (including those

WinHttp errors on option 9 / Win2008 / Classic ASP

痴心易碎 提交于 2019-12-10 10:15:55
问题 The Server I am connecting to requires TLS 1.1. My attempts fail. I am on a Windows Server 2008 R2 Standard SP1 64bit machine using Classic ASP. Here is my code: const WinHttpRequestOption_SecureProtocols = 9 const SecureProtocol_TLS1_1 = 512 dim objHTTP set objHTTP = CreateObject("WinHttp.WinHttpRequest.5.1") No error: objHTTP.Option(9) = 128 'No error: objHTTP.Option(9) = &H80 'Errors right here: objHTTP.Option(WinHttpRequestOption_SecureProtocols) = SecureProtocol_TLS1_1 'Errors right here