Pure ASP Upload 3 Support Product Page

Solved

Problems with the new Pure ASP Upload 3 version

Reported 12 Mar 2010 19:11:07
1
has this problem
12 Mar 2010 19:11:07 Juan Olarte posted:
The last version of Pure ASP Upload 3 makes the insert record disappear from the server behaviours panel.

Replies

Replied 13 Mar 2010 14:35:37
13 Mar 2010 14:35:37 MX Addict replied:
I had the experience with the DW insert/update behaviour. To get this fixed I had to setup a whole new Site. Now DW insert/update behaviour can be used. Still strange that the behaviours not working when updating the PAU extension
Replied 13 Mar 2010 15:28:47
13 Mar 2010 15:28:47 Henrik Ledet replied:
I have the same experience: The last version - 3.0.16 of Pure ASP Upload 3 makes the insert record disappear from the server behaviours panel.
Any reactions from dmx zone?
Replied 15 Mar 2010 10:43:19
15 Mar 2010 10:43:19 Miroslav Zografski replied:
Hello all,

Please, provide info on your OS and DW versions.

Regards,
Replied 15 Mar 2010 11:54:16
15 Mar 2010 11:54:16 MX Addict replied:
Hi Miroslav,

Still problems. The insert/update behaviours not shown in the server behaviours panel.

XP pro - SP3
DW CS3
Replied 15 Mar 2010 16:06:10
15 Mar 2010 16:06:10 Juan Olarte replied:
Hi Miroslav-
Thanks for re-playing to this posting. I am using vista and DW CS 4. Also can you guys put the previous version somewhere for us to download until this one gets fixed.
Thanks
Juan
Replied 15 Mar 2010 17:26:43
15 Mar 2010 17:26:43 Peter Deré replied:
Same problem here.

WinXP SP3 EN
DW CS3 EN
Replied 15 Mar 2010 18:00:58
15 Mar 2010 18:00:58 Patrick Woldberg replied:
Please let us also know if you use VBScript or JScript and if the Insert and/or Update Record disappears
Replied 15 Mar 2010 18:05:11
15 Mar 2010 18:05:11 MX Addict replied:
- VBScript
- Insert/Update Record disappears
Replied 15 Mar 2010 18:10:04
15 Mar 2010 18:10:04 Miroslav Zografski replied:
hello all,

Could you please check for insert behavior in following location -> Insert menu -> Data Objects -> Insert Record

Regards,
Replied 15 Mar 2010 18:36:12
15 Mar 2010 18:36:12 Patrick Woldberg replied:
Found the problem, there is a mistake in the regexp to recognize the insert/update behaviors.

for users that want to fix directly and have some Dreamweaver knowledge do the following:

Search for the user configuration folder of your Dreamweaver
Mine was located at "C:\Users\patrick\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration", but this differs per OS.

Go to the Serverbehaviors\asp_vbs folder or asp_js if your using that.

You need to edit the files: insertRecord_query2.edml and updateRecord_query2.edml

Search for:
(?:UploadForm)Request


Replace with:
(?:UploadForm)?Request


We will have it fixed in the next update
Replied 15 Mar 2010 18:52:07
15 Mar 2010 18:52:07 Miroslav Zografski replied:
Hello,

for Configuration folder location of different OS and DW versions check out the following FAQ:
www.dmxzone.com/go?16740

Regards,
Replied 16 Mar 2010 16:35:05
16 Mar 2010 16:35:05 Juan Olarte replied:
Thanks. It works perfectly now.
Replied 24 Mar 2010 21:49:40
24 Mar 2010 21:49:40 George Petrov replied:
This problem is solved now in the newest Version 3.0.17

Greetings,
George
Replied 13 Jul 2010 02:35:55
13 Jul 2010 02:35:55 David Ortiz replied:
I still can't get this to work. version 2 worked great. This one throws errors.

Microsoft VBScript runtime error '800a0046'

