Pure ASP Upload 2 Support Product Page

This topic is locked
This topic was archived

applyServerBehavior error when saving Extension

Reported 20 Jul 2007 20:16:02
1
has this problem
20 Jul 2007 20:16:02 Jim Hewitt posted:
I just purchased and downloaded this extension today (7/19/07), Pure Asp Upload. I followed the tutorial for creating a basic upload page. When I save the behavior I get an error, "While executing applyServerBehavior in Pure Asp Upload.htm, a javascript error occurred"

Just selected an output folder and clicked OK. No other selections. This is on a bare bones page with no template.

Pure Asp Upload V 2.2.2
DW 8
Windows 2000

Is this a more generic DW problem, or is it something specific to the extension? What do you suggest I try next?
thanks,
Jim

Replies

Replied 23 Jul 2007 09:37:39
23 Jul 2007 09:37:39 Georgi Kralev replied:
Hi Jim,

Did you restart Dreamweaver after installing the extension? If the answer is yes, try the following:

Delete Dreamweaver cache file.
Usually it is at c:\documents and settings\yourusername\Application Data\Macromedia\Dreamweaver x\Configuration.
(Replace, yourusername with the username on your computer)

The file have a name like WinFileCache-7A9586CB.dat (The following string could be different for your computer 7A9586CB).

NOTE: These folders are normally hidden. Therefore, you may have to use Explorer > Tools > Folder Options to unhide them).

Regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 23 Jul 2007 18:35:21
23 Jul 2007 18:35:21 Jim Hewitt replied:
Hi George,

Thanks for the reply. I did both of those things. Did not help. I decided to move my development environment to a new computer, running Win XP Pro. I will reinstall DW and the extensions and see if this helps. If not, I will let you know.

Jim
Replied 24 Jul 2007 02:30:22
24 Jul 2007 02:30:22 Jim Hewitt replied:
Well sometimes its the obvious that is not so obvious. I did not name my form "form1". And the default in the dialog is form1. I guess I expected some better error checking than that cryptic message... oh well!

Replied 24 Jul 2007 09:39:11
24 Jul 2007 09:39:11 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Well sometimes its the obvious that is not so obvious. I did not name my form "form1". And the default in the dialog is form1. I guess I expected some better error checking than that cryptic message... oh well!

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Hi Jim,

Thank you for your feedback.
I am glad that everything worked fine at the end.

If you have any other problems do not hesitate to contact us.

Regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 24 Jul 2007 18:24:19
24 Jul 2007 18:24:19 Jim Hewitt replied:
Got the extension working fine. Had only one problem, a GIF was converted to a jpeg incorrectly. This is probably a flaw in the server component. Since my client will only be using JPEG's, I will limit the upload to those.

One more thing to those starting out, if you are using ASP.NET, you need to set the security for the image gallery folder not only for the IUSR_&lt;machine&gt; account, but for the ASP.NET worker account as well. This is not included in the otherwise nice tutorial provided. Just add that account and give it full rights.
Replied 25 Jul 2007 10:31:31
25 Jul 2007 10:31:31 Georgi Kralev replied:
Hi Jim,

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Got the extension working fine. Had only one problem, a GIF was converted to a jpeg incorrectly. This is probably a flaw in the server component. Since my client will only be using JPEG's, I will limit the upload to those.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

This is the default behavior when it is used Smart Image Processor extension. Smart Image Processor always convert the resized images to jpg.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
One more thing to those starting out, if you are using ASP.NET, you need to set the security for the image gallery folder not only for the IUSR_&lt;machine&gt; account, but for the ASP.NET worker account as well. This is not included in the otherwise nice tutorial provided. Just add that account and give it full rights.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

ASPNET account is required by Smart Image Processor extension (When it is used ASP.NET component)
There is a FAQ in Smart Image Processor ASP section which discuss this issue:
www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=4071

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 25 Jul 2007 20:36:28
25 Jul 2007 20:36:28 Jim Hewitt replied:
One further problem, was having error when logging in to the Admin mode, "Unable to retrieve XML data from the server."
Not a permission or setup problem as it turns out. I was using https: protocol. George suggesting moving to a site using http, and this worked.

So while the gallery displays under , there are problems when accessing the XML file for read/write access. Using HTTP solves the problem.

Jim Hewitt
Replied 26 Jul 2007 12:42:39
26 Jul 2007 12:42:39 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
One further problem, was having error when logging in to the Admin mode, "Unable to retrieve XML data from the server."
Not a permission or setup problem as it turns out. I was using https: protocol. George suggesting moving to a site using http, and this worked.

So while the gallery displays under , there are problems when accessing the XML file for read/write access. Using HTTP solves the problem.

Jim Hewitt

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Hi Jim,

This problem is for Dynamic Flash Gallery ASP.

If you want to post the reply that I have sent to your email please, post it into the following Forums:
www.dmxzone.com/forum/forum.asp?forum_id=1968&NewsId=11683.

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 05 Aug 2007 09:51:37
05 Aug 2007 09:51:37 Brad Matthews replied:
<font face='Arial'>Hi George,
I recently upgraded to AdobeCS3 Dreamweaver and installed the purchased extensions. I am now getting an error "while executing ApplyserverBehaviour in PureASPUpload.htm a javascript error occurred"
I have located & deleted the cache file with no success to the error.

1. Does the extension work in CS3 dreamweaver?
2. Is there a workaround?
Thanks <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
</font id='Arial'>
Replied 05 Aug 2007 21:19:48
05 Aug 2007 21:19:48 Jim Hewitt replied:
Brad, does the form name you entered into the extension dialog match the form name on your page where the submit button is located?
Replied 05 Aug 2007 23:40:06
05 Aug 2007 23:40:06 Brad Matthews replied:
<font face='Arial'>Yes the form names match although it only allows me to use the name form1. Even though ther is a dropdwn box, it is only populated by the name "form1".
I have taken some steps to troubleshoot the problem this end;
1. Download & install the latest version 222.
2. Delete the cache file
3. Try using the extension on a blank asp file (not a templete)
4. Experiment with the server behaviour to see if it would install with less or more features turned on.
5. I even tried to cut & paste some older code into a blank page to see if it would be recognised but it wouldn't recognise it. By that I mean it didn't show up in the attributes panel.
6. Google'd the error
7. Removed the enctype and tried to install it.

So that is where I am at and was wondering if it was compatable with CS3?
This is about the 3rd site that I have used it on and the others were several versions of DW ago. </font id='Arial'>
Replied 20 Aug 2007 11:07:58
20 Aug 2007 11:07:58 Georgi Kralev replied:
Hi Brad,

Sorry for the late response. I was not in the office for the last two weeks.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>So that is where I am at and was wondering if it was compatable with CS3?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

The extension is tested and it is compatible with Dreamweaver CS3.

Perhaps, there is some problem is with the code of your page.
If you post your entire page on which you try to use Pure Asp Upload, I could try to explore the problem.

Regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com

Reply to this topic