windows-server-2003

How to import a groups members using 'ldifde'?

霸气de小男生 提交于 2019-12-12 19:09:39
问题 I have two domains. One production. One testing. There is no trust between the two. I can import all user objects and group objects successfully using ldifde commands. When I attempt to also include group members in my export/import I can't seem to successfully import. Here are the variations I have tried: Attempt 1: file format: dn: CN=Group-name,OU=Groups,OU=Managed,DC=dev,DC=net changetype: add member: CN=USER1,OU=Users,OU=Managed,DC=dev,DC=net member: CN=USER2,OU=Users,OU=Managed,DC=dev

I'm getting blank pages instead of error messages using classic ASP, IIS6 and WinServer 2003 R2

心不动则不痛 提交于 2019-12-12 13:10:12
问题 We have an old system running on a WinServer2003 R2 - IIS6 and it was written using classic ASP. We need to trap all errors and for that, I configured IIS to redirect 404s and 500s to a custom page (custom errors config) that writes the info to a log file (this page creates and manages the logs). Here is the weird thing: The first time the error occurs, the page is redirected and I get my log file entry. But, if this page is loaded again (I hit F5, or other user goes there, etc), the browser

Change the default SqlCommand CommandTimeout with configuration rather than recompile?

不想你离开。 提交于 2019-12-12 10:46:59
问题 I am supporting an ASP.Net 3.5 web application and users are experiencing a timeout error after 30 seconds when trying to run a report. Looking around the web it seems it's easy enough to change the timeout in the code, unfortunately I'm not able to access the code and recompile. Is there anyway to configure the default for either the web app, the worker process, IIS or the whole machine? Here is the stack trace up to the point where it's in System.Data in case I'm missing some other problem:

Removing double quotes in a batch program in Windows 2003

隐身守侯 提交于 2019-12-12 05:58:44
问题 I'm just past a beginning batcher (probably more like a butcher) and have been fighting with this far too long (I've found some suggestions and tried them but can't seem to make any of them work - probably UE). I have a file on a Windows 2003 machine that I created in with a batch file (dir_list.txt) that looks like: "t001wp" "w003th" "b005ku" "k009dp" . . . . I want to strip out the double quotes. Thanks in advance for any help. 回答1: Search help for the "for" command and the answer is near

Exporting c++ function, declared in vb6, getting “remote procedure call failed” runtime error

心已入冬 提交于 2019-12-12 03:02:42
问题 I have a dll written in C++ that is being exported like so: extern "C" { extern _declspec(dllexport) (VOID) Merge(LPCSTR szFileName, LPCSTR szMergeString, DWORD dwAlignment, BOOL fRepeat); } That function is defined elsewhere as: extern _declspec(dllexport) (VOID) Merge(LPCSTR szFileName, LPCSTR szMergeString, DWORD dwAlignment, BOOL fRepeat) { Tools::Merge(gcnew String(szFileName), gcnew String(szMergeString), dwAlignment, fRepeat == TRUE); } In my vb6 dll, I have declared the remote call

Remote connect to SQL Server Standard Edition from PHP/FreeBSD

北城以北 提交于 2019-12-12 02:48:14
问题 Unable to connect to our company MSSQL server from one of our FreeBSD servers. # telnet 192.168.1.51 1433 Trying 192.168.1.51... telnet: connect to address 192.168.1.51: Connection refused telnet: Unable to connect to remote host No firewall running on the MSSQL server, and i have opened the default port on the BSD-FW 00210 allow tcp from any to any dst-port 1433 in 00215 allow tcp from any to any dst-port 1433 out Any ideas on this? The specifics of the MSSQL server running on a Windows

WPF issues with Windows Server 2003

此生再无相见时 提交于 2019-12-12 02:39:20
问题 I'm having strange issues with a WPF application. I've deployed it under Window Server 2003 and its behavior is different compares to Win7. For example I have this kind of XAML : <GroupBox x:Name="groupbox1"> <GroupBox.Style> <Style BasedOn="{StaticResource {x:Type GroupBox}}" TargetType="{x:Type GroupBox}"> <Style.Triggers> <DataTrigger Binding="{Binding IsModel, UpdateSourceTrigger=PropertyChanged}" Value="True"> <Setter Property="Visibility" Value="Collapsed" /> </DataTrigger> </Style

DirectoryServices - “Network logon failure unknown user name or bad password”

好久不见. 提交于 2019-12-11 23:39:16
问题 I'm building a little library that can be used to query Active Directory resources. I've tested it out before and it works as I expect it to. The problem is I have created a brand new VMWare virtual computer with Windows Server 2003 installed, created the domain, added some dummy objects and now when I try to run the application I get the error: "Network logon failure unknown user name or bad password". //Example 1: Find all users in Active Directory. Be sure your LDAP connection string is

Install MVC on 2.0.NET Server with IIS6 without Admin Rights

狂风中的少年 提交于 2019-12-11 23:12:43
问题 On my local machine using IIS 5 (winxp) and visual Web Developer, I've built a beautiful and well composed website using MVC. Now to deploy to the testing server. I find out that it does not have MVC installed - Error:- Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Source Error: Line 39: add assembly="System.Web.Abstractions,Version

asp.net site throwing a System.Security.SecurityException

微笑、不失礼 提交于 2019-12-11 20:38:57
问题 I have an ASP.NET application that was working fine on my server up until last night when I installed a bunch of windows updates, now it's throwing this exception : System.Security.SecurityException: Requested registry access is not allowed. Unfortunately there is some things that makes this hard to debug. I added the debug="true" attribute to the web.config file to get the line where the exception is lauched. The line identified in my code is an End If and the code just before seems benign :