close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Message: 'x' is null or not an object

Thread began 7/30/2009 6:29 am by Nathon Jones Web Design | Last modified 7/30/2009 8:35 am by Nathon Jones Web Design | 5778 views | 4 replies |

Nathon Jones Web Design

Message: 'x' is null or not an object


I've started getting the following error on my Pro Maps for Google page which I'm confused about because it wasn't a problem before and I haven't changed anything, setting wise, since.

I've tried running through the setup again but I can't shake off this error. Hoping someone is familiar with it, thanks:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 30 Jul 2009 13:13:58 UTC

Message: 'x' is null or not an object
Line: 1360
Char: 71
Code: 0
URI: main.js

So I basically understand that this is a problem with the main.js file, at line 1360, but not having access to that file, as it's hosted with, I can't do anything about it.

Any ideas?

Nathon Jones

Sign in to reply to this post

Nathon Jones Web Design


Sorry, just to provide some background info:

Win XP Pro SP3
DW 8.0.2
Pro Maps for Google 1.0.5

I've just done a reinstallation of the extension and, instead of the "is null or not an object" error I'm now getting:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E18)
Rowset position cannot be restarted.
/tmsa/DRAFT/google_javascript/wagmp_map_2.asp, line 266

I am picking location, in Pro Maps for Google, using long/lat coordinates fed from a recordset (MSSQL database). The coordinate fields are nvarchar, in my database table, because I couldn't work out how to include a negative for the coordinates. I'm not convinced that's got anything to do with the problem I'm experiencing though.

Line 266 of the wagmp_map_2.asp file is:
<% rsEVENT.MoveFirst() %>

I'll keep searching Google, and will post updates as/when I get any but, in the meantime, if anyone recognises this error I sure would appreciate any advice. Thank you.


Sign in to reply to this post

Ray BorduinWebAssist

Try using:

<% rsEVENT.Requery() %>

some recordset cursor types don't allow MoveFirst(), but all should allow a requery.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

No map?

Just changed that line and there isn't a map showing anymore:

Also, whenever I attempt to edit the Pro Map, in DW, it insists on creating a new wagmp ASP file which is tedious because I'm having to run through the setup again.

Appreciate the help, as ever. Thanks Ray.

Sign in to reply to this post

Nathon Jones Web Design

Nothing updating!

Got it Ray.

It appears that the wagmp_maps.js file isn't updating when I edit the map. It creates another wagmp ASP file, but doens't reference that in the wagmp_maps.js file so I had a wagmp_map_2.asp file, but the wagmp_maps.js was this:

window.onunload = function() {

if(window.wagmp_map_1) wagmp_map_1();
if(window.wagmp_map_4) wagmp_map_4();

I've no idea why it wouldn't be updating properly but, as I've got it working, I don't want to try it and see if it does it again!

Thanks Ray.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...