Sage Accpac Community
Accpac Support Community
Search in

Server.CreateObject Failed in Sage CRM Custompage

Last post Wed, May 20 2009 7:08 PM by Apex. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • Wed, May 20 2009 7:08 PM

    • Apex
    • Top 500 Contributor
    • Joined on Wed, May 20 2009
    • Posts 1

    Server.CreateObject Failed in Sage CRM Custompage

     Hi,

     

    I have created a simple .asp custom page.  I have included the accpacrm.vbs.  however when I run the page, i get s Server.CreateOject Failed on line 73 of the accpaccrm.vbs which is

    Set CRM = Server.CreateObject("eWare.ewarebase")

    below is the entire code for the mypage.asp

    <%@ LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <!--#include file="accpaccrm.vbs" -->

    <body>
    <form id="form1" name="form1" method="post" action="">
      <input type="text" name="txtuserid" id="txtuserid" />
     
    </form>

    <%=txtuserid = eWare.GetContextInfo(Users,user_userid)%>

    </body>
    </html>

Page 1 of 1 (1 items)