469,964 Members | 1,740 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Microsoft VBScript runtime (0x800A01A8)

hi,
my project is about displaying map(and its info) based on query fired..the result of the query should be displayed in the form of report(collecting data from database)...the problem is when i uploaded the page,the error shown was:-


The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'WMBuilder.ReportBuilder'
/IITR_ROADS/GWMAppGen/Content/Build/QryReportBuild.inc, line 42


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)

Page:
GET /IITR_ROADS/GWMAppGen/Content/QueryResult.asp

Time:
Saturday, April 12, 2008, 2:45:30 AM


More information:
Microsoft Support

-----------------------------------------------------------------------------
and my code was:-


Expand|Select|Wrap|Line Numbers
  1.  <!-- Including customizable query definitions 
  2. #INCLUDE FILE="..\..\Content\Defs\CustomQueryDefs.inc" -->
  3.  
  4. <!-- Including customizable query definitions
  5. #INCLUDE FILE="..\..\Content\Defs\ConnectionDefs.inc" -->
  6.  
  7.      <!-- Including customizable query definitions
  8. #INCLUDE FILE="..\..\Content\Build\MapBuild.inc" -->
  9.  
  10. <%
  11.  
  12.     Dim sobjRBuilder
  13.  
  14.     svarConnectionDefs=GetConnectionDefs
  15.     svarQueryDefs = GetCustomQueryDefs
  16.  
  17.     Set sobjRBuilder = CreateObject("WMBuilder.ReportBuilder")
  18.  
  19.     '-- Set references to built-in ASP objects
  20.     Set sobjReportBuilder.Request = Request
  21.     Set sobjReportBuilder.Response = Response
  22.     Set sobjReportBuilder.Server = Server
  23.  
  24.     '-- Build Report
  25.     sobjReportBuilder.BuildQueryReport svarConnectionDefs, svarQueryDefs
  26.  
  27.     '-- Retrieve query report parameters
  28.     slngMaxRecords = sobjReportBuilder.MaxRecords
  29.     slngFirstRecordIndex = sobjReportBuilder.FirstRecordIndex
  30.     slngTotalRecordsCount = sobjReportBuilder.TotalRecordsCount
  31.  
  32.     '-- Clean up 
  33.     Set sobjReportBuilder = nothing
  34.  
  35. %>
  36.  
plz help as soon as possible
Apr 12 '08 #1
1 2088
DrBunchman
979 Expert 512MB
Hi deepakalra,

The problem is the 'WMBuilder.ReportBuilder' object you are trying to create. Have you installed the necessary dll to use this object? Are you sure you've spelt the name correctly?

Where have you got this object from?

Dr B

PS Please use the code tags provided (the # button at the top) when making a post - it makes your code much easier for everyone to read :-)
Apr 12 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by PaulieS | last post: by
reply views Thread by =?Utf-8?B?TWF0dCBDYWxob29u?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.