Resumen Error 713   (2 mensajes )

Mensaje enviado por Sergio Daniel Jaime Peña <serjaime78@hotmail.com> el 9/01/2003

PRB: Run-Time Error 713 Opening Data Report in Distributed Application

The information in this article applies to:

Microsoft Visual Basic Professional Edition for Windows 6.0
Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q248055

SYMPTOMS

You are distributing a Visual Basic application that includes a data report. After installation, you receive the following error when you attempt to open the data report from your application:
Run-time error '713': Application-defined or object defined error

CAUSE

The Data Report run-time file (Msdbrptr.dll) was not included in your setup package.

RESOLUTION

To resolve this problem, use one of the following methods:

Open your project, and include a reference to the Msdbrptr.dll file. This file is listed as Microsoft Data Report Designer v6.0 in the References dialog box. You may see Microsoft Data Report Designer v6.0 listed more than once. Make certain that the file associated with the reference is Msdbrptr.dll. Once the reference has been verified, rebuild your setup package.

-or-
Manually include the Msdbrptr.dll file in the Package and Deployment Wizard (PDW). You can add the file manually in the Included Files dialog box window when you run the PDW and then rebuild your setup package.

After the installation, the following files should be present on the target system in the indicated folders:
\Msdbrptr.dll
\Common Files\Designers\Msderun.dll
\Msstdfmt.dll

The inclusion of Msdbrptr.dll (and its dependent files) typically corrects this problem. If you are still experiencing problems, make sure that the following files are included in your package:
Msdatrep.ocx
Msbind.dll

Data Reports do not directly depend on these files. However, if the files are missing, this can affect the Data Environment that is used by your report.

NOTE: If your application must have the Msdatsrc.tlb file, do not explicitly include this file because Msdatsrc.tlb is installed as part of the Microsoft Data Access Components (MDAC) upgrade.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Visual Basic installs two files, Msdbrpt.dll and MSdbrptr.dll, that are very similar. Both files are listed in the References dialog box as Microsoft Data Report Designer v6.0. The Msdbrpt.dll file is the Data Report designer, and the Msdbrptr.dll file is the Data Report designer runtime. You must distribute the run-time version of this file with your application. There is no dependency file for Msdbrpt.dll. If Msdbrpt.dll is installed with your application, a data report does not function correctly.

There are several ways in which to add a data report to a Visual Basic project. With two known exceptions, Visual Basic adds the correct reference. If you add this reference manually, the similarity between these two files makes it easy to reference the wrong file. The other way to get an incorrect reference is to add the data report component through the Add Components dialog box. This adds a reference to the data report instead of the data report runtime file. Under these circumstances, the data report works only in the development environment or when the data report is installed to a computer that has Visual Basic installed.
Last Reviewed: 10/15/2002
Keywords: kbAppSetup kbBug kbDatabase kbDataBinding kbDeployment kbDSupport kbprb kbReportWriter kbwizard KB248055





Sergio Daniel Jaime Peña
Algeciras (Cádiz - España)
serjaime@telefonica.net

Mensaje enviado por "Juán Collado Angulo" <jca@teka-industrial.com> el 9/01/2003

Acabo de tener el mismo problema y lo he resuelto de esta manera:
El class Id a que se refiere es la dll dao360.dll. Cópiala al \windows\system y registrala con regsvr32
Parece ser un fallo del empaquetador. Copia la dao350.dll aunque no la tengas referenciada en tu proyecto.

Saludos. Ya nme dirás algo..

>>> "Mario Lacunza" <melvpe@yahoo.es> 9/01/03 0:17:55 >>>
Hola Lista,
    Acabo de terminar un peque±o programa en VB6 SP5. Ya genere los .CAB con el instalador de que viene con el Visual. Al tratar de entrar a una de las pantallas del mismo me da el
    
    "Error 713 en tiempo de ejecucion:
    
    Clase no registrada.
    Buscando objeto con CLSID: {0000000100-0000-0010-8000-00AA006DAEA4}"
    
    y me cuelga toda la aplicacion, mejor dicho no responde a los click del mouse o atajos del teclado.
    
    Alguien me puede ayudar???
    
    Gracias!!


Saludos / Best regards.

Mario Lacunza
Email: melvpe@yahoo.es
Lima - Peru



Resumen Resumen

Visual Basic Página de Visual Basic

Página principal Página principal

www.jrubi.com