I have an WCF-service running on an server, and occasionally(1-2 times every month) it throws an COMException with the informative message ”Unknown error (0x8005008)”. When i googled for this particular error I only got threads about problems when creating virtual directories in IIS. And the source code hasn’t anything with [...] read more
This one will need a bit of explanation... I want to set up IIS automagically so our Integration tests (using Watin) can run on any environment. To that end I want to create a Setup and Teardown that will create and destroy a virtual directory respectively. The solution I thought [...] read more
I get exceptions when executing a Power shell script (v1.0) on Windows Server 2008 (32 bit). It uses ADSI for searching a virtual directory before its deletion. I get the following exception: Exception calling "Find" with "2" argument(s): "Exception from HRESULT: 0x80005008" At line:1 char:29 + $iisMgr.psbase.children.find <<<< ("MyVirtualDir", $iisMgr.psbase.SchemaClassName) [...] read more
After deploying my web app, I am getting an exception error. After looking at the stack trace, I noticed that the web app was looking for files in my development directory, and not the IIS directory. For deployment, I am copying the files from my development directory to the IIS [...] read more
In my app i need to do a DirSync with the active directory. However, in my search preferences when i try to give the search preference parameter for page size, it shoots me an error (0x80005008, ADS_BAD_PARAMETER). If i dont give that, it works fine. I am giving the code [...] read more
i need to lock AD account by c#. here is my function /// <summary> /// This Methoid will Disable the User Account based on the Directory Entry Object /// </summary> /// <param name="oDE">The Directoy Entry Object of the Account to Disable</param> public void LockAccount(DirectoryEntry oDE) { oDE.InvokeSet("IsAccountLocked", true); //oDE.Properties["userAccountControl"][0] = [...] read more