NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - David

Pages: 1 ... 4 5 [6] 7 8
76
Bruce,

I just had a client update my app that was running fine on their server(they do beta testing for me).  It is now hanging when run as a service, which is how they have always run it.  I have them running it as a desktop app, but this is not an ideal solution.

It is hanging at the NetSimple.Open as stated in my previous post.  The previous version of my app that was running correctly was compiled with NT4.  They are running my app on a Windows 7 workstation.

What can I do next.

77
Web Server - Ask For Help / Re: C71 - NT5 - WebServer Template Issue
« on: December 31, 2009, 07:28:01 AM »
Bruce,

I downloaded PR7 and am still not able to select the secondary tabs.  Was the template change included in PR7?

78
OK, so I turned on logging (/netall) and the following is the output.  The last NetTalk entry is the .open method.

[Net] [3]  - Using NetTalk (Object) version 5.00 in application c:\pwstore\pwstore.exe   
[Net] [3]  - NetTalk (Object) Information: Net:MaxBinData = 16384 Size(Net:PacketType) = 16956 Size(Net:PublicServicesQType) = 596 Size(Net:ServiceType) = 348 Size(Net:RemoteType) = 148   
[Net] [3]  - NetTalk (Object) using Clarion 7.1   
[Net] [3] _NetAll._LoggingSetup - Initialisation   
[Net] [3] NetSimple.Init - Initialising a new Server   
[Net] [3] NetWebServer._FreeConnectionDataQueue - _FreeConnectionDataQueue   
[Net] [3] NetSimple(Server).Open - Attempting Listen on TCP Port 443   
[Net] [3] NetSimple.Open - Will use Asynchronous Open. Timeout (hs) = 1200   
[Net] [3] NetSimple(Server).Open - Will use InActive (Idle) Timeout (hs) = 6000   

If I run the app from the desktop, then I get the additional message and my app runs
[Net] [2] NetSimple(Server).Open - Successfully listening on TCP Port = 443 On socket = 636 SockID = 1

79
I logged the value of INIMgr.TryFetch('WEB', 'Port') just before the WebServer Init and the result is 443, which is what it is supposed to be. 

The lockup only occurs if the app is run as a service.

80
C7.1, NT5.PR5, WinEvent 3.65, SelfService 3.29, Win7 32bit.

When running my app as a service, code stops executing somewhere in the WebServer Init template generated code.  This does not happen if I run the app from the desktop.  I added lots of debug messages and the last entry I get is db.message('WebServer Init Priority 5000') just before the WebServer Init code.  There are no embeds in that code so I can not narrow it down any more.  Also notice that Clarion is up to Priority 8027 and then Nettalk adds Priority 5000.  Below is just a snippet of the template init code.

! [Priority 8027]
 
! Generated by NetTalk Extension (Start)

 ! Start of "NetTalk Object Before Init Section"
