Click here to Skip to main content
16,005,682 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCustom Validation Pin
Jesu.Official19-Sep-06 3:41
Jesu.Official19-Sep-06 3:41 
AnswerRe: Custom Validation Pin
hiral_shah19-Sep-06 8:16
hiral_shah19-Sep-06 8:16 
GeneralRe: Custom Validation Pin
Jesu.Official19-Sep-06 21:03
Jesu.Official19-Sep-06 21:03 
QuestionReporting Services Pin
CandyMe19-Sep-06 1:23
CandyMe19-Sep-06 1:23 
QuestionCan't Add Existing Web Project Pin
Brady Kelly19-Sep-06 0:23
Brady Kelly19-Sep-06 0:23 
AnswerRe: Can't Add Existing Web Project Pin
Walter_H19-Sep-06 4:06
Walter_H19-Sep-06 4:06 
GeneralRe: Can't Add Existing Web Project Pin
Brady Kelly19-Sep-06 4:22
Brady Kelly19-Sep-06 4:22 
Questionhelp needed for ADODB.Stream Pin
Naveed Kamboh18-Sep-06 23:46
Naveed Kamboh18-Sep-06 23:46 
Following code is written in a file called uploader.asp

response.Buffer=false

Response.Write( "Uploading File
" )

Dim filename1, fso, strReturn, sUser,fileToSave

Set fso = Server.CreateObject("Scripting.FileSystemObject")
filename1 = Request.Form("fileUpload1")
fileToSave=Request.Form("currFolder")

If Not fso.FileExists(filetoSave) Then
Dim adoStream
Set adoStream = Server.CreateObject("ADODB.Stream")
adoStream.Mode = 3 'read write
adoStream.Open
adoStream.Type = 1 'adTypeBinary
adostream.loadfromfile filename1
adoStream.Position = 0
adoStream.SaveToFile Request.Form("currFolder") & "Test1.txt" , 1 'adSaveCreateNotExist
adoStream.Close
Set adoStream = Nothing
Response.Write( "File saved.")
Else
Response.Write( "File already exists.")
End If

This code wors fine on local IIS server but when i uploaded this to a webhosting server its giving me error at this line "ADODB.Stream error '800a0bba' File could not be opened."

adostream.loadfromfile filename1

Can any one tell me the solution please.
thanks


Naveed Kamboh

AnswerRe: help needed for ADODB.Stream Pin
Guffa19-Sep-06 7:29
Guffa19-Sep-06 7:29 
GeneralRe: help needed for ADODB.Stream Pin
Naveed Kamboh19-Sep-06 10:22
Naveed Kamboh19-Sep-06 10:22 
AnswerRe: help needed for ADODB.Stream Pin
Guffa19-Sep-06 20:52
Guffa19-Sep-06 20:52 
GeneralRe: help needed for ADODB.Stream Pin
Naveed Kamboh20-Sep-06 0:53
Naveed Kamboh20-Sep-06 0:53 
AnswerRe: help needed for ADODB.Stream Pin
Guffa20-Sep-06 20:09
Guffa20-Sep-06 20:09 
Question[Message Deleted] Pin
PREMSONBABY18-Sep-06 22:31
PREMSONBABY18-Sep-06 22:31 
AnswerRe: Hi , please help Pin
hiral_shah18-Sep-06 22:52
hiral_shah18-Sep-06 22:52 
QuestionCalling a method defined inside a .NET dll Pin
RajenSuchede18-Sep-06 20:04
RajenSuchede18-Sep-06 20:04 
AnswerRe: Calling a method defined inside a .NET dll Pin
V.19-Sep-06 4:30
professionalV.19-Sep-06 4:30 
QuestionProblem in JavaScript Pin
hiral_shah18-Sep-06 19:23
hiral_shah18-Sep-06 19:23 
AnswerRe: Problem in JavaScript Pin
_AK_18-Sep-06 19:48
_AK_18-Sep-06 19:48 
AnswerRe: Problem in JavaScript Pin
hiral_shah18-Sep-06 19:53
hiral_shah18-Sep-06 19:53 
GeneralRe: Problem in JavaScript Pin
_AK_18-Sep-06 19:54
_AK_18-Sep-06 19:54 
GeneralRe: Problem in JavaScript Pin
hiral_shah18-Sep-06 20:10
hiral_shah18-Sep-06 20:10 
GeneralProblem in JavaScript is solved Pin
hiral_shah18-Sep-06 20:28
hiral_shah18-Sep-06 20:28 
GeneralRe: Problem in JavaScript is solved Pin
_AK_18-Sep-06 20:34
_AK_18-Sep-06 20:34 
QuestionMySQL problem with CMS Mambo Pin
torniker18-Sep-06 11:10
torniker18-Sep-06 11:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.