I have got ASP application, and let me clear all code is working fine in my old server.
We recently moved our application to windows 2008 server R2 SP1, now after the deployment, in our default.asp page we we including four different files, and the issue is with every file, so I am taking one file as example.
Main File (default.asp) has got below object creation code on the top.
<%
Dim objTdsComponentLink, objTdsPageLink
Set objTdsComponentLink = Server.CreateObject("cd_link.ComponentLink")
Set objTdsPageLink= Server.CreateObject("cd_link.PageLink")
%>
Here everything works fine and we can use the object without any error.
As told above we are including four different files and in every file we are creating new object for our PageLink service as below:
Set PageLink = Server.createObject("cd_link.PageLink")
<% strURL = PageLink.GetLink("tcm:0-79-1", "tcm:79-64940-64", "", "", "more", True).URL%>
Issue is that if we try to declare new object as Set PageLink = Server.createObject(“cd_link.PageLink”), it gives error. however if we use same object which is declared above in default.asp it work perfectly and if we use or try to create new object it give below error.
error '800706be'
/include/home/FuelIndex.asp, line 26
Are we missing some configuration/installation here and surprising why it works for main page (default.asp) objects as well as it is working fine our old setup.
Would appreciate if you can give some suggestions/solutions for above issue.
Thanks.
I assume you are on IIS7.
Make sure you have Server Side Includes turned on as a feature of your webserver role. it is not turned on by default on server 2008 or newer machines. Its under server configuration, add/remove roles for IIS.
Make sure that you have enabled parent paths on IIS if the include is indeed in a parent path.
Make sure that your include code is correct in its syntax. Might want to test out with the include virtual since its a bit more flexible (versus include file).
Lastly, make sure that your application pool is 32 bit if the component you are creating is 32 bit. or 64 bit if that is what you are using.