I want to be able to upload a image to a directory called 'images' on my server and also save the file name in a database. is there anything out there that does this without a COM?
I want to upload either image or word document into either access or SQL server database so far I am doing some small testings and what I can do is upload the file from first page and display at the next page with (both image or word are working fine).
however, I cann't insert them into the database, Plus, what type should I use in access database? Code:
I'm having this problem with uploading a file and updating the database at the same time the file will get uploaded but nothing will get updated into the database. Can anyone help me out. The third page is where everything is going wrong but i put all my pages in so you can see whats going on.
I have two forms, the first of which has a dropdown with which the user specifes how many banner ads he wishes to upload for a client. So say he enters the client info and wants to upload 5 banners. The form passes to another page which uses a loop to output form fields. Each form field name is something like name="msg<%= count%>" or name="url<%=count%>".
In the 3rd-Party script I am using I then have this script ....
I have made a registration form for adding my friends information in a database. The problem is that I want to connect the persons with companies in the same database. I wonder how i could connect a person to several other id's in a table.
I wonder if I can make a string in the database that holds all the id's separated with , for example....?
the string would then look like this: 1,4,6,22,56 for example...
But how can I then open this string and separate the numbers from the , ???
How do I take an image from <IMG SRC>? Meaning I can not insert the image with the Upload method, I have to take it directly from the <IMG SRC>. Is there a possible way to do that?
I have run a sql select statement against a table in my database. I would like to store the value retrieved in a string. How do I do that? So far I get an empty string when I run my code.
I am new to ASP security. I want to know what is the best way to store database password in ASP application? Or if there are any places to store in IIS? I tried to store the password in VB DLL file, but looks like when I open the DLL file, I can still see the plain text password.
We face problems uploading excel (with macros) documents using HTML File Upload.
The file contents are corrupted while viewing the same. However, we are able to upload excel (w/o. macros) documents successfully. Is there anything we have to take care of, while handling uploads of excel documents with macros?
Due to the nature of our system, we need to dynamically import certificate files into windows certificates store and access the certificate store from ASP pages, these ASP pages call a VB dll component, which uses the CAPICOM component to manipulate windows certficate store.
Because ASP is running under IWAM account, we got "Access is denied" error when trying to import the certificate files. We registered the VB components under COM+ to get around this security problem. However, recently we are experiencing all sorts of problems with COM+ ( eg. DLLHost.exe hang with 100% CPU after heavy traffic, ActiveX component can not be created out of sudden), we decided to move this VB component out of COM+, which means we are facing the same old "Access is denied" problem again. Code:
I'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.
Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.
I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.
I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.
What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).
I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.
The only difference is this time I am inserting the primary key rather than using an auto number. the following error message appears:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E2F) [Microsoft][ODBC Microsoft Access Driver]Error in row I went onto the microsoft kb and the said that it was something to do with the PK. Has anyone encountered this problem before
I am trying to develop a web site in which the user can add records to the database from an admininstration section of the site. I'm using an access database (there will only be about 60 or so records at any time).
I can create a page that makes the user fill out a form to add a record like the sample below...but I'd also like a place where the user can just upload a CSV file directly into the database. I don't know a lot about ASP, but I'm planning on doing it in DMX.
I want 2 upload a image and some text to the sql server database. and in anothere page i will retrieve all the fields . so can anybody help me.i am giving u the html source....
I have this page/form in asp that connects to my ms access database that I would like to have it either a) upload a picture or b) display the picture if one's already uploaded. I'm looking for direction on this and have no idea where to begin or even what's what. Can I upload a picture into the database?
I have this page/form in asp that connects to my ms access database that I would like to have it either a) upload a picture or b) display the picture if one's already uploaded. I'm looking for direction on this and have no idea where to begin or even what's what. Can I upload a picture into the database?
I am developing a forum style website using ASP and I need to have a file attachment function when people post notices. Does anyone know how to do this? So far has only helped with showing me how to upload files to a server but I need to upload them into the access database to retrieve it when needed. Is this possible?
i am working with asp form where the user can upload files to a folder or to the database, uploading files in folder in working, but the database one is not working it give me the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /test/uploadexmple.asp, line 48
I'm working on a asp-application where I shall upload a xml-file from the user, and then process til file (xml) for insert into a database. I'm currently using a "INPUT-field of TYPE=file" to browse for file, and a extra submit button to perform the actual transfer and start file-processing.
Is it possible to show the user one ebutton "IMPORT" without any text-field associated with it, which browses for the file and directly startes the upload to server and triggers file-processing. The actual processing of the file must be done on the server-side (inserts to db etc.).
when i load the page nothing happens, it just refreshes to a blank page. does this page need to be named something special? does it need to be on the same server it's uploading to? Code:
Where can i find information on how to upload files to a folder on my server using asp code and a form? Does anybody have a simple snip of code for this that they would mind sharing?
Could someone point me in the right direction for an asp script that would save an XML file to a folder on the same server it resides on? This XML file will be sent from another application and the asp script needs to accept the XML file (no validation of the XML in the file is required) and save it to a folder on the server. I've seen scripts with a web frontend which requires user interaction where the user has click a browse button and select the file to be uploaded from their local machine. The script I require will have no user interaction - the XML file will just be fired at the script from the other application and it should save it to a folder on the server.