Posted  by  admin

Windows Server 2008 32 Bits

reader comments

  1. Windows Server 2008 64 Bit Iso Download
  2. Windows Exchange Server

In order to make it easier for customers to take advantage of the new offers available to you, Azure Site Recovery has now added the ability to migrate servers running Windows Server 2008, including servers running 32-bit and 64-bit versions of Windows Server 2008 to Azure. If your hardware will support it, I suggest running the x64 version of Server 2008. For Exchange 2007, x64 is mandatory; for SQL Server 2005, x64 will provide significantly better performance on the same hardware compared to the x86 version. In my experience, the performance gains are especially notable with large SQL Server applications.

with 8 posters participating

The same day the Windows 7 beta was released, the Windows Server 2008 R2 beta went public as well, and the same goes for the Windows 7 Ecosystem Readiness Program. Server 2008 R2 will be the first operating system Microsoft ships that will not come in 32-bit and 64-bit flavors: only a 64-bit version will be released. Keygen autocad 2015 32 bit download. Furthermore, as Microsoft Evangelist Volker Will notes, 32-bit support will not be installed by default for Server Core, a significantly scaled-back installation where no Windows Explorer shell is installed.

'With Windows Server 2008 R2 Server Core we will ship the first operating system with optional 32-bit support. You will have to explicitly enable 32-bit application support,' notes Will. 'WoW64, the 32-bit app support layer, is not installed by default. This reduces the attach surface, helps saving memory and makes the whole OS, when running native 64-bit apps only, leaner. The only person impacted by this change is most likely the system administrator.'

Administrators that need to run 32-bit code on Server Core will have to install the optional component by running the following command from the command line: 'start /w ocsetup ServerCore-WOW64' (without the quotes).

Microsoft's homepage recently started being run by Windows Server 2008 R2 beta, a move that the company does with every Windows Server release to show the confidence it has in its own product.

I am using the default DllSurrogate to enable automation of a 32bit COM object in 64bit. This works perfectly in Windows7 64 bit and Windows Server 2008 R2. However; regular flavor Windows Server 2008 (pre R2) completely ignores the DllSurrogate entry in the registry. I've researched this for days and found documentation that classic Windows Server 2008 had registry reflection which ignores the DllSurrogate value if its blank. (I leave the value of the registry string blank to use the default Surrogate.) To work around this not-reflected (not copied between 32bit and 64bit registries), I run the regedit.exe*32 and set the keys. Then I open normal regedit and set the keys. Still no luck. I have also tried setting the DllSurrogate registry value to c:windowssyswow64dllhost.exe so that the value isn't blank but that doesn't work at all (on any OS). The error I receive is 'cannot create activex object.'

2008

I have reproduced the problem on 2 different Windows Server 2008 (Pre R2) machines. I also verified that the COM object can be used on those machines when launched from a 32 bit app. I used LINQPad 32 bit and 64bit to test. LINQPad running as 32 bit can create the COM object. 64bit LINQPad cannot.

[link text][1] <-- Solution I am using (works on R2)http://msdn.microsoft.com/en-us/library/aa384253(VS.85).aspx <-- Documentation that DllSurrogate registry entry is not reflected on Windows Server 2008, but I don't know how to circumvent this limitation. I tried using regedit.exe*32 to edit the 32bit registry directly.

Any ideas what I am missing here? Is there some special trick to use the default DllSurrogate (dllhost.exe) on pre-R2? Rewriting our COM to .NET is not an option at the moment. I hope that I am just missing something as this does work on the latest Windows Server 2008 R2.

Thanks for taking a look!Danny

DannyDanny

Windows Server 2008 64 Bit Iso Download

1 Answer

Windows Exchange Server

Problem solved! Thanks Hans for setting me on the right track! I accidentally configured the system to use a 64-bit DLLHost.exe file, which didn't work since it couldn't launch a 32-bit COM object.

Start-to-finish, here is how I was able to use my 32-bit COM object from a 64-bit application.

  1. Register COM object with regedit*32 (c:windowssyswow64regedit)

  2. Make the following registry changes. Be sure to put this all under Wow6432Node so the 32-bit DLLHost will be used.

  3. Determine your COM object's GUID by searching for registry for classname. ie. Classname would be the value you pass to createobject, like CreateObject('classname').

  4. Locate existing key HKey_Classes_RootWow6432NodeCLSID[GUID]. Add a new REG_SZ (string) Value called AppID with a the COM object GUID as the value.

  5. Add a new key HKey_Classes_RootWow6432NodeAppID[GUID]. Under this new key, add a new REG_SZ (string) Value called DllSurrogate. Leave the value empty.

  6. If not already there, create new Key under HKey_Local_MachineSoftwareWow6432NodeClassesAppID[GUID].If not already there, add a new REG_SZ (string) Value called DllSurrogate under this key. Leave the value empty. Akreditasi program studi.

Now when you create your COM object you should see DLLHost.exe*32 show up in task manager. Turn on the command-line column in task manager and you should see C:windowssyswow64dllhost.exe /processid:{YourCOMGUIDHere}

DannyDanny

Not the answer you're looking for? Browse other questions tagged comwindows-server-2008 or ask your own question.