View previous topic :: View next topic |
Author |
Message |
rioma -
Joined: 20 Feb 2007 Posts: 3
|
Posted: Tue Feb 20, 2007 9:36 am Post subject: Dreamweaver and error '800a01c2' |
|
|
First of all hi to everyone.
I recently installed Abyss web server and AHTML and i using Dreamweaver to create asp pages.
Normaly there are no problem and i can test my pages with Abyss but wen i try to use the Dreamweaver's feature "go to next record", Abyss answere this:
Microsoft JScript runtime error- Error '800a01c2'
Wrong number of arguments or invalid property assignment
/myfolder/default.asp, line xx
Anyone can hel me??
Tanks and sorry for my english |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 20, 2007 11:26 am Post subject: Re: Dreamweaver and error '800a01c2' |
|
|
rioma,
We have to determine first if that error is caused by the browser or ActiveHTML. If it is from the browser, it's probably the Javascript code generated by Dreamweaver that has a problem. Otherwise it is a problem with ActiveHTML interpretation of the ASP code created by Dreamweaver.
So is the error reported in a dialog box or directly in the web page? If so, could you please post here the source code of the ASP page where it is reported as well as the exact error message (line number of the error). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
rioma -
Joined: 20 Feb 2007 Posts: 3
|
Posted: Tue Feb 20, 2007 12:36 pm Post subject: |
|
|
OK.....the error message is reported directli in the browser (IE and Firefox) and this is the code from the line of the error:
// add the URL parameters to the MM_keepURL string
for (var items=new Enumerator(Request.QueryString); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepURL += "&" + items.item() + "=" + Server.URLencode(Request.QueryString(items.item()));
}
}
// add the Form variables to the MM_keepForm string
for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) {
var nextItem = "&" + items.item().toLowerCase() + "=";
if (MM_removeList.indexOf(nextItem) == -1) {
MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item()));
}
}
// create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL + MM_keepForm;
if (MM_keepBoth.length > 0) MM_keepBoth = MM_keepBoth.substring(1);
if (MM_keepURL.length > 0) MM_keepURL = MM_keepURL.substring(1);
if (MM_keepForm.length > 0) MM_keepForm = MM_keepForm.substring(1);
%>
<%
// *** Move To Record: set the strings for the first, last, next, and previous links
var MM_moveFirst="",MM_moveLast="",MM_moveNext="",MM_movePrev="";
var MM_keepMove = MM_keepBoth; // keep both Form and URL parameters for moves
var MM_moveParam = "index";
// if the page has a repeated region, remove 'offset' from the maintained parameters
if (MM_size > 1) {
MM_moveParam = "offset";
if (MM_keepMove.length > 0) {
params = MM_keepMove.split("&");
MM_keepMove = "";
for (var i=0; i < params.length; i++) {
var nextItem = params[i].substring(0,params[i].indexOf("="));
if (nextItem.toLowerCase() != MM_moveParam) {
MM_keepMove += "&" + params[i];
}
}
if (MM_keepMove.length > 0) MM_keepMove = MM_keepMove.substring(1);
}
}
// set the strings for the move to links
if (MM_keepMove.length > 0) MM_keepMove = Server.HTMLEncode(MM_keepMove) + "&";
var urlStr = Request.ServerVariables("URL") + "?" + MM_keepMove + MM_moveParam + "=";
MM_moveFirst = urlStr + "0";
MM_moveLast = urlStr + "-1";
MM_moveNext = urlStr + (MM_offset + MM_size);
MM_movePrev = urlStr + Math.max(MM_offset - MM_size,0);
%>
<%
// *** Recordset Stats: if we don't know the record count, manually count them
if (rsProdotto_total == -1) {
// count the total records by iterating through the recordset
for (rsProdotto_total=0; !rsProdotto.EOF; rsProdotto.MoveNext()) {
rsProdotto_total++;
}
// reset the cursor to the beginning
if (rsProdotto.CursorType > 0) {
if (!rsProdotto.BOF) rsProdotto.MoveFirst();
} else {
rsProdotto.Requery();
}
// set the number of rows displayed on this page
if (rsProdotto_numRows < 0 || rsProdotto_numRows > rsProdotto_total) {
rsProdotto_numRows = rsProdotto_total;
}
// set the first and last displayed record
rsProdotto_last = Math.min(rsProdotto_first + rsProdotto_numRows - 1, rsProdotto_total);
rsProdotto_first = Math.min(rsProdotto_first, rsProdotto_total);
}
%> |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Feb 21, 2007 9:17 am Post subject: |
|
|
rioma,
Since the problem seems to be related to ActiveHTML, we strongly suggest that you contact SeliSoft (ActiveHTML publisher) and refer them to that forum thread (or alternatively send them the ASP files as well as a detailed explanation of the error report). They will better help you with that issue than us.
Please keep us updated about their answer. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
rioma -
Joined: 20 Feb 2007 Posts: 3
|
Posted: Wed Feb 21, 2007 12:46 pm Post subject: |
|
|
Tanks.
I'll do! |
|
Back to top |
|
|
bodobiker -
Joined: 22 Aug 2007 Posts: 2
|
Posted: Wed Aug 22, 2007 3:20 pm Post subject: Microsoft JScript runtime error- Error '800a01c2' |
|
|
Greetings,
any news on this issue, I experience the same problem with Dreamweaver CS3.
Thanks for any help! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 30, 2007 3:24 pm Post subject: Re: Microsoft JScript runtime error- Error '800a01c2' |
|
|
bodobiker,
We got nothing back regarding that issue. Have you contact Selisoft? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
bodobiker -
Joined: 22 Aug 2007 Posts: 2
|
Posted: Thu Aug 30, 2007 5:46 pm Post subject: Microsoft JScript runtime error- Error '800a01c2' |
|
|
Thanks for the feedback,
I didn't contact Selisoft, but solved the problem by redoing my pages using vbscript instead of javascript. For some reason, all pages containing repeat regions didn't work with javascript asp pages, created with Dreamweaver CS3.
Thanks! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Sep 19, 2007 1:31 am Post subject: Re: Microsoft JScript runtime error- Error '800a01c2' |
|
|
bodobiker,
Thank you for the update. That's strange that JScript was not executed. ActiveHTML test scripts (in /ahtml) have some JScript code and they seem to work fine. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|