Solved

ASP.net and SQL Upload documents for storage

Posted on 2013-06-03
2
182 Views
Last Modified: 2013-06-07
Hi

I am building an ASP.net site where the users will upload documents (Word, Excel, PDF etc) that need to be stored. Is the best place to store these in the SQL database or should I store them in a folder? How would I build this? Just need a few pointers?

Thanks
0
Comment
Question by:murbro
2 Comments
 
LVL 7

Accepted Solution

by:
aplusexpert earned 500 total points
ID: 39215980
Hi murbro,

I think If your server is only at one place (means it is not shared hosting or you need to move on another machine) then you should store file in the database. And if it stays on one machine (means you owned your own server) then you should store files to your machine and only need to store your file path in the database.

Thanks.
0
 

Author Closing Comment

by:murbro
ID: 39228432
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

910 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

21 Experts available now in Live!

Get 1:1 Help Now