Last post Feb 09, 2011 12:23 PM by grundebar
Feb 09, 2011 10:00 AM|toyash|LINK
I found one article (http://msdn.microsoft.com/en-us/library/aa479313.aspx) from Microsoft site. I need help from anyone who has any idea about running 32bit DLL in 64bit
Environemnt. I have 2003 Server, IIS6 and 64 bit SQL SErver 2005.
Article code's SessionMgr2 dll is 32bit and i wnat make it run on 64bit. I can't change my environment to 32bit as there are many application hosted to same server and sharing same application pool.
In one the Microsoft solution it mentioned that if you run following command, you should be able to run 32bit dll on 64bit. I tried that it successfully chagne the setting but when i open the website. It just keep loading and loading. And as soon as i change
back this setting it works fine.
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”
I am looking in to following option.
1. Either i change some setting on iis6 that able to run 32bit dll on 64bit environemnt.
2. Change 32bit DLL to 64bit (If possible, I have not idea about it)
3. I have code for 32bit dll but i am not sure if i can rewrite in C# or vb.net and compile new dll with 64bit as it referencing some interface like "ISessionPersistence", "ObjectContext", and "mySession"
Or. Will updgrading my iis6 to iis7 work as i read somewhere that with iis7 you can configure to support 32bit dll in 64bit application pool.
Anyone has iplemented this successfully or has any kind of knowledge about it , please reply. I am stuck with it and its really critical issue for me, I need to resolved it ASAP.
I appreciate any kind of guidance.
share session asp.net and classic asp
Feb 09, 2011 12:23 PM|grundebar|LINK
Deja Vu! I was just reading up on this very topic trying to find a solution. My case does not allow the use of COM on our asp application servers so I needed an alternate solution to the one in the article you mentioned. I found
this article that offers a pretty streamlined option imho. It solves my issue and only requires one new table in my data source. Hopefully it helps you out.