I told you in my previous issue that i am able to write file with different name. So definitely not the permission issue
I am trying to overwrite a file that i have opened in binary mode. I have closed the stream before writing to the file.
I think the file is getting locked by the ASP script. but i opened the file in share mode....
User Profile
Collapse
-
Help ADODB.Stream error '800a0bbc'
Hi All,
I am trying to open a binary stream from a file and the creating a new stream from the opened stream and then trying to over wright the file and i am getting the following error
ADODB.Stream error '800a0bbc'
Write to file failed.
/cops/RestartV1.asp, line 80
I Used adSaveCreateOve rWrite option fot savetoFile and itried writing files with other name in the sam... -
-
Problem in ADO binary Stream
Hi All,
I am a newbie to ASP. Can some one tell me what wrong in the code.
I am trying to write data from HTML text area to an binary ADO stream.
Code:temp = split(inString,vbcrlf) //inStr in a plaing sting from text area For i = 1 To UBound(temp) pos = pos + 46 binBuff = StringToBinary(temp(i)) outStream.Write(buff) Next Function
-
Yes the batch file is correct.
I tried invokin notpad also, its not working.
Is their any other way using which i can invoke command prompt?...Leave a comment:
-
Hi Dr B
I tried this code on my machine on excel, and worked fine.
But on machine which ASP and IIS is installed , MS-Ofiice is not installed to i cant say that its working on that machine or not.
Do i need some library?...Leave a comment:
-
Invoking Command Prompt
Hi All,
I am trying to run a bat file from ASP and I am new to asp.
Code:set wshell = CreateObject("WScript.Shell") wshell.Run("c:\file.Bat")
This bat file is trying to create a folder(My actual requirement is to interact with a application and not creating a folder).... -
Well XP_cmdshell is working with other commands, like CD MD ,RD, DIR, but not with BCP, the row inserts or UPDATES are very few, hardly 2 or 3 a day....Leave a comment:
-
XP_cmdshell not working
Hi,
I require a trigger that dumps the updated row into a txt file.
I am trying to achieve this using XP_CMDSHELL and bcp
Code:ALTER TRIGGER Dump_text ON dbo.XXXX AFTER INSERT,UPDATE AS declare @bcp_command varchar(300) BEGIN -- SET NOCOUNT ON added to prevent extra result sets from SET NOCOUNT ON; SELECT @bcp_command = 'bcp "SELECT
-
How to write output of a query to a file
Hi All,
I am using a application that stores a scripts in a sql server table columns
some times i require to use the scripts stored in table columns in a file.
So i am lookin for a keyword like UNLOAD(DB2) which unload the table into a text file. IN short i am looking to write the output of an sql query into an text file.
i can't use any utility or anr dos command to do so. can it be done on just... -
you can also use SQL server utility name DTS(data transfer service)
and using ODBC drivers u can create DSN from control panel
and then use DTS to tranfer dataLeave a comment:
-
U can also use Values (5,Default) instead of values (5,NULL)
Both works
Regards Gaurav...Leave a comment:
-
Yes double quotes matters
if you use double quoates " then the relations(table _name or columns_name or any other entity) becomes case sensitive
i hope that solve ur problem
Regards Gaurav...Leave a comment:
-
Your Table "gistl_new_requ est" does not have a column named "nr_first_n ame"
Regards Gaurav...Leave a comment:
-
Check if the gd library is installed or not
use phpinfo()
Or see the php.ini and if the gd library has a semi-colon before its name then u need to remove the semi-colonLeave a comment:
-
try this link and see how the while loop is used with mysql_fetch_row ()
http://in2.php.net/mysql_fetch_row...Leave a comment:
-
-
Integrating ActionScript With PostgreSQL
Can someOne refer me to some article Where i can read about actionScript communication with PostgreSQL server. -
how to save the figure
i have a actionscript that creates a graph,
the final graph that is created with action scirpt, i want it to be saved
Is it possible to save the figure created by an actionscript
Please refer me to some link -
No activity results to display
Show More
Leave a comment: