Connecting Tech Pros Worldwide Forums | Help | Site Map

uploading file into SQL 2005 using .asp

jo uy
Guest
 
Posts: n/a
#1: Jul 19 '06
Hi,

Anyone who can send me a sample code of how to upload a file into SQL 2005
server using .asp running on IIS 6?

I have a code that has been working when uploading into SQL 2000 but when I
do the migration to SQL 2005, it doesn't work anymore.

Thanks



Bob Barrows [MVP]
Guest
 
Posts: n/a
#2: Jul 19 '06

re: uploading file into SQL 2005 using .asp


jo uy wrote:
Quote:
Hi,
>
Anyone who can send me a sample code of how to upload a file into SQL
2005 server using .asp running on IIS 6?
>
I have a code that has been working when uploading into SQL 2000 but
when I do the migration to SQL 2005, it doesn't work anymore.
>
First, you need to define "upload a file". Are you talking about storing the
file in an image column in a table in the database? Or are you talking about
parsing a csv file and storing the data in separate columns?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Patrice
Guest
 
Posts: n/a
#3: Jul 19 '06

re: uploading file into SQL 2005 using .asp


IMO just tell what is the message you have with the appropriate section of
code and telling us which exact line raises the error...

It could be also a configuration error, a sample could not do exactly what
you want (for example it's not clear if the upload problem arises between
the browser and the web server or between the web server and the database)
and even if it works you perhaps won't know what was wrong...

--
Patrice

"jo uy" <joni44@hotmail.coma écrit dans le message de news:
%23O5Hx1wqGHA.1796@TK2MSFTNGP03.phx.gbl...
Quote:
Hi,
>
Anyone who can send me a sample code of how to upload a file into SQL 2005
server using .asp running on IIS 6?
>
I have a code that has been working when uploading into SQL 2000 but when
I do the migration to SQL 2005, it doesn't work anymore.
>
Thanks
>

Bob Barrows [MVP]
Guest
 
Posts: n/a
#4: Jul 19 '06

re: uploading file into SQL 2005 using .asp


jo uy wrote:
Quote:
Hi,
>
Anyone who can send me a sample code of how to upload a file into SQL
2005 server using .asp running on IIS 6?
>
I have a code that has been working when uploading into SQL 2000 but
when I do the migration to SQL 2005, it doesn't work anymore.
>
Could everyone please follow up in .asp.db?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Closed Thread