Answered by:
IIS Extension 64 bit problem

Question
-
User-333407029 posted
hi, I have written a IIS Extension using Visual Studio 2010. When I compile this for 32bit release version and deployed on Windows server 2003 32 bit it worked fine. But when I compile this for 64 bit release version and deploy it on Windows server 2003 64 bit its not working. I cant see any logs in event viewer. I am not able to troubleshoot this problem also as I could not get any logs. Any help is appreciated in this issue. Thanks in advanceThursday, March 17, 2011 8:48 AM
Answers
-
User-333407029 posted
Thanks Li for the answers.. I have solved the problem, but I am struck in another problem now. I am able to process request. After processing the request I want to set a cookie and redirect the browser. Can you provide some idea how this can be done. Thanks- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Monday, March 21, 2011 10:42 AM
All replies
-
User690216013 posted
The first thing you may try to learn how to trigger a debugger hook inside your extension's initialization part, then you should be able to debug your extension using VS.
http://blogs.msdn.com/b/calvin_hsia/archive/2006/08/25/724572.aspx
If your extension is not even initialized, then you should go back to IIS settings.
Friday, March 18, 2011 10:12 PM -
User-333407029 posted
Thanks for the reply Lex Li I tried to use DebugDiag tool. From the UserDump of w3wp process I see that My dll is not getting loaded at all. But other dlls that were present as IIS filters or extension mappings are getting loaded. These filters were already present I have not installed any new filters. When I access the website for which my Extension is configured as wildcard map I get 404 error on the browser. Can you let me know what are IIS setting required for my DLL to be initialized properly. From the dll I could also see that the methods GetExtensionVersion and HTTPExtensionProc are both exported. ThanksMonday, March 21, 2011 2:10 AM -
User690216013 posted
No, I cannot tell. You may open a support case via http://support.microsoft.com and let Microsoft support review your IIS settings.Monday, March 21, 2011 8:45 AM -
User-333407029 posted
Thanks Li for the answers.. I have solved the problem, but I am struck in another problem now. I am able to process request. After processing the request I want to set a cookie and redirect the browser. Can you provide some idea how this can be done. Thanks- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Monday, March 21, 2011 10:42 AM