Siga-nos em...
Follow us on Twitter Follow us on Facebook Watch us on YouTube
Registro

Alpha Servers
Resultados 1 a 5 de 5
  1. #1

    Avatar de mymax
    Data de Ingresso
    May 2014
    Localização
    Lorencia
    Idade
    33
    Posts
    66
    Agradecido
    5
    Agradeceu
    5
    Peso da Avaliação
    10

    Padrão Gerar arquivo ConnectMember.txt automaticamente.

    olá , galera estou com esse seguinte problema !
    não estou conseguindo gerar o ConnectMember.txt.

    coisa que eu conseguia gerar quando usava outra DB no SQL 2000.
    agora to usando uma DB do ms , de versao 1.02c, não se se esta faltando alguma coluna ou tabela !
    estou usando esse codigo aqui ! que por sinal sempre usei e deu certo

    Código PHP:
    declare @memb___id varchar(10)
    declare @
    vip int
    declare @value varchar(255)
    declare @
    address varchar(255)
    SET @address 'C:\MuServer\Data\ConnectMember.txt'
    SET @value 'DEL '+ @address
    exec MASTER
    ..XP_CMDSHELL @value
    declare c cursor for select memb___idvip FROM MEMB_INFO

    open c
    FETCH NEXT FROM c INTO 
    @memb___id, @vip

    WHILE @@FETCH_STATUS 0
    BEGIN 
        
    IF @vip 2
        BEGIN
          SET 
    @value 'ECHO;"' + @memb___id '" >> '+ @address
          exec MASTER
    ..XP_CMDSHELL @value
         
    print @value
           
    END
     FETCH NEXT FROM c INTO 
    @memb___id, @vip
    END

    CLOSE c
    DEALLOCATE c 

    e está dando esse erro ! no qual aparece os loguins dos players !

    Código PHP:
    Msg 15281Level 16State 1Procedure xp_cmdshellLine 1
    SQL Server blocked access to procedure 
    'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this serverA system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell'see "Surface Area Configuration" in SQL Server Books Online
    Msg 15281Level 16State 1Procedure xp_cmdshellLine 1
    SQL Server blocked access to procedure 
    'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this serverA system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell'see "Surface Area Configuration" in SQL Server Books Online
    ECHO;
    "zgii" >> C:\MuServer\Data\ConnectMember.txt
    Msg 15281
    Level 16State 1Procedure xp_cmdshellLine 1
    SQL Server blocked access to procedure 
    'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this serverA system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell'see "Surface Area Configuration" in SQL Server Books Online
    ECHO;
    "ya9" >> C:\MuServer\Data\ConnectMember.txt
    Msg 15281
    Level 16State 1Procedure xp_cmdshellLine 1
    SQL Server blocked access to procedure 
    'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this serverA system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell'see "Surface Area Configuration" in SQL Server Books Online
    ECHO;
    "YAMI_" >> C:\MuServer\Data\ConnectMember.txt
    Msg 15281
    Level 16State 1Procedure xp_cmdshellLine 1
    SQL Server blocked access to procedure 
    'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this serverA system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell'see "Surface Area Configuration" in SQL Server Books Online
    ECHO;
    "TNT" >> C:\MuServer\Data\ConnectMember.txt 

  2. #2

    Avatar de mymax
    Data de Ingresso
    May 2014
    Localização
    Lorencia
    Idade
    33
    Posts
    66
    Agradecido
    5
    Agradeceu
    5
    Peso da Avaliação
    10

    Padrão

    ninguem sabe não ? ;\

    ---------- Post added at 02:19 AM ---------- Previous post was at 02:13 AM ----------

    podem fechar , consegui solucionar

  3. #3

    Avatar de TheNight
    Data de Ingresso
    May 2014
    Localização
    no computador
    Posts
    91
    Agradecido
    15
    Agradeceu
    11
    Peso da Avaliação
    10

    Padrão

    Poste como fez, eu tenho a mesma duvida cara.

  4. #4

    Avatar de hadeslan
    Data de Ingresso
    Oct 2010
    Localização
    Nada a dizer no moumento
    Idade
    30
    Posts
    996
    Agradecido
    207
    Agradeceu
    152
    Peso da Avaliação
    23

    Padrão

    poderia falar como resolvel amigo

  5. #5

    Avatar de sula
    Data de Ingresso
    Oct 2011
    Localização
    Fortaleza
    Posts
    269
    Agradecido
    73
    Agradeceu
    58
    Peso da Avaliação
    15

    Padrão

    - Gerar connectMember, vc monta uma job, use o comando abaixo e ponha pra rodar no horario que achar melhor.
    - A parte em negrito vc altera para onde fica seu arquivo.


    declare @memb___id varchar(10)
    declare @vip int
    declare @value varchar(255)
    declare @address varchar(255)
    SET @address = 'C:\MuServer\Gamexxxx\Data\ConnectMember.txt'
    SET @value = 'DEL '+ @address
    exec MASTER..XP_CMDSHELL @value
    declare c cursor for select memb___id, vip FROM MEMB_INFO

    open c
    FETCH NEXT FROM c INTO @memb___id, @vip

    WHILE @@FETCH_STATUS = 0
    BEGIN
    IF @vip = 1
    BEGIN
    SET @value = 'ECHO;"' + @memb___id + '" >> '+ @address
    exec MASTER..XP_CMDSHELL @value
    print @value;
    END
    FETCH NEXT FROM c INTO @memb___id, @vip
    END

    CLOSE c
    DEALLOCATE c
    é isto

 

 

Informações de Tópico

Usuários Navegando neste Tópico

Há 1 usuários navegando neste tópico. (0 registrados e 1 visitantes)

Tópicos Similares

  1. |Pedido| Gerar ConnectMember
    Por XFire no fórum Pedidos
    Respostas: 3
    Último Post: 17-12-2010, 10:37 PM
  2. |Tutorial| Gerar arquivo ConnectMember.txt automaticamente.
    Por Styllus no fórum Tutoriais
    Respostas: 7
    Último Post: 14-12-2010, 10:24 AM
  3. |Jobs/Query| Gerar ConnectMember
    Por Cøłєridgє no fórum Jobs e Querys
    Respostas: 9
    Último Post: 11-11-2010, 11:25 AM
  4. |Resolvido| AutoReload ConnectMember
    Por Geniopx no fórum Tópicos resolvidos
    Respostas: 0
    Último Post: 23-05-2010, 07:45 PM
  5. |Resolvido| Arquivo ConnectMember
    Por Gaming no fórum Pedidos
    Respostas: 1
    Último Post: 23-04-2010, 04:44 AM

Marcadores

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • Você não pode enviar respostas
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •