My apologies if this has been answered before. I've searched for answers, but none seem applicable to my specific case.
We are migrating old software from Windows 2003/IIS 6 to Windows 2008 R2/IIS 7.5. The software is a COM app (exe, not dll), built using VB6. Recompiling/rewriting the app is out of the question.
I am looking for step by step instructions on how to migrate this application since I am a complete newbie to Win 2008 R2/IIS 7.5. Also, I've never deployed a COM app before, so this is all new to me.
I have tried several things that were suggested on other forums, but none seem to solve my problem.
When I run this ASP code:
<%@ LANGUAGE="VBSCRIPT" %>
<%
'Response.ContentType = "text/plain"
Response.Buffer = True
Response.Write "Server Is OK"
Set ClientLog = Server.CreateObject("XFTS.FileOps")
Set ClientLog = Nothing
%>
I get the following error in the IIS logs:
2014-06-16 18:22:29 ::1 GET /serverstatus.asp |6|ASP_0178_:_80070005|Server.CreateObject_Access_Error 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko 500 0 0 15
I have done the following:
1) copied the COM app to c:\Windows\sysWOW64
2) registered the COM app by typing the following at a command prompt elevated to administrator:
xxxxx.exe /register
3) I set full permissions to this COM object for all the users I can think of (IUSR, NETWORK, NETWORK SERVICE, IIS_IUSRS)
4) I created a Classic .Net application pool (No managed code, enabled 32-bit applications, set pipeline to classic mode, etc.
If someone could give me step by step instructions, that would be really helpful. Many thanks in advance!
Han