DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Asp Upload and Resize  
DwZone Forum Index -> Asp Upload and Resize

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 91 to 100 of 860 (Total: 366) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Error with SQL Server 2012  
View this persons public profile  Gianluigi   9:44 27 Jul 2015  
   Update record upload problem  
View this persons public profile  PeterMiller   10:12 20 Jun 2015  
   Re: Update record upload problem  
View this persons public profile  Gianluigi   10:32 20 Jun 2015  
   Re: Update record upload problem  
View this persons public profile  PeterMiller   11:13 20 Jun 2015  
   File upload error  
View this persons public profile  PeterMiller   10:23 19 Jun 2015  
   Re: File upload error  
View this persons public profile  Gianluigi   11:54 19 Jun 2015  
   Re: File upload error  
View this persons public profile  PeterMiller   12:22 19 Jun 2015  
   Re: File upload error  
View this persons public profile  PeterMiller   13:07 19 Jun 2015  
   Error on dwzUpload.asp, ligne 831  
View this persons public profile  Laurent   9:30 11 Jun 2015  
    Re: Error on dwzUpload.asp, ligne 831  
View this persons public profile  Laurent   2:15 12 Jun 2015  
 
Some news since yesterday.
I may be succeded to fix the supposed bug. What do you think about it :

I used the regular dreamweaver CS6 function to insert the problematic record.

Then, I compared the DW code :
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, Request.Form("realisation")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 203, 1, 1073741823, Request.Form("description")) ' adLongVarWChar

with two fiels going in a text access fiel and an other in a memo.

and your code in dwzUpload.asp, ligne 831 and aroud :
case FORMAT_FOR_STRING
cmd.Parameters.Append cmd.CreateParameter("param" & param_index, 202, 1, 255, MM_IIf(fieldsList(i + 1), fieldsList(i + 1), ""))


So i change your code in :
case FORMAT_FOR_STRING
cmd.Parameters.Append cmd.CreateParameter("param" & param_index, 203, 1, 1073741823, MM_IIf(fieldsList(i + 1), fieldsList(i + 1), ""))


And it works !

But i'm not sur it's OK for all type of fields, or for any reason you could object. But this is a clue.
Can you tell me finally what would be good ?

Thanks.

Laurent

 
Reply to this current thread  View this persons public profile  Send Private Message
Last Visit: Friday 1 Nov, 2024 11:39 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: