Solved

Error using ActiveFile

Posted on 2002-07-24
3
318 Views
Last Modified: 2008-03-17
I am using ActiveFile from Infomentum to upload a file and other fields to a SQL Server database. I have followed the expamples to the letter, yet when the form is submitted I am getting an error on the line which uplaods the file

(ie UpFile.Import RSBlob.Fields.Item("Document"))

The error I get is "Operation is not allowed in this context" - I've tried everything - does anyone have any ideas?

Thanks
0
Comment
Question by:TimHayes
  • 2
3 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7175783
Perhaps the recordset is read-only.  Difficult to guess without seeing more code.

Also, please maintain this open questions:
Infomentum ActiveFile - updating existing record in SQL Server Date: 06/24/2002 03:10AM PST  
http://www.experts-exchange.com/dbgen/Q_20315409.html

Anthony
0
 
LVL 2

Accepted Solution

by:
zombeen earned 200 total points
ID: 7176376
tim.. , its advisable never to upload the actual file in the database , rather ftp the file on the server and store the path of the file as a string in the database for optimum performance , and ease of use

zombeen
0
 
LVL 2

Expert Comment

by:zombeen
ID: 7181572
thanx tim
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
replace quotes with UTF-8 character 38 86
format nvarchar field as mm/dd/yyyy 4 62
Error viewing ASP page 12 151
How to show result of a NULL value at random? 32 41
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now