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 - ccordes

Pages: 1 [2] 3 4 ... 25
16
Web Server - Ask For Help / Re: Date format
« on: February 14, 2013, 04:14:58 PM »
I'm not working in ver 7, but in other versions, d17 wasn't supported. You'll need to set the picture to d16 or lower.

I hope I'm wrong about Ver7
JM2ยข

Chris

17
Web Server - Ask For Help / Cancel on a form uploads a file
« on: February 14, 2013, 04:12:29 PM »
Hi
I want users to be able to upload a file or two. So I use a form so they can enter the description of the file, click the upload button, select their file, come back to the form, then click Save. The file and the description gets saved file gets saved everyone goes home happy.
BUT if the user changes their mind, and clicks Cancel, the description record is rightly ignored, and the file STILL GETS SAVED and there in lies the rub.
I don't see a way around this. I must be missing something.
Is there a way to cancel the upload?

TIA,
chris

18
Web Server - Ask For Help / Re: NTWS app fails as service with MSSQL
« on: February 12, 2013, 02:01:39 PM »
Cool.
Thanks.

19
Web Server - Ask For Help / Re: NTWS app fails as service with MSSQL
« on: February 11, 2013, 08:36:09 AM »
Hey there, Bruce.

Here's what we wanted to do - Install the service as Manual start or On_Demand
You have -
SS_SERVICE_BOOT_START           equate(00000000h)
SS_SERVICE_SYSTEM_START         equate(00000001h)
SS_SERVICE_AUTO_START           equate(00000002h)
SS_SERVICE_DEMAND_START         equate(00000003h)
SS_SERVICE_DISABLED             equate(00000004h)

Very Nice!

And we had  self.Automatic which is set to 1
So set it to 0 and off you go, right? . . . Nope. 'cause then instead of automatic, you get a different kind of automatic - BOOT_START
That's because CreateService Routine has this -   
(SS_SERVICE_AUTO_START * self.Automatic)
as the start type.

I know I said *2 in my message, but really the problem is *self.Automatic.

We did find out that if we set self.Automatic to 2 we could install the service as Disabled... but that didn't quite fit either.

What I'd like to see (and almost changed the class, etc) is self.StartType where we can set it to any of the start type equates.

Thanks for asking,

Chris C

20
Web Server - Ask For Help / Re: NTWS app fails as service with MSSQL
« on: February 09, 2013, 05:20:26 AM »
Brilliant as usual, Bruce, brilliant.

for anyone else making services on SQLserver or dependent on other services, here is the cmd to add a dependency to a service.

sc config NTWS depend= MSSQL$mysqlservice

The failure issue on a network connection was the lack of windows authentication on the SQLserver so that really was a red herring.

many thanks, Bruce!

Chris

21
Web Server - Ask For Help / Re: NTWS app fails as service with MSSQL
« on: February 09, 2013, 04:51:54 AM »
Thanks, I'll try that. However, this happens even over a network connection to an already running SQL server as well.

Chris

22
Web Server - Ask For Help / Re: NTWS app fails as service with MSSQL
« on: February 08, 2013, 08:42:18 PM »
Thanks, Stu.

With TPS I always have FM3, so I had to check. This is MSSQL and not my database so no FM3 here.

This is so flaky it is driving me nuts and looks really bad to the client.

Chris

23
Web Server - Ask For Help / NTWS app fails as service with MSSQL
« on: February 08, 2013, 01:00:00 PM »
I have a NTWS 6.51 site running as a service with selfservice.
This has been running for years but recently had to make some changes and so upgraded it to C8 and NTWS 6.51.
Now the silly thing won't let anyone get to the data. This includes loggin in. It just seems to ignore the SQL connect string.
If I kill the service and run it as a window, it seems to work. Not at the client's location however. and that is not a workable solution.
So we made a manager app for it to start and stop the service.
If we Start the service from the manager, it works perfectly. BUT if we reboot the machine and allow it to start by itself (it is set to automatic), the site doesn't work.
At that point, we can start the manager, stop the service, wait a minute and restart it from the manager, it works fine.

Can anyone see a possible solution? What am I missing?

On a side note, WHY does self service install the service as 2x the automatic byte instead of the selected constant?

Thanks,
Chris C

24
Web Server - Ask For Help / Re: Uploading files no longer works
« on: November 29, 2012, 06:22:55 AM »
I can't speak to the Android issue, but just to close my issue - I did get the sample app to work. Then recompiled everything and ours worked. I don't know why it didn't before and I can't say why it is now. I have changed the way we were renaming the uploaded file to use the method in the sample app.
If I can get it to break again, I'll let you know how.

Thanks
Chris

25
Web Server - Ask For Help / Re: Uploading files no longer works
« on: November 20, 2012, 08:49:51 AM »
We put a help button in each header-
Code: [Select]
<table class="MainHeading" height="20" border="0">
<tr>
<td class="MainHeading">Manage Unit Permissions</td>
<td align="right"><a href="" onClick="openHelp('ManagePermissions');"><img src="images/help.gif" width="20" border="0" height="20" /></a></td>
</tr>
</table>

so there could all manner of unsafe things here.
I'm working on the upload later today. I'll let you know what I find there as well.

Chris

26
Web Server - Ask For Help / Uploading files no longer works
« on: November 19, 2012, 06:27:24 PM »
I just updated to NT 6.51 and first all my headers were broken. Apparently I have some unsafe code there. Found the check box to allow that. BUT now my upload a file procedure doesn't work.
Can anyone give me a starting point where to look for an issue with the upload a file. Has something changed to affect uploading a file since 6.3? I don't see anything in the history to suggest an issue.

Thanks,
Chris C

27
Web Server - Ask For Help / Re: jQuery problem in NT 6.46?
« on: October 19, 2012, 05:06:23 AM »
I did a Beyond Compare between the 1.8 and 1.9 - they've changed a lot!
Does NT over-write any of the jQuery css classes?
Maybe the 1.8 js parts reference css stuff that isn't there any more.

28
Web Server - Ask For Help / jQuery problem in NT 6.46?
« on: October 18, 2012, 05:23:59 AM »
Is there a new trick that this old dog must learn to make themes work in 6.46?
I have just updated a large NT app to 6.46. I have 5 sites running this server each one having its own theme.
Now I've made a new site and want to add a new theme to the mix.(My favorite feature of NT6)
So I go to Theme roller and roll up some nice color combinations, download them, drop them into my themes folder, add my standard mods and now the tabs don't work on the site.  ???
I switch back to an older theme and it works, switch the new jQ 1.9 theme - no joy.
Has something changed in jQuery 1.9? all my 1.8 themes work fine.
As part of my testing, I replace each css file in the new theme folder one by open until it broke. Seems that jquery-ui.css is the culprit.

My thought is either NT 6.46 has changed, jQuery 1.9 has changed something, or I have forgotten to throw a switch somewhere.

TIA,
Chris

29
I send an iframe out with an animated graphic in it. Then from the long server process, I send out a hidden character often enough to keep the interest of the browser.

HTH
Chris

30
Web Server - Ask For Help / Re: Ampersand in data causing an issue
« on: October 15, 2012, 06:21:41 AM »
Thanks, Kevin - I didn't know that. I'll look for it.

Pages: 1 [2] 3 4 ... 25