! [Priority 5000]
    db.message('WebServer Init Priority 5000')
 ! End of "NetTalk Object Before Init Section"
    do CheckOmittedWeb
    s_web &= ThisWebServer
    ThisWebServer.SuppressErrorMsg = 1         ! No Object Generated Error Messages ! Generated by NetTalk Extension
    ThisWebServer.init()
    ThisWebServer.Port = INIMgr.TryFetch('WEB', 'Port')
    ThisWebServer.Open()
    Get(ThisWebServer._SitesQueue,1)
  !---------------------------------
  s_web._SitesQueue.Defaults.WebHandlerProcName = 'WebHandler'
  s_web._SitesQueue.Defaults.DefaultPage = 'index.html'
  s_web._SitesQueue.Defaults.SessionExpiryAfterHS = 90001
  s_web._SitesQueue.Defaults.LoginPage = 'login.html'
  s_web._SitesQueue.Defaults.LoginPageIsControl = 0
  s_web._SitesQueue.Defaults.WebFolderPath = 'web'
  If instring('\',s_web._SitesQueue.Defaults.WebFolderPath,1,1) = 0
    s_web._SitesQueue.Defaults.WebFolderPath = clip(s_web._SitesQueue.defaults.appPath) & s_web._SitesQueue.Defaults.WebFolderPath
  End
  s_web._SitesQueue.Defaults.UploadsPath = clip(s_web._SitesQueue.Defaults.WebFolderPath) & '\uploads'
  s_web._SitesQueue.Defaults.HtmlCharset = 'ISO-8859-1'
  s_web._SitesQueue.Defaults.LocatePromptText = s_web.Translate('Locate')
  s_web.MakeFolders()
  s_web._SitesQueue.defaults.AllowAjax = 1
  s_web._SitesQueue.defaults._CheckForParseHeader = 1         ! Check for Parse Header String

81
Web Server - Ask For Help / ThemeRoller Support For Tables (NetWebBrowse)
« on: December 24, 2009, 07:38:47 AM »
Bruce,

Will you be providing support for ThemeRoller for our NetWebBrowse tables?

82
Web Server - Ask For Help / C71 - NT5 - WebServer Template Issue
« on: December 23, 2009, 07:53:48 AM »
I am unable to select any of the secondary tabs on the settings tab of the WebServer template.  Attached is a screenshot.  I also checked this against web31.  Is anyone else seeing the same thing?

C7.1.6545
NT5 pr5
Windows 7 64bit


[attachment deleted by admin]

83
Web Server - Ask For Help / Re: NetFile.inc not found
« on: December 05, 2009, 03:35:07 PM »
I ran into the same problem.

84
Web Server - Ask For Help / NT5 - jQuery UI
« on: December 03, 2009, 03:10:04 AM »
Bruce,

Is it your intention to provide all the base jQuery UI functionality (Interactions, Widgets, and Effects)  through templates in NT5 or just a subset?

Thank you

85
Web Server - Ask For Help / Add An Additional Embed in NetWebPage
« on: December 01, 2009, 05:56:24 AM »
Bruce,

Can you add an embed point between the GetSessionLoggedIn code and Do Header.  I have set a NetWebPage to type File.  In the do Header, you set the ContentType.  But I have not created my file yet.  If the user is logged in with the proper rights, then I want to create the file.

1. template code to validate rights to the page
2. my code to generate the file
3. template code to Do Header
4. template code to Do Footer

Does this make sense?

86
Web Server - Ask For Help / Web Folder Served From TPS File
« on: December 01, 2009, 05:34:53 AM »
During Bruce's ClarionLive demo of NT5, he said that NT could server the "web" folder files from a TPS file and then you could ship just your app, DLL's, and a TPS file.  He also said there was an example app of this.  Does anyone know which example app that is?

87
Web Server - Ask For Help / Re: NetWebPage - Delete Record
« on: January 30, 2009, 11:41:33 AM »
My Bad.....

I have never hand coded the Relate:MyTable stuff before.  I thought that the Relate: was a complete replacement for the Access: code.  So, Relate:MyTable.Fetch() and Relate:MyTable.DeleteRecord() where giving compile errors and I thought the Relate class was not being generated in the NetWebPage.

Now I know:

Access:MyTable.Fetch(PK)
Relate:MyTable.Delete()

88
Web Server - Ask For Help / Re: NetWebPage - Delete Record
« on: January 30, 2009, 06:02:18 AM »
Bruce,

No, I am trying to do a Relate:Delete in a NetWebPage.  I have added the tables, clicked generate open/close routines which are something like p_web._open(MyTable).  But how do I hand code a request to delete a record inside the NetWebPage?

89
Web Server - Ask For Help / NetWebPage - Delete Record
« on: January 29, 2009, 05:31:25 PM »
I have a table that is related to several other tables.  On a NetWebPage, I want to delete a record and then based on the dct relationships delete records in the other related tables.

In a regular Clarion app I would do something like: Relate:MyTable.DeleteRecord(false)

When using a NetWebForm, the process works automagically, looking at the NetWebForm source, I can't find the delete code, so I can't duplicate it.

Long question short, how do I delete a table record with relational integrity on a NetWebPage?

Thank you.
David

90
I have a message sent to debugview in the new session embed.  When I browse to my site, I will get anywhere from 4 to 10 messages as the page loads.  I would think that this would only run once per new connection.  Once that first page is loaded, then I don't get another message until I logout of the site or another use tries to connect.

Does anyone know if this is normal behavior or due I have an issue.

PS. It is only me on the dev machine hitting the web server.

NT 4.31 PR22

Pages: 1 ... 4 5 [6] 7 8