Hi All,
I am trying to upload a file from an ASP Page to Server.
by using following code
Set FSO = CreateObject("S cripting.FileSy stemObject")
Set TS = FSO.CreateTextF ile(aFilename,t rue,true)
i getting the following error
Microsoft VBScript runtime error '800a0046'
Permission Denied
Does anybody has a solution for this error.
...
User Profile
Collapse
-
Error While Uploading a file from an ASP Page to Server
-
Problem in enabling and disabling menuitem
Hi,
I have an appliction in which,there are many User for whom different accesss right are given for different menuitem.Now, when a user Login in, he/she should have access to those many nos. of menuitems(names stored in database)
this is the sample of code:
strQry = "select MenuName from table1 "
mycommand = New SqlCommand(strQ ry, myConnection)
dr = mycommand.Execu teReader... -
Yes i know.... but i am using smalldatetime as my data-type.
If i use the above query it give an error for datatype i.e
"The conversion of char data type to smalldatetime resulted in out-of-range smalldatetime value.The statement has been teminated."... -
I tried what you have suggested but still its storing 01/01/1900 in database....Leave a comment:
-
strQry = "insert into gin_mst(GINDate ,GinNo,........ ,userId,LCNo)"
strQry = strQry & "values(#" & Format(myDate, "dd/MM/yyyy") & "#,'" & Trim(strGINNo) & "',........ .,'" & userId & "','" & Trim(cmbLcNo.Te xt) & "')"
mycommand = New SqlCommand(strQ ry, myConnection)
ra = mycommand.Execu teNonQuery
this...Leave a comment:
-
I am picking date from datetimepicker. But after taking your suggestion i am getting this error for date 23/08/2007 "The name #23 is not permitted in this context.Only constant,expres sions,or variable are allowed here.Column names are not permitted".One thing i forgot to specify is the datatype for date in database which is smalldatetime....Leave a comment:
-
Inserting Datetimepicker in SQL Database
Hi,
I have a problem while inserting Datetimepicker value into Sql database.The value which gets inserted in database is 01/01/1900 which is the wrong one ,as I wanted today or current date to get inserted in database.
i am using VB.Net 2003 as my front-end and MS SQL 2000 as my back-End.
Please help me....
No activity results to display
Show More
Leave a comment: