none
Problemas con CRM RRS feed

  • Pregunta

  • Buenos dias,

    Tengo CRM instalado y venia funcionando normalmente y esta mañana al querer conectarme en el explorador sale este error:

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
      <system.web>
        <customErrors mode="Off"/>
      </system.web>
    </configuration>

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
      <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
      </system.web>
    </configuration>

    Server Error in '/' Application.

    Runtime Error

     

    Revise el sql, el servicio esta detenido al iniciarlo de forma manual sale el siguiente error:

    ---------------------------
    SQL Server Configuration Manager
    ---------------------------
    The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
    ---------------------------
    OK  
    ---------------------------

    Revisando el visor de sucesos sale el siguiente error:

    The log scan number (218:184:1) passed to log scan in database 'master' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.

    El servicio Microsoft CRM Asynchronous Processing Service esta detenido al querer iniciarlo sale el siguiente error:

    ---------------------------
    Services
    ---------------------------
    Windows could not start the Microsoft CRM Asynchronous Processing Service service on Local Computer.

    Error 1068: The dependency service or group failed to start.

    ---------------------------
    OK  
    ---------------------------

    Esta aplicacion es de gran importancia, les agradesco si me pueden ayudar, realmente estoy desesperada.

    Gracias.

    jueves, 7 de abril de 2011 15:47

Respuestas

