Jump to content

Marlon Nardi

uniGUI Subscriber
  • Posts

    613
  • Joined

  • Last visited

  • Days Won

    70

Posts posted by Marlon Nardi

  1.  

    Marlon, create several dll, one for each module, would not bring an overload on the server being necessary a connection to the database for each form.
     
    There is no problem when you work in layers.
     
    I still think that one application only is much simpler to work with and share code or data between forms. until the same server resources. I do not have one unigui server allocated to each form.
    or am I talking nonsense?
     
    In this new structure does not intend to work for each form a dll, but for each module.
     
    of course the problem of updating the same will have to knock everybody, but this can be avoided with updates after business hours.
     
    You have viewed your Facebook, Twitter, DropBox, Google etc, update their systems outside of business hours. They never stop!

     

    If we want to be great, we have to think like them (great).

     

  2. It is a very interesting subject,

    I've also had thinking about it, however I would separate DLL per module.

    Login and Menu 1 DLL
    Accounts payable 1 DLL
    Accounts Receivable 1 DLL

    etc.

    because the current model, when I need to update my application, I have to knock down all those who are connected. In this new model I would just upgrade by modules, not impacting both.
    I'm studying now, a way of sharing the session the user logged in, and instead of using datamodules, I'm working with the TMS Aurelius.

  3. Bom dia,

     

    Utilize as mesmas na seção private de seu Form que não haverá problema algum, nunca utilize variáveis globais em seus projetos UniGui, pois outras sessões conectadas podem ter acesso a elas.

    Caso necessite utilizar variáveis globais utilize-a dentro do UniMainModule que seria variáveis globais para sua própria sessão.

     

    Use the same in the private section of your Form that there is no problem , never use global variables in your UniGui projects because other connected sessions can have access to them.

    If you need to use global variables use it within the UniMainModule would be global variables to their own session.


  4. vgweb: 00000E3C: 09:00:54 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000E3C: 09:00:54 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000E3C: 09:00:54 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000CA4: 09:00:54 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00001288: 09:08:46 [REMOVED]:Exception : Access violation at address 02636FCF in module 'vgweb.dll'. Read of address 13950D99 : Addr: $02D24DBB

    vgweb: 00000FC4: 09:13:11 [HandleFileRequest[REMOVED]]:File not found: C:\inetpub\wwwroot\app.staff\fonts\glyphicons-halflings-regular.eot

    vgweb: 000008E4: 09:18:11 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000E3C: 09:18:11 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000FC4: 09:27:45 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000FC4: 09:27:45 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA

    vgweb: 00000FC4: 09:27:45 [HttpExtensionProc[REMOVED]]:EUniSessionException : Sessão expirada ou tempo de sessão esgotado. : Addr: $02A421DA


     

  5. UniGui: 0.99.50.1211

     

    EurekaLog 7.3.0.0  

    Exception:
    ----------------------------------------------------------------------------------------------------
      2.2 Address: 02D24DB6
      2.5 Type   : Exception
      2.6 Message: Access violation at address 02636FCF in module 'vgweb.dll'. Read of address 13950D99.
      2.7 ID     : 0B170000
      2.11 Sent  : 0

    User:
    -------------------------------
      3.2 Name : Usuário do Windows
      3.3 Email:

    Steps to reproduce:
    ------------
      8.1 Text:


    Call Stack Information:
    -------------------------------------------------------------------------------------------------------------------------
    |Methods |Details|Stack   |Address |Module   |Offset  |Unit             |Class           |Procedure/Method    |Line     |
    -------------------------------------------------------------------------------------------------------------------------
    |*Exception Thread: ID=4744; Parent=0; Priority=0                                                                       |
    |Class=; Name=                                                                                                          |
    |DeadLock=0; Wait Chain=                                                                                                |
    |Comment=                                                                                                               |
    |-----------------------------------------------------------------------------------------------------------------------|
    |7FFFFFFE|04     |00000000|02D24DB6|VGWeb.dll|006F4DB6|uniDBGrid        |TUniCustomDBGrid|H_OnDataLoaded      |3001[46] |
    |00000020|03     |0209F400|029D1BA3|VGWeb.dll|003A1BA3|uniGUIJSInterface|TUniJSHelper    |HandleEvent         |         |
    |00000020|03     |0209F454|02A014CA|VGWeb.dll|003D14CA|uniGUIClasses    |TUniControl     |HandleEventIntercept|         |
    |00000020|03     |0209F484|02A0A635|VGWeb.dll|003DA635|uniGUIClasses    |TUniFormControl |HandleEventIntercept|         |
    |00000020|03     |0209F4A8|029CA28B|VGWeb.dll|0039A28B|ExtPascal        |TExtThread      |HandleEvent         |         |
    |00000020|03     |0209F4E0|02A26791|VGWeb.dll|003F6791|uniGUIApplication|TUniGUISession  |HandleEvent         |         |
    |00000020|03     |0209F504|029BD51B|VGWeb.dll|0038D51B|ExtHTTPServer    |TIdExtSession   |HandleRequest       |         |
    |00000020|03     |0209F55C|02A22D3C|VGWeb.dll|003F2D3C|uniGUIApplication|TUniGUISession  |HandleWebRequest    |         |
    |00000020|03     |0209F610|02A23111|VGWeb.dll|003F3111|uniGUIApplication|TUniGUISession  |HandleRequest       |         |
    -------------------------------------------------------------------------------------------------------------------------

    post-545-0-49997000-1445517730_thumb.png

    VGWeb_0B170000.txt

  6. Sim, ja aconteceu comigo isso também, porém antes eu tinha configurado como Aplicação, depois disso eu tinha migrado para site e corrigi as propriedades:

    No spool da aplicação estava setado como 20, eu alterei para 0

    Idle Time-out(minutes) = 0

    Onde resolveu meu problema.

    abaixo log antigo:

     

    --

     

    Yes, since this also happened to me, but before I was set to Application, after that I had migrated to the site and fix the properties:

    In the application spool was setted to 20, I changed to 0

    Idle Time-out (minutes) = 0

    Which solved my problem.

    old log below:

    falconfinancas: 000010F8: 05:36:45 []:Starting Server. Module Handle: 0000000001EC0000
    falconfinancas: 000010F8: 05:36:45 [TUniServerModule]:Server First Init.
    falconfinancas: 000010F8: 05:36:45 [TUniServerModule]:Erasing Cache Folder...
    falconfinancas: 000010F8: 05:36:45 [TUniServerModule]:Cache Folder Erased. <277> Files deleted.
    falconfinancas: 000010F8: 05:36:45 [TUniServerModule]:HTTP Server Started.
    falconfinancas: 000010F8: 05:36:45 []:Server Started. Module Handle: 0000000001EC0000
    falconfinancas: 00000CD8: 07:27:49 []:Starting Server. Module Handle: 0000000001AD0000
    falconfinancas: 00000CD8: 07:27:49 [TUniServerModule]:Server First Init.
    falconfinancas: 00000CD8: 07:27:49 [TUniServerModule]:Erasing Cache Folder...
    falconfinancas: 00000CD8: 07:27:49 [TUniServerModule]:Cache Folder Erased. <0> Files deleted.
    falconfinancas: 00000CD8: 07:27:49 [TUniServerModule]:HTTP Server Started.
    falconfinancas: 00000CD8: 07:27:49 []:Server Started. Module Handle: 0000000001AD0000
    falconfinancas: 00000834: 08:16:35 []:Starting Server. Module Handle: 0000000001F30000
    falconfinancas: 00000834: 08:16:35 [TUniServerModule]:Server First Init.
    falconfinancas: 00000834: 08:16:35 [TUniServerModule]:Erasing Cache Folder...
    falconfinancas: 00000834: 08:16:35 [TUniServerModule]:Cache Folder Erased. <0> Files deleted.
    falconfinancas: 00000834: 08:16:35 [TUniServerModule]:HTTP Server Started.
    falconfinancas: 00000834: 08:16:35 []:Server Started. Module Handle: 0000000001F30000
    FalconFinancas: 00001210: 08:46:54 []:Starting Server. Module Handle: 0000000001880000
    FalconFinancas: 00001210: 08:46:54 [TUniServerModule]:Server First Init.
    FalconFinancas: 00001210: 08:46:54 [TUniServerModule]:Erasing Cache Folder...
    FalconFinancas: 00001210: 08:46:54 [TUniServerModule]:Cache Folder Erased. <36> Files deleted.
    FalconFinancas: 00001210: 08:46:54 [TUniServerModule]:HTTP Server Started.
    FalconFinancas: 00001210: 08:46:54 []:Server Started. Module Handle: 0000000001880000
    
  7.  

    "dbExpress, dbGo and FireDac components are not thread safe."
     
    Correcting
     

    FireDAC is thread-safe if the following conditions are met:

    • A connection object and all objects associated with it (such as TFDQuery, TFDTransaction, and so on) are used by a single thread at each moment.
    • FDManager is activated before threads start, by setting FDManager.Active to True.

    http://docwiki.embarcadero.com/RADStudio/XE6/en/Multithreading_%28FireDAC%29

     

    I use .

×
×
  • Create New...