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.
496
Web Server - Ask For Help / Re: WebService Security??
« on: April 20, 2015, 04:34:40 PM »
any tips for this?? i have important project that required this feature and don't idea how for implement this security in webservice..
Thanks
Thanks
497
Web Server - Ask For Help / Re: Self Service and MSSQL
« on: March 24, 2015, 05:51:19 PM »
terryd, i have a webserver with SQLServer but not SelfService, use ABCFree and NT Service Extension, 3 companies running this settings over 3 year without problems.
498
Web Server - Ask For Help / Re: Webservice Question
« on: March 23, 2015, 03:05:27 AM »
i create another NetWebserviceMethod for a moment see image..
[attachment deleted by admin]
[attachment deleted by admin]
499
Web Server - Ask For Help / WebService Security??
« on: March 21, 2015, 01:37:55 PM »
somebody have a good sample for add security to a webservice and if fail return error.
500
Web Server - Ask For Help / Re: Webservice Question
« on: March 20, 2015, 05:02:51 AM »
i create a filter but only search by a column in a filter, i need to search for multiples fields or combination of fields
thanks
thanks
501
Web Server - Ask For Help / Webservice Question
« on: March 19, 2015, 07:06:57 AM »
how i can configure webservice for find(get) for more than column?? example
http://localhost:88/CasosServiceCatastroCasos?numerocontrol=2012-00019
this is my primary key and work
http://localhost:88/CasosServiceCatastroCasos?NUMEROCATASTRO=157-000-001-56-000
with this parameter don't work
http://localhost:88/CasosServiceCatastroCasos?numerocontrol=2012-00019
this is my primary key and work
http://localhost:88/CasosServiceCatastroCasos?NUMEROCATASTRO=157-000-001-56-000
with this parameter don't work
502
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 08:38:37 AM »
don't work entirely, if upload a pdf fine, but any image failed
503
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 07:20:07 AM »
another issue, the technique of NT for save a blob in sql server save a corrupt file but with this code in Valide Insert Routine work perfect:
i#=FileToBLOB(p_web.GSV('Cod:DocumentDescription'),Cod:DocumentContent)
i#=FileToBLOB(p_web.GSV('Cod:DocumentDescription'),Cod:DocumentContent)
504
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 05:25:46 AM »
this code cause the problem:
If Duplicate(Doc:PK_Documents)
i think that the problem is because i have a identity field for my primary key, and this moment the value is 0 and cause the error.
If Duplicate(Doc:PK_Documents)
i think that the problem is because i have a identity field for my primary key, and this moment the value is 0 and cause the error.
505
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 05:11:59 AM »
i see the CheckForDuplicate Routine delete the value of blob field with sql server i add this codefor ommit the routine and work:
what is wrong?
CheckForDuplicate Routine
If loc:invalid <> '' then exit. ! no need to check, record is already invalid
If ans = 0 then exit. ! no need to check, as no action happening
! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
! [Priority 5000]
if 0=1
! End of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
If p_web.GetSessionValue('UpdateDocuments:Primed') = 0 and Ans = Net:InsertRecord
Get(Documents,0)
End
! Check for duplicates
If Duplicate(Doc:PK_Documents)
loc:Invalid = 'Doc:DocId'
if not loc:alert then loc:Alert = clip(p_web.site.DuplicateText) & ' PK_Documents --> '&clip('Doc Id:')&' = ' & clip(Doc:DocId).
End
! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (end)"
! [Priority 5000]
end
what is wrong?
CheckForDuplicate Routine
If loc:invalid <> '' then exit. ! no need to check, record is already invalid
If ans = 0 then exit. ! no need to check, as no action happening
! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
! [Priority 5000]
if 0=1
! End of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
If p_web.GetSessionValue('UpdateDocuments:Primed') = 0 and Ans = Net:InsertRecord
Get(Documents,0)
End
! Check for duplicates
If Duplicate(Doc:PK_Documents)
loc:Invalid = 'Doc:DocId'
if not loc:alert then loc:Alert = clip(p_web.site.DuplicateText) & ' PK_Documents --> '&clip('Doc Id:')&' = ' & clip(Doc:DocId).
End
! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (end)"
! [Priority 5000]
end
506
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 04:22:04 AM »
yes is the case, but without null restriction same problem.
I have a same problem that this post :
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5502.0
with sql server the blob field is clear before save a record i try this code in SaveFile Routine :
IF FileToBlob(Doc:DocName,Doc:DocContent) !returns an ERRORCODE if copy fails
MESSAGE(CLIP(Doc:DocName) & ' was not copied - ERRORCODE: ' & ERRORCODE())
END
message(Documents.DocContent{PROP:Size})
This code is a same that a desktop app
this code don't generate any error the blob field have a size but don't why the value is clear before save a record.
With TPS work perfect.
I have a same problem that this post :
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5502.0
with sql server the blob field is clear before save a record i try this code in SaveFile Routine :
IF FileToBlob(Doc:DocName,Doc:DocContent) !returns an ERRORCODE if copy fails
MESSAGE(CLIP(Doc:DocName) & ' was not copied - ERRORCODE: ' & ERRORCODE())
END
message(Documents.DocContent{PROP:Size})
This code is a same that a desktop app
this code don't generate any error the blob field have a size but don't why the value is clear before save a record.
With TPS work perfect.
507
Web Server - Ask For Help / Re: File Upload Problem
« on: March 10, 2015, 08:08:10 AM »
i change the fields and compile ok but don't work to save a blob, i don't if is compatible with SQL Server, my blob field is requiered in database and when try to save the field is null, the image is downlod correctly in upload directory but not to database.
[attachment deleted by admin]
[attachment deleted by admin]
508
Web Server - Ask For Help / File Upload Problem
« on: March 09, 2015, 05:46:57 PM »
Clarion 10 11643
NT 8.38
I try to create a File Upload to blob but NT generate error with a field, is define as blob in my dct with binary check.
i attach app with dct..
[attachment deleted by admin]
NT 8.38
I try to create a File Upload to blob but NT generate error with a field, is define as blob in my dct with binary check.
i attach app with dct..
[attachment deleted by admin]
509
Web Server - Ask For Help / Re: Webserver does not work with large numbers of users
« on: February 05, 2015, 09:01:39 AM »
i have 1400 user per server with MSSQL and Windows 2008 server, without problem, 3 years running.
510
Web Server - Ask For Help / iDash?
« on: December 23, 2014, 06:20:23 AM »
iDash is compatible with NetTalk?