Permission denied

/ScriptLibrary/incPU3Class.asp, line 1587

I've given proper permission in all folders necessary. The files are uploaded though they are uploaded as a .temp file and are not able to be opened.

I'm on Mac, leopard and snow leopard. still no success and all i did was create a 2 page form, first page has the file upload, second page is a thank you. I'm using CS4 (and moving to CS5 soon)...
Replied 27 Jan 2011 01:57:02
27 Jan 2011 01:57:02 Darin Miller replied:
I have the same issue with the update record. I am using ASP JS in DW CS4. As soon as I apply the Upload behavior, it makes changes to the Update behavior and it is no longer accessible from the Behaviors panel. I have to manually delete all update code and reapply it to make changes.
Replied 20 Feb 2011 20:34:16
20 Feb 2011 20:34:16 Duane Hume replied:
PureASPUpload 3 version 3.0.17, Dreamweaver CS5, Windows XP Pro, IE 8, ASP Javascript. I am uploading a file to a specific folder on the server and updating a field in the database with the filename. File uploads fine, but Update Record behavior disappears from the Server Behaviors panel. The page errors out after the upload with "object expected" from the "MM_editCmd.Parameters.Append" line of code. I don't mind working in code, but if PureASPUpload 3 modifies my code, I need it to work.


<
%// *** Edit Operations: (Modified for File Upload) declare variables

// set the form action variable
var MM_editAction = Request.ServerVariables("SCRIPT_NAME");
if (UploadQueryString) {
  MM_editAction += "?" + Server.HTMLEncode(UploadQueryString);
}

// boolean to abort record edit
var MM_abortEdit = false;
%>
<
%if (String(UploadFormRequest("MM_update")) == "form1") {
  if (!MM_abortEdit) {
    // execute the update
	
    var MM_editCmd = Server.CreateObject ("ADODB.Command");
    MM_editCmd.ActiveConnection = MM_ebd2_STRING;
    MM_editCmd.CommandText = "UPDATE Registration SET Agreement = ? WHERE RegID = ?";
    MM_editCmd.Prepared = true;
    MM_editCmd.Parameters.Append(MM_editCmd.CreateParameter("param1", 202, 1, 255, MM_IIF(UploadFormRequest("upfile"), UploadFormRequest("upfile"), UploadFormRequest("upload_org_upfile")))); // adVarWChar
    MM_editCmd.Parameters.Append(MM_editCmd.CreateParameter("param2", 5, 1, -1, (String(UploadFormRequest("MM_recordId")) != "undefined" && String(UploadFormRequest("MM_recordId")) != "") ? UploadFormRequest("MM_recordId") : null)); // adDouble
    MM_editCmd.Execute();
    MM_editCmd.ActiveConnection.Close();

    // append the query string to the redirect URL
    var MM_editRedirectUrl = "teacher-agree-result.asp";
    if (MM_editRedirectUrl && UploadQueryString && UploadQueryString.length > 0) {
      MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1) ? "?" : "&") + UploadQueryString;
    }
    Response.Redirect(MM_editRedirectUrl)
  }
}
%>


Replied 22 Mar 2011 13:41:07
22 Mar 2011 13:41:07 Conor lawlor replied:
QuoteI still can't get this to work. version 2 worked great. This one throws errors.

Microsoft VBScript runtime error '800a0046'

Permission denied

/ScriptLibrary/incPU3Class.asp, line 1587

I've given proper permission in all folders necessary. The files are uploaded though they are uploaded as a .temp file and are not able to be opened.

I'm on Mac, leopard and snow leopard. still no success and all i did was create a 2 page form, first page has the file upload, second page is a thank you. I'm using CS4 (and moving to CS5 soon)...


I am having the same problem. I am using DWCS3 ASP Vbscript. I've set up a load of these and never had a problem - this is a new error since I moved to CS3. Should I just re-install version 2 and carry on regardless?

Reply to this topic