Todas las respuestas

  • Hola, el tema es un error de los ficheros de log del SQL Server, que provoca que el CRM no se pueda conectar a la base de datos.

    revisa estos articulos a ver si te sirven para recuperar el funcionamiento de la base de datos:

    http://geeks.ms/blogs/fernandezja/archive/2009/02/27/error-en-la-base-model-del-sql-server-the-log-scan-number-passed-to-log-scan-in-database-model-is-not-valid.aspx

    http://www.dosql.com/blog/?p=74

    un saludo,


    Demian Adolfo Raschkovan Blog: http://crmtoall.blogspot.com
    jueves, 7 de abril de 2011 16:40
    Moderador
  • Hola,

    Revise los blogs, realice los pasos y otros por comando desde CMD, pero nada el error es la master de sql, estos son los pasos realizados:

    "\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\BINN\sqlservr.exe" -m

    Al hacer este procedimiento me sale el siguiente error en cmd.

    2011-04-07 12:05:58.67 Server      Microsoft SQL Server 2008 (SP2) - 10.0.4000.0
     (Intel X86)
            Sep 16 2010 20:09:22
            Copyright (c) 1988-2008 Microsoft Corporation
            Standard Edition on Windows NT 6.0 <X86> (Build 6002: Service Pack 2)

    2011-04-07 12:05:58.67 Server      (c) 2005 Microsoft Corporation.
    2011-04-07 12:05:58.67 Server      All rights reserved.
    2011-04-07 12:05:58.67 Server      Server process ID is 3292.
    2011-04-07 12:05:58.67 Server      System Manufacturer: 'Hewlett-Packard', Syste
    m Model: 'HP Compaq 8100 Elite CMT PC'.
    2011-04-07 12:05:58.67 Server      Authentication mode is MIXED.
    2011-04-07 12:05:58.67 Server      Logging SQL Server messages in file 'C:\SQLDA
    TA\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
    2011-04-07 12:05:58.67 Server      This instance of SQL Server last reported usi
    ng a process ID of 3768 at 4/7/2011 11:51:00 AM (local) 4/7/2011 6:51:00 PM (UTC
    ). This is an informational message only; no user action is required.
    2011-04-07 12:05:58.67 Server      Registry startup parameters:
             -d C:\SQLDATA\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf
             -e C:\SQLDATA\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
             -l C:\SQLDATA\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
    2011-04-07 12:05:58.67 Server      Command Line Startup Parameters:
             -m
    2011-04-07 12:05:58.69 Server      SQL Server is starting at normal priority bas
    e (=7). This is an informational message only. No user action is required.
    2011-04-07 12:05:58.69 Server      Detected 4 CPUs. This is an informational mes
    sage; no user action is required.
    2011-04-07 12:05:58.75 Server      Perfmon counters for resource governor pools
    and groups failed to initialize and are disabled.
    2011-04-07 12:05:58.76 Server      Using dynamic lock allocation.  Initial alloc
    ation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an infor
    mational message only.  No user action is required.
    2011-04-07 12:05:58.82 Server      Node configuration: node 0: CPU mask: 0x00000
    00f Active CPU mask: 0x0000000f. This message provides a description of the NUMA
     configuration for this computer. This is an informational message only. No user
     action is required.
    2011-04-07 12:05:58.84 Server      Database Mirroring Transport is disabled in t
    he endpoint configuration.
    2011-04-07 12:05:58.85 spid7s      Warning ******************
    2011-04-07 12:05:58.85 spid7s      SQL Server started in single-user mode. This
    an informational message only. No user action is required.
    2011-04-07 12:05:58.85 spid7s      Starting up database 'master'.
    2011-04-07 12:05:58.87 spid7s      Error: 9003, Severity: 20, State: 1.
    2011-04-07 12:05:58.87 spid7s      The log scan number (218:184:1) passed to log
     scan in database 'master' is not valid. This error may indicate data corruption
     or that the log file (.ldf) does not match the data file (.mdf). If this error
    occurred during replication, re-create the publication. Otherwise, restore from
    backup if the problem results in a failure during startup.
    2011-04-07 12:05:58.88 spid7s      Cannot recover the master database. SQL Serve
    r is unable to run. Restore master from a full backup, repair it, or rebuild it.
     For more information about how to rebuild the master database, see SQL Server B
    ooks Online.

    De ninguna manera he podido iniciar el sql para restaurar la BD master y asi reiniciar los servicios de CRM.

    Si conocen alguna manera para iniciar el sql y restaurar la master para asi poder seguir con el problema de CRM, se los agradeceria.

    Juana B.

    viernes, 8 de abril de 2011 14:17
  • Hola Juana,

    Primero que nada has un backup de tu CRM.

    Considera las siguientes Opciones:

    1. si instalaste el SQL Server en la misma ruta del Oroginal no deberias tener problema con ello, si no, lo que tendrias que hacer es Desatachar y atachar los archivos MDF.

    O crear todas las bases de datos a mano, para que estas se registren en la BD Master nueva. Posterior mente detachas las bases de datos que acabas de crear, las nuevas y vacias, y atachas los archivos del servidor original.

    Detach
    EXEC sp_detach_db 'Tu base de datos Nueva', 'true'

    Atach
    EXEC sp_attach_db @dbname = N'pubs',
    @filename1 = N'c:\Ruta donde se alojaran los archivos MDF\Tu DB.mdf',
    @filename2 = N'c:\Ruta donde se alojaran los archivos LDF\Tu DB_log.ldf'

    3. El ejemplo siguiente restaura la base de datos master en la instancia de servidor predeterminada. En el ejemplo se asume que la instancia de servidor ya se ejecuta en modo de usuario único. El ejemplo inicia sqlcmd y ejecuta una instrucción RESTORE DATABASE que restaura una copia de seguridad de base de datos completa de master desde un dispositivo de disco: Z:\SQLServerBackups\master.bak.

    4. O Revisa estos articulos espero te sirven para restaurar la base de datos:

    http://msdn.microsoft.com/es-es/library/ms190679(v=sql.90).aspx

    http://msdn.microsoft.com/es-es/library/ms175535.aspx

    Saludos y Suerte

     


    Hola A todos!
    viernes, 8 de abril de 2011 16:57
  • Hola wendy,

    Gracias por tu respuesta,

    Tengo bk de mi CRM, no puedo realizar la restauracion asi porque el sql no inicia por ninguna parte, configuration manager y por cmd.

    Realmente ese el mayor inconeveniente y la gran incongnita, si no puedo iniciar sql como voy a poder restaurar la master, se me habia ocurrido repara la instalacion con el DVD de instalacion pero no se que tan efectivo sea esto y si la confguracion del CRM se veria afectada.

    Espero alguien conosca un solucion para mi problema.

    Gracias.

    viernes, 8 de abril de 2011 19:28
  • Hola,

    Si consideras que no ay forma de rescatar la Master, pues si, hay que reinstalar.

     

    Suerte.


    Hola A todos!
    viernes, 8 de abril de 2011 21:39