close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

site assist & datassist tutorials

Thread began 12/06/2009 12:22 pm by robbiemc365678 | Last modified 12/07/2009 11:37 am by robbiemc365678 | 917 views | 1 replies

robbiemc365678

site assist & datassist tutorials

Hi

I am trying to build an online search facility for qualifications and training which will have a user admin area so that training providers can add their own items of training.

For practice I have followed the tutorial for siteassist using the administrator-all templatetemplate and then used data assist wizard to create pages using the blue_sky_music db.

The initial problem I encountered was in trying to open the created pages where I got the following error message in explorer when trying to open items_search.asp;

Error Type:
Active Server Pages, ASP 0141 (0x80004005)
The @ command can only be used once within the Active Server Page.
/trainingportal/Items_Search.asp, line 16

this was due to the following line of code

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

I noted that <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> had been added to the first line of code. if I remove the codepage 65001 line then I can view the search page in explorer....the same applied to other pages re codepage5001.

after removing as eplained above I could search for products and view results and details. However I experienced another issue when attempting to update or insert.

If I click the update button I get the following error;

Error Type:
ADODB.Command (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/trainingportal/Items_Update.asp, line 9


pointing to this line of code;

WADADynListItemCategory_cmd.ActiveConnection = MM_connBluesky_STRING

and when I click insert I get the following error after adding new product details and clicking insert;

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/trainingportal/Items_Insert.asp, line 38

which points to the following line of code on the items_insert.asp page;

MM_editCmd.Execute()

can you please point me in the right direction

Cheers

Robbie

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

Content

rating

Layout

rating

Ease of use

rating

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...