Jump to content


Photo

General Problems


  • Please log in to reply
16 replies to this topic

#1 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 17 March 2017 - 12:03 PM

After installed the purchased version of Unigui (0.99.90.1287 y ExtJs 4.2.5.1763) I cann´t run anymore my project (made with trials).

Need urgent help.

Where can I consult?.

While put here the tips.

My development is ISAPI (32 bits debug with XE8)

 

1.- Session expires before 2 minutes, I cann't test any nor debug anything with that short time. I always have wroted then event (yet on trial version)  TUniMainModule.UniGUIMainModuleSessionTimeout putting 4ex. ExtendTimeOut := 1800000;

I even tried with 

TUniServerModule.UniGUIServerModuleBeforeInit
begin
  AjaxTimeout    := 300000;
  Options        := Options - [soRestartSessionOnTimeOut];// - [soShowLicenseInfo];
  SessionTimeout := 600000;
end;
 

but is ignored too (Or means something different from what I think).

2.- For each uniform that shows the application start again firing the "On Show" method of MainForm relaunching a new instance of w3wp.exe.

3.- I have a lot of frames, but the create constructor fires exception "Class TUniSimplePanel not found"

4.- I mount my site under IIS and put the uni-0.99.90.1287 folder under the "unigui" root folder (same level than dll), and the  ExtJs 4.2.5.1763 folder 1 level up, I must put any more on client side?

5.- UniTreeView loses the elements (nodes and images) Items.NodeData dissapears from dfm file (fortunately Delphi make backups into history folder)

6.- When change in runtime de Formstate of Mainform it's ignored (Ex. OnShow formstate=wsMaximized)

7.- The Log from unigui component writes:

secgen.dll: 0000114C: 14:09:18 []:Starting Server. Module Handle: 0000000006060000
secgen.dll: 0000114C: 14:09:18 [TUniServerModule]:Server First Init.
secgen.dll: 0000114C: 14:09:18 [TUniServerModule]:Erasing Cache Folder...
secgen.dll: 0000114C: 14:09:18 [TUniServerModule]:Cache Folder Erased. <108> Files deleted.
secgen.dll: 0000114C: 14:09:18 []:EAccessViolation : Access violation at address 0606CC04 in module 'secgen.dll'. Read of address 0000002C : Addr: $0606CC04
secgen.dll: 0000114C: 14:09:18 [TUniServerModule]:HTTP Server not Started!
secgen.dll: 0000114C: 14:09:18 []:Server Started. Module Handle: 0000000006060000
secgen.dll: 0000114C: 14:09:18 [172.31.31.4]:Error creating SEQ file:C:\inetpub\wwwroot\sec-general\cache\cache\secgen\UivgRh4kni1Cy2J\_SEQ\9, Error:3
secgen.dll: 0000247C: 14:09:19 [HttpExtensionProc[172.31.31.4]]:EUniSessionException : Sesión inválida o expirada : Addr: $063F07B2

Writes an access violation unknowed, not fired and .... the expired session


  • 0

#2 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 17 March 2017 - 12:16 PM

Hi,

 

From what I see your IIS pool configurations are incorrect. Can you please follow the exact steps in uniGUI deployment manual?


  • 0

#3 wilton_rad

wilton_rad

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 66 posts

Posted 17 March 2017 - 08:19 PM

try this

 

https://store.falcon...SAPI Module.pdf


  • 0

#4 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 20 March 2017 - 03:37 PM

Hi,

 

From what I see your IIS pool configurations are incorrect. Can you please follow the exact steps in uniGUI deployment manual?

The IIS is ok. As Unigui manual says


  • 0

#5 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 20 March 2017 - 03:48 PM

First of all please upgrade to latest build.


  • 0

#6 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 20 March 2017 - 03:57 PM

Iguess the problem is here:

The access violation is fired when a frame is created.
This dll is called from an asp web page into an iframe.
 
I need create various frames, but when I create the first as ..
 
...
anotherFrame := TMyFrame.Create(Self) ; //Self is Main Form
anotherFrame.Type := myType;
...

The frame decide if show an unitreeview (in MainForm), or an unihtmlFrame (in MainForm), or show another uniform window (with the main form controls unvisibles), etc.
Perhaps that error prevents the normal working of ServerModule or MainModule ..... 
 


  • 0

#7 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 20 March 2017 - 05:03 PM

Can you specify how you call the DLL?


  • 0

#8 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 20 March 2017 - 05:07 PM

Can please describe overall design of your app?

Try fully debugging your app in EXE mode before deploying it in DLL mode.


  • 0

#9 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 21 March 2017 - 07:48 AM

Another place to look:

http://www.unigui.co...cess-rights.htm


  • 0

#10 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 21 March 2017 - 01:24 PM

Thanks. All privileges granted to IUSR_* 


  • 0

#11 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 21 March 2017 - 01:34 PM

Can you specify how you call the DLL?

I have an html page with an applet.

The applet gets the username from the domain.

The applet calls an ajax function inside html page that calls an asp page as

 

<%@LANGUAGE="VBSCRIPT"%>
<%
    Const address="http://localhost/secgen"
    Const portNumber="/SecGen.dll?user="
    Dim   urlName
    urlName = address&portNumber
    Session("loggedUser") = Request("user")
    urlname = urlname&Session("loggedUser")
%>
<%=urlname %>

Then the unigui application dll begins, with the username passed as parameter.
The first thing to do on MainForm is create an frame.
How can create frame now? I can´t pass this "wormhole"


  • 0

#12 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 21 March 2017 - 01:34 PM

First of all please upgrade to latest build.

How can do it?


  • 0

#13 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3475 posts

Posted 21 March 2017 - 05:02 PM

Hi,

 

How can do it?

 

You can download the latest build from the portal.

 

Best regards.


  • 0

#14 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 22 March 2017 - 10:55 AM

Hi,

 

 

You can download the latest build from the portal.

 

Best regards.

Hello, can u says which is the portal, url?


  • 0

#15 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 297 posts

Posted 22 March 2017 - 12:24 PM

it is the url where you downloaded your current version.

http://www.unigui.co...customer-portal


  • 0

#16 NizamUlMulk

NizamUlMulk

    Member

  • uniGUI Subscriber
  • PipPip
  • 28 posts
  • LocationAsunción, Paraguay

Posted 22 March 2017 - 03:42 PM

it is the url where you downloaded your current version.

http://www.unigui.co...customer-portal

I've purchased from a third party soft reseller.
What is the unigui "runtime"???
FMSoft_uniGUI_Professional_1.0.0.1382_RC.exe for 32 and 64 or only 32 bits?


  • 0

#17 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 297 posts

Posted 23 March 2017 - 01:14 PM

try to go to the portal  and enter your forum account email/password.

Normally , You should reach an interface allowing you to download unigui complete / runtime / theme / help ..


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users