Binn Folder
Mar 12, 2008
What would be the impact of replacing the SQL 2005 90 ToolsBinn folder with the SQL 2000 80 toolsinn folder?
A colleague of mine did this in a SQL 2005 production environment so that he could still use isql.exe. Unfortunately, users are getting kicked out of the database and I'm thinking the binn folder may be a factor.
Thoughts?
View 5 Replies
ADVERTISEMENT
Jul 20, 2005
I am writing an installer that needs to put a dll file with a bunch ofextended stored procedures in the BINN directory. The problem is thatif the machine is running multiple instances of SQL Server, there ismore than one BINN directory. The installer has a dynamicallypopulated dropdown with the name of the instances, so does anyone knowif this logic is correct and/or reliable assuming SQL Server 2000?If the instance name = "MSSQLSERVER"then path to BINN directory = registry value ofHLMSOFTWAREMicrosoftMSSQLServerSetupSQLPath + "BINN"If the instance name != "MSSQLSERVER"then path to BINN directory = registry value of HLMSOFTWAREMicrosoftSQL Server<Instance Name>SetupSQLPath + "BINN"Thanks in advance for any help.
View 1 Replies
View Related
Sep 19, 2007
I dont alot about sql server 2005(Express edition). For debugging purposes i want to copy the whole app_data folder(.mdf & .log files) on the production server to another folder on the same machine(or sometimes to a network folder). So when i copy and try to paste this App_data folder to a new location, i get this error message
"cannot copy ASPNETDB: it is being used by another person or program. close any programs that might be using the file and try again."
After reading the above message, i close visual web developer, stop the website in IIS and stop the SQLExpress service on the server and try again but still get the same message.
So how can i make sure that all the programs accessing these database files are closed such that i'm able able to copy them to a different location.
View 2 Replies
View Related
Jul 2, 2015
I know a WMI event watcher can be used to watch for a new file being added to a folder. However, I need to check for new folders being added to an existing folder. I haven't been able to find a post on doing this. Is there a way in WQL to check for a new folder being added instead of a new file? I've used SQL for years, but am new to SSIS.
View 2 Replies
View Related
Oct 31, 2007
Ok,
I have a network folder called A
I have a SharePoint (2007) Document Library site called B. Web Client is enabled on the server and B is mapped as a Drive (let's call it Y for this discussion)
I want to move documents in A to B. Easy enough, right? Not so....
I first started by creating a batch file that issues a COPY \A \Y /Y at the command prompt. Viola! Worked Great!
I then moved that command to a SQL Agent job as a CMDExec statement (exact same statement) and attempted to run it.....CRASH! It found the files in A but then said "The system cannot find the path specified"
Ok, so I tried it in SSIS. CRASH! Checked the error log. Same thing...
So I then checked the account under which the SQl Agent was running (special domain account for all our SQL Servers). Thinking it might mater I changed it to run under my name (I'm in Domain admin). I also ensured I had permissions to the SPS 2007 library as well. (I did).
Ran again! CRASH! Same error....
So, I created a batch file , placed thec ommand in the batch file and ran that from the command prompt! Viola! Worked Great.
So, I was thinking of how ingenious I was as I pasted my C:RootCopy.bat into my SQL Agent job. With a big grin on my face I right clicked and picked "Start Job at step".......CRASH! Same error.
Does anyone have any ideas on this ???????????????
Thanks,
Stephen
View 3 Replies
View Related
Sep 4, 2006
I have a set of folders with the following structure:
MainFolder
1999
SpreadsheetA.xls
SpreadsheetB.xls
SpreadsheetC.xls
2000
SpreadsheetA.xls
SpreadsheetB.xls
SpreadsheetC.xls
etc.
Is there a way that I can use the foreach loop container to loop the sub folders? My plan was to get the folder name and path into a variable, use this to build the connection string for each file in this folder, carry out the upload for that folder, then move onto the next folder and do the same thing, but I cannot see a way to do this.
Thanks,
Sam
View 2 Replies
View Related
Mar 28, 2008
I am having problem with moving a file from one folder to another folder. Here is the detailed scenario:
I want to move a input.csv file from shared input folder to shared archive folder. i am using the below code to do this.
declare @inpath varchar(100)
SET @inpath = 'move "\abcdefINPUTinput*.csv" "\abcdefARCHIVEarchive.csv"'
EXEC @filestatus = master..xp_cmdshell @inpath
but the problem was it was cutting the input.csv file from INPUT folder but not pasting it in the ARCHIVE folder.
I really appreciate if anyone can help me to solve this or anyone can tell some workarounds.
Thanks,
View 20 Replies
View Related
Oct 10, 2001
hi, I am curious to know if I can do the following from within a store procedure.
If I have a folder under c drive c:clientand would like to check if there is any files inside the client folder, how can I write such code in sql into a store procedure. I want to do some actions like expoft table data (bcp) into the client folder if there is no text files..... I do appreciate your help
Ali
View 1 Replies
View Related
Jun 4, 2008
Hi,
say I have th following in my post-deployment script:
:r ..ScriptsFolderScript1.sql
:r ..ScriptsFolderScript2.sql
:r ..ScriptsFolderScript3.sql
...
How can I do the equivalent of
:r ..ScriptsFolder*.sql
??
I've tried the above and the syntax is not supported.
Your help is much appreciated! =)
View 3 Replies
View Related
Aug 9, 2006
Hi All,I have a multiple files, but they are store in different directory onthe server. I want open those files and insert it into the databaseusing bcp.Example files structure dir:\xyz123abc ext1.txt\xyz123abc ext2.txt\zyz123999 ext2.txtbcp "dabase" in \xyz123abc ext1.txt -c -S"servername' -Usa-Ppassword -T".is there away to loop througth each dir, get the files, excecute thebcp, then go to next folder.Please help. Thanks in advance.Ted Lee
View 2 Replies
View Related
Nov 16, 2007
Could I delete all packages from Bin Folder? Will it effect anything?
Best Regards,
View 7 Replies
View Related
Mar 19, 2008
Hi Experts
Is there a way to find out programmatically using T-SQL where the current log folder is located for a SQL insatance? if for example the log folder is located under the C: as
C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOG
I need to find the path where the log folder is placed. If there is a way please share the trick.
Thank you
AK
View 8 Replies
View Related
Jul 27, 2007
What is the best way to move the FTDATA folder for SQL Server 2005 from drive "d" to "e"?
View 3 Replies
View Related
Jun 7, 2006
My Log file connection is set to "Create Folder". According to BOL, this seems to indicate that the folder(s) that the log file will reside in will be created if they do not already exist. Yet I am receiving a package validation error when I execute the package. The full error is:
The SSIS logging provider has failed to open the log. Error code: 0x80070003
The system cannot find the path specified.
As a side note, I thought that setting the connection to "Create File" would recreate the log file each time it ran but that does not seem be the case. Instead, the file gets appended.
View 3 Replies
View Related
Apr 27, 2007
Greetings, Salutations, and Howdy
I'm using VWD on the local box and WS 2003/SQL Express on the remote box.
The first time I upload the site, the upload works great. Later after uploading updates, new pages, etc. the upload still works great.
BUT.....when I try to upload anything in the App_Data folder, I get a copy error, access denied.
On a pre-existing site with App_Data ....How do you upload the App_Data folder or it's contents to the remote server?
Thanks^2
View 6 Replies
View Related
Aug 2, 2007
Hi
Anyone knows , get a SQL Backup Folder Path in asp.net.Some Systems it displayed like D:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBackup and some Systems like E:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBackup and etc. i need to get a path for backup programmatically.Please help me.
Tamil
View 1 Replies
View Related
Nov 10, 2007
HI,
I found that we can keep .mdf file in App_Data folder and use the same database in our application.
so my questions are .
1.the database which is kept in app_code will work only with Sql Server Express Edition.
2.what will be my connection string in web.config.
If any one can help out that will be appreciate and put some more light about using the data base in this way.
or any article link will also appreciated.
Thanks in Advance.
Rafeeq
View 1 Replies
View Related
Dec 9, 2007
Hiiiiiiiiiiii,
Why my program can't access data base, if i'm not set permission & security to All User (Everyone)..??
FYI, my IIS setting for directory security is Basic Authentication.
Pls advise how my program can access the program, if permission & security are not set to Everyone ??
Thanks
View 3 Replies
View Related
Dec 31, 2007
Hi
We are building a portal internal to our org. Here, For one of the option on the portal, we have given each user in our organization an option to upload three images. Iam storing these images in Sql server table columns with datatype image.So, the question is:
1. Is it ok to store the images in sqlserver? Will it add any performance degradation?
2. Is it ok to store the images in folder and store the respective urls in the DB?
Please let us know.
Thanks!
Santhosh
View 3 Replies
View Related
Mar 19, 2008
In SQL mngt studio...what is the system tables folder in the tables folder supposed to be used for? Do I need to use it for anything?
Gater
View 5 Replies
View Related
Jan 30, 2006
hi,I noticed that visual studio automatically creates ASPNETDB.MDF file in app_data folder, what is this folder for
View 3 Replies
View Related
Feb 10, 2006
I'd be interested to know what the recommended methods are of implementing a SQL database using VS2005 standard and SQLExpress.
I previously used VS2003 and MSDE which allowed me to create a .sql script to create and populate a database.
Correct me if I'm wrong, but it now appears that in VS2005 the preferred way of doing this is to create a SQLExpress database in the App_Data folder. This is fine, except that I can't seem to connect to this 'detached' database using SQLCMD when I need to run my .sql scripts to create the tables.
When I used MSDE, I used a command similar to the following:
osql -E -S(local)etsdk -dMyDatabase
Which connected to the 'MyDatabase' database. Now, with VS2005, if I create MyDatabase.mdf in the App_Data folder how would I connect to it using SQLCMD? I've tried:
sqlcmd -E -S(local)SQLEXPRESS -dMyDatabase.mdf
but this just tries to open a database in the SSQL.1MSSQLData folder.
I guess I'd like to store the database in the App_Data folder as it keeps everything together and will be easier when deploying a site to a remote host.
Thanks,Wayne.
View 3 Replies
View Related
Jan 18, 2005
Does anyone know if it is possible (and if yes, how) to create a trigger that creates a folder for every inserted record?
In a specific root folder, I want a subfolder for every record in the table. How does the trigger have to look like to make the folder automatically with every insert of a new record???
thanks!!
View 3 Replies
View Related
Jun 15, 2004
Hi all,
I have built a Disaster Recovery Site for my DB.on periodic basis, trn files from production server reach DR server and DR setup will apply them locally.
If the flow is smooth then no issues, if one of the file does not reach DR
the entire setup will halt for the want of the file and I dn't have any means to
know which file is missing.
Both my production and DR site located remotely behind firewalls, i.e i can't
physically access the servers or remotely login to the server.
Can anyone tell me how to see the contents in a folder in the server using
SQL query .
Any help is highly appreciated
Thanks and Regards
Srinivas Varanasi
View 4 Replies
View Related
Oct 28, 2014
I have table with column values as below. I need to change the folder name from QA to PROD.
C:QADocumentspdf1
C:QADocumentspdf2
C:QADocumentspdf3
C:QADocumentspdf4
C:QADocumentspdf5
and I need to change the path as below:
C:PRODDocumentspdf1
C:PRODDocumentspdf2
C:PRODDocumentspdf3
C:PRODDocumentspdf4
C:PRODDocumentspdf5
View 2 Replies
View Related
Nov 20, 2013
Is it possible to query a windows folder via t-sql?
A table will hold the possible file names of a set of files we receive each day. Is it possible to query the folder and match on the file names stored in t-sql to what is in the folder?
Or will this need something like VB/excel?
View 2 Replies
View Related
Jan 11, 2007
to utf8 format through BCP or throuhg the dos command prompt?
Cheers
View 3 Replies
View Related
Feb 25, 2008
Is there a way I can add all my stored procedures into a folder of my chosen name Inside the Programmability->Stored Procedures tree structure.
Thanks
View 2 Replies
View Related
Mar 19, 2008
Hi,
My Problem goes Like this....
I have a folder which contains all the flat files which are used by all the packages(ex--flat file connection managers) in my project.
If we want to change the name of the folder(or)move the folder(path may change),have to change in every package( in all connection managers) manually.It looks hardcoding and timetaking.
Is there any way to change in one place(xml,file,variable) so that it should be affected in all the packages.
View 4 Replies
View Related
Mar 19, 2008
i have created one package which contains flat file source and flat file destin and corres conneciton mgrs.
i created configuration using package configurations with name config.dtxconfig.(while creating it i selected connection string under source file and destination file).
config.dtxconfig contains path as config value for source c:folderfilesourc.txt.and for destination c:folderfiledest.txt
But my req is we have to create another xml named as folderpath.xml should contain the path up to c:folder.for every package execution ssis should access this xml where it should find the folder.
if i want to change the name of folder (or ) move the folder i should change in folderpath.xml only wihout changing folder name in all configuration files.
can i do that.
if not give me alternate solution.plz guide me with clear explanation since i am novice to this tool
View 1 Replies
View Related
Jul 20, 2005
Hello, I just installed SQL Server 2000 on my home computer and amconnecting to a remote SQL server over the Internet. I can log intothe server just fine and see 7 folders including the 'Databases'folder. I can open up all of the other 6 folders but for some crazyreason when I double click on the 'Databases' folder, I can't open it!The hourglass appears and Enterprise Manager basically locks up. Doesanyone know what's going on?????Please email response to Join Bytes! as well as posting togroup.Thanks,Navin
View 1 Replies
View Related
Aug 28, 2007
Hi
I'm using Microsoft SQL server management studio express 2005.
I€™ve a Database with some S.Ps.
How to store those S.P scripts in a folder?
Please advice
Thanks
View 12 Replies
View Related
Jul 19, 2007
Hi,
I would like to be able to deploy a report to a particular folder in the report server. It seems when I deploy a report it always shows up in the root even after I have moved it into another folder where I wish it to reside.
Thanks,
DD
View 5 Replies
View Related