MSSQL7REPLDATA: Too Many Directories!!!!
Aug 31, 2000
we have snapshot replication set up between 2 servers. works like a charm... :-)
the problem is this: several agents are set to run every half hour (snapshot & distribution). every time they run, the agents create a new directory entry under MSSQL7REPLDATA (naming convetion: YYYYMMDDHHMMSS) and load it with files....
needless to say, after several days there are a LOT of directories. right now, we remove them manually, which is time consuming and a pain in the ass...
how do i configure SQL server to only make 1 or 2 dozen directory entries before starting to recycle them?
if this is a really simple fix everyone here knows, my apologies for clutering the board with a 'newbie' post. i'm not really a DBA, i was just 'volunteered'!... :-)
View 2 Replies
ADVERTISEMENT
Mar 6, 2008
I've been trying to look for information about using an SQL 2005 database with ASP.NET 2.0 - while there are loads of different articles coving configuring a database to use with asp.net, I cannot find anything on securing a sub-folder in my asp.net application. At the moment I am successfully connecting to, and validating users via a login page in my asp.net application, however, this is all pointless since I can still browse to the pages without logging in! I have tried putting in the usual <location> tags in my root web.config file and asp.net throws an error referring to my connection string, I have also tried adding a web.config file to the sub-directory, but that just uses the windows login, and I can't find anything that'll allow me to tie my own login page to it... Arrrgh! Any help will be greatly appreciated!
Thanks in advance.
View 3 Replies
View Related
Oct 16, 2000
I have a machine where the SQL "data" directory was installed on the smaller drive instead of the larger drive. What do I have to do to move the existing databases? (Backup/restore, or detach - move it physically, then attach?)
Thanks, for the help
View 3 Replies
View Related
Sep 13, 2007
Has anyone ever had a need to backup to multiple directories? I am building a general purpose stored procedure to do various types of backups, and I was wondering if the need to do this is common enough to make it worth the effort.
Example of backup to multiple directories:
backup database [MyBigDatabase]
to
disk= 'D:BACKUPMyBigDatabase_db_200709131454_001.BAK' ,
disk= 'E:BACKUPMyBigDatabase_db_200709131454_002.BAK' ,
disk= 'F:BACKUPMyBigDatabase_db_200709131454_003.BAK' ,
disk= 'G:BACKUPMyBigDatabase_db_200709131454_004.BAK' ,
disk= 'H:BACKUPMyBigDatabase_db_200709131454_005.BAK'
with
init,
stats = 5
CODO ERGO SUM
View 20 Replies
View Related
Sep 30, 2007
Hi
I'm pulling my hair out on this one..... Installed SQLServer 2005 Express and upscaled my website and intranet site that runs my photo image library.
All my thumbnails and images are in a local D drive, while my site root is in C drive. I.e. <img src="file:///D|/Images-WMASTER......etc
Images will now not display. I've checked folder & sharing permissions, IIS permissions, all the usual stuff, but still with no luck after 2 weeks #@%$$@!!
If I change to a networked folder, such as <img src="file:///S|/Images-WMASTER...etc then they show fine.
All I can think is that there is some permissions issue with SQLServer that I'm unaware of.
Your erudite advice would be greatly appreciated!
Thanks, Rob
View 7 Replies
View Related
Jan 11, 2006
I'm planning to establish a recovery plan for my SQLServer 2000databases. How to change home and data directories?
View 3 Replies
View Related
May 3, 2007
Hey All,
I'm tring to figure out the best way to organize my reports.
When I create a new Reporting Service Project throught the 2005 .NET IDE, I'm allowed to have 1 folder in the project to deploy to. I've tried adding folders under the default Reports folder, but I haven't found a way to do this. I'd like to be able to add more directories so I can deploy them right to the server, and they will be in the proper folders, with the correct access rights.
A developer here has offered the approach of One Report - One Project. I don't want to do this because the reports have so much in common, like datasources, that I don't want to be flipping back an forth from one project to the next.
I did also look to see if there was a way to assign a dircetory to each report, rather than the project level, but I didn't see way to do that. I also, tried to add folder through the Windows Explorer and see if I could get around this restriction, but no luck there either.
Anyway, How is everyone else organizing they projects?
Eric Wild
View 1 Replies
View Related
Apr 14, 2008
Hi,
I recently upgraded my Standard Edition SQL2005 to Developer Edition SQL2005 for the default instance (MSSQLSERVER) only. I used the following command line setup.exe commands to do the job -
start /wait setup.exe ADDLOCAL=SQL_Engine INSTANCENAME=MSSQLSERVER UPGRADE=S
QL_Engine PIDKEY=OHNOYOUCANTSEETHISSORRY SKUUPGRADE=1 /qb
then
start /wait setup.exe ADDLOCAL=Analysis_Server,RS_Server INSTANCENAME=MSSQLSERVER UPGRADE=Analysis_Server,RS_Server PIDKEY=OHNOYOUCANTSEETHISSORRY SKUUPGRADE=1 /qb
(Of course I used my real PID)
I then re-installed the SP2 patches. Everything seemed fine afterwards, until I tried to process a recent cube project in Visual studio. The DATEDIFF() function failed. So I found the problem (in this forum) that the VBAMDX assembly for my SSAS session was referencing an empty bin folder, and therefore could not process VBA functions in MDX.
Now I can fix this by editing the relevant XML file in the DATA folder and restarting my SSAS service but I am concerned about all the other stuff that could be referencing old folders.
Some of the settings e.g. DATA is still in C:Program FilesMicrosoft SQL ServerMSSQL.2OLAPData
but the bin programs are now in C:Program FilesMicrosoft SQL ServerMSSQL.6OLAPData
It seems that I now have 3 new installation folders - MSSQL.5, MSSQL.6, MSSQL.7 as well as the usual .1,.2,.3 since upgrading my Edition.
Why did it make these? What else may be out of wack on the SQLServer services? How can I make sure everything is properly setup?
I guess the problem could be that there is another instance called OFFICESERVERS on the computer (a WIN2003 server) which was created by the SharePoint installation by someother guy..
adv(thanks)ance
Mark W.
View 4 Replies
View Related
Aug 4, 2015
I'm curious if there's a "best practice" for setting up the data directories MS SQL will use for each operation? I've allocated independent disks for things like C: (OS), E: (DATA), etc etc etc but I'm not familiar w/ MS SQL to understand how DBA's commonly configure the folders under each unique disk for things like DATA, LOGS, BACKUP, INDEXES, and TEMPDB. Should I have an identically name folder as show below in my example?
You can see I've just mirrored the drive name to a new folder under the partition so data is being written to: F:DATA and E:LOGS. Is this considered correct / good practice? I assume naming the folder in each mount point to whatever I logically called the drive is correct but if I should change how I configure my drive paths above. I'm trying to learn common good SQL Server practices and while I work on properly installing SQL Server 2012/2014, I want to make sure I configure my partition names SQL will utilize correctly.
View 1 Replies
View Related
Apr 9, 2008
Hey,
What I am trying to achieve currently with SSIS is to view the content in one folder for example 'New' and if there is files in this then move it to 'Archived'.
Any nice liinks or tutorial or general advice you guys could give me ?
View 13 Replies
View Related
Apr 15, 2015
SQL 2008
I have a table that has company id, attachment file name, folderexists columns.
First what I need to do is create a series of folder or directories on a networked server using the company id as the folder name where the folder name does not already exist.
Second I need to move files based on attachment file name and company id to the proper folder.
For those who want to know, this is a remediation project because of a bug in our application.
The application is supposed to created the folder based on company id and then put the attachment in that folder.
View 9 Replies
View Related
Mar 19, 2007
I have sql server reporting services installed .
I have reinstalled the iis .
But now when i ever i reinstalled the reporting services i can't see any virtual directory in IIS.
SSRS installed successfully but no virtual directory
Now please let me help in making the virtual directories of sql server 2005 reporting services.
When I reinstall then if i try to connect with management studio I can't.
If i try to check surface area configuration i get following message
"Reporting services is not configured properly sqlsac"
View 1 Replies
View Related
Jan 29, 2008
Hi,
I have uninstalled and reinstalled several times and I can't get Reporting Services to create the virtual directories in Default Web Site, instead it creates a new web site called Report Server with the virtual directories under that, this Report Server website points to C:Program FilesMicrosoft SQL ServerInetPubwwwroot. Any ideas as to why this happens? My Default Web Site is called Default Website from the initial IIS install , I am on XP Pro SP 2 with IIS 5.1.
This is an issue for me since I don't want to have on another site that doesn't have the aspnet mapings.
I am dumbfounded and can't figure out what to do to make it not do that with the default configuration option checked during install. Should I uninstall and reinstall again and not use the default configuration?
Regards,
Chris
View 3 Replies
View Related
Aug 24, 2015
I contact you because we installed Report Services 2012 and after configuring werb service URL, database, Report Manager URLs... the URLs linked to the Report server + Report Manager does not work.After searching in IIS, it seems that even if virtual directories are created, they are linked to directories which does not exist :- c:Program FilesMicrosoft SQL ServerMSRS11.ReportReporting Services does contain only LogFiles and RSTempFiles directories.
View 7 Replies
View Related