|
Never seen it myself, must have been fixed in an early service pack - after all, count is one of the fundamental functions.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I saw it happen in SP4, wish i could remmeber how and why it showed up.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi all,
i have a small code of piece which create backup of Sql server database. It works well but in some cases(when i select target path to desktop folder or documents and settings folder or program files folder) it gives following error
"Can not open backup device" & Target Path & . "Operating system error 5(Access is denied.).Backup database is terminating abnormally"
Please suggest for this error ?
|
|
|
|
|
Are these folders located on the server, or are you selecting a folder in your local desktop? Have you checked whether you got write-permissions on the folder?
|
|
|
|
|
eddyvluggen wrote: Are these folders located on the server, or are you selecting a folder in your local desktop?
This folder is located on local desktop(or program files or documents and settings).I have no write permission on this folder. Whether there are any method to check the permission of the folder and change the permission of the folder using vb.net ?
|
|
|
|
|
sunil goyalG wrote: This folder is located on local desktop
In that case you'll need to backup on the server, and copy the backup from the server-machine to your local machine. Can you make a backup to the root of C: on the servermachine?
sunil goyalG wrote: I have no write permission on this folder.
You'll need permission. Ask your network-administrator if you can't change the permissions.
Hope this helps,
|
|
|
|
|
eddyvluggen wrote: In that case you'll need to backup on the server, and copy the backup from the server-machine to your local machine
in my present case, Server and client is same
eddyvluggen wrote: You'll need permission. Ask your network-administrator if you can't change the permissions.
How can i do this thing programmatically ? It is a stand alone computer
|
|
|
|
|
sunil goyalG wrote: in my present case, Server and client is same
In that case, you should be able to backup to C:\.. Have you tried whether you can backup there? It's important because it rules out any other problems, like a full harddisk and the likes.
sunil goyalG wrote: How can i do this thing programmatically ?
You can't "grant" yourself permissions from code that easily, that would be a security-hole. If you can't copy a text-file to the appropriate folder, then you also can't backup there. Can you check whether you can write a textfile to the folder that you want to backup to?
There should be a local administrator-account on the machine. That's the one that's used to set/check the permissions.
|
|
|
|
|
eddyvluggen wrote: you should be able to backup to C:\.. Have you tried whether you can backup there?
i am able to take backup on root(c:\) or any other folder except(desktop,program files & documents and Settings folder)
eddyvluggen wrote: Can you check whether you can write a textfile to the folder that you want to backup to?
i am able to create any text file to above specified folder but whenever i try to create backup file then it gives error.
any suggestion ?
|
|
|
|
|
Sounds like you do have write-permissions then
It might be that the path is too long, or the spaces in the path might cause problems. Can you backup to "C:\PROGRA~1"?
|
|
|
|
|
eddyvluggen wrote: Can you backup to "C:\PROGRA~1"?
No. i can not backup to this path. Also not on desktop and documents and settings folder. Except these folder i can take backup in any folder programmatically.
|
|
|
|
|
Hi all,
i am doing this through vb code. After importing the data ill be moving this data in an excel sheet.
I need to know which would be the best and easy way:
1. using SSIS/DTS package.
2. using a stored procedure(Bulk insert statement).
At a time i have to move data from 2 csv into database.
Can anyone please let me know thw pros and cons of the approaches?
Thanks & Regards,
Preet
|
|
|
|
|
|
I have done this before by reading the csv file and creating a xml file from the csv file. and then pass the xml as a string (varchar) to the stored procedure. within the stored procedure you should be able to convert the string to xml and then that will act like another table.
|
|
|
|
|
Do Subsonic Generates Stored Procedure for US?
Is there any version of subsonic that do this?
If yes How?
Thanks.
|
|
|
|
|
WHy not try the Subsonic web site? I bet they know.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hello,
I have some problem with search a skills like c, c#, etc. by using Containstable .
My host provider does not change noise words. Due to this we are using below quarries
If users searching a keyword like C, then query is as follows…
select id,skills,[state],metroarea,designation,cname,jobtype,city,rank FROM peoplesurge_posting as posting INNER JOIN
containstABLE(peoplesurge_posting,(skills,[state],metroarea,designation,cname,jobtype,city),'ISABOUT ("c*")') as frees ON frees.[key]= posting.[id]
Note: 'ISABOUT (C)' for this it takes as a noice word then no rusults were displayed. Due to this we adding * to keyword c. this querry gives some results but it gives wrong results i.e starting character of C
Like c, c++, c#......etc
Please resolve this problem ASAP. It’s very urgent for me.
Thanks,
Satish.
|
|
|
|
|
|
Hi Everyone.
I have a relative simple question. I want to load an image into a SQL 2005 Database, but I dont want to write a program to do this. Is there any way that I will be able to upload the image into SQL without a Windows/Web application? Purely in SQL itself?
Your help will be greatly appreciated. I know it's properly a simple question, but I am looking for a shortcut
Kind Regards,
Elizma
|
|
|
|
|
Have a look at UPDATE[^] statement's WRITE method if you have varbinary column. Otherwise see WRITETEXT[^].
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Hi all,
I am doing a project in .net 2.0 which consists of both win forms and web forms. For web application i am using sql server 2005 and for win forms i am going to use msde. Both msde and sql server 2005 contains same databse structure. I have to flush the data from local msde to the web server. Could any one please tell me the idea to implement this?
Thanks.
|
|
|
|
|
|
Hi all,
Where can I download SQL Server 2000 Books Online (SQL BOL)? for query help ?
Best regards
rameez
|
|
|
|
|
|
I use the SQL SERVER2000. My program is to check the present of the employees, then write the record to the sheet.I will give him/her a tip if he/she has signed today,then I would not write this record to the sheet. How I konw he/she has signed today? Query the large record sheet every time? I think It is time consuming.Is there a better solution?
|
|
|
|