18
DTS error:
The log file for database ‘dtsPackageName’ is full. Back up the transaction log for the database to free up some log space.
Solution:
backup log epack_dev with TRUNCATE_ONLY
DTS error:
The log file for database ‘dtsPackageName’ is full. Back up the transaction log for the database to free up some log space.
Solution:
backup log epack_dev with TRUNCATE_ONLY
Find and open Apache’s configuration file: httpd.conf
Using a editor like notepad++ , edit the httpd.conf file and scroll until you find a line like this:
Options All Indexes FollowSymLinks MultiViews
To disable directory browsing carefully remove the line that says: Indexes and leave the line like this:
Options All FollowSymLinks MultiViews
Restart your apache webserver and you’re finish.
I keep getting the error message below, so I did a search and found the solution at the link below.
Error:
You do not have permission to view or edit the current permission settings for (filename), but you can take ownership or change auditing settings.
Solution:
http://support.microsoft.com/kb/308421
‘ Rename File from Connection
Option Explicit
Function Main()
Dim oFSO
Dim sFileName
sFilename = DTSGlobalVariables.Parent.Connections(”Text File (Source)”).DataSource
Set oFSO = CreateObject(”Scripting.FileSystemObject”)
‘ Check for file and return appropriate result
If oFSO.FileExists(sFilename) Then
‘Main = DTSTaskExecResult_Success
Main = DTSStepScriptResult_ExecuteTask
Else
‘Main = DTSTaskExecResult_Failure
Main = DTSStepScriptResult_DontExecuteTask
End If
Set oFSO = Nothing
End Function
‘ Rename File from Connection
Option Explicit
Function Main()
Dim oPkg
Dim oConn
Dim oFSO
Dim oFile
Dim sFilename
Dim sFileDestination
Dim sMonth
Dim sDay
Dim sYear
Dim sHour
Dim sMinute
Dim sSecond
‘ Get reference to the current Package object
Set oPkg = DTSGlobalVariables.Parent
‘ Get reference to the named connection
Set oConn = oPkg.Connections(”Text File (Source)”)
‘ Get the filename from the connection
sFilename = oConn.DataSource
sMonth = CSTR( MONTH(Now()))
sDay = CSTR(DAY(Now()))
sYear = CSTR(YEAR(Now()))
sHour = CSTR(HOUR(Now()))
sMinute = CSTR(MINUTE(Now()))
sSecond = CSTR(SECOND(Now()))
sFileDestination = DTSGlobalVariables(”dts_ArchiveLocation”).Value & DTSGlobalVariables(”dts_FileName”)
‘MsgBox sFileDestination & sMonth & sDay & sYear & “.TXT”
‘ Rename the file
Set oFSO = CreateObject(”Scripting.FileSystemObject”)
‘oFSO.MoveFile sFilename, sFilename & “.bak”
oFSO.MoveFile sFilename, sFileDestination & sYear & sMonth & sDay & “_” & sHour & sMinute & sSecond & “.TXT”
‘ Clean Up
Set oConn = Nothing
Set oPkg = Nothing
Set oFSO = Nothing
Main = DTSTaskExecResult_Success
End Function
I found out today that if IE security (Tools-> Internet options-> Security -> Internet or Intranet -> Custom level -> User authentication) is set to anonymous logon, you will get the above error. I didn’t find any mention for this cause so here it is.
The solution that worked for me:
Open your Internet Information Services manager and from the [your machine]/Web Sites/ Default Web Site node select the virtual folder which stores your project. Right Click and select Properties to select the ASP.NET tab page. Make sure the correct version ASP.NET Version is selected.
sp_help_job returns information about jobs that are used by SQLServerAgent service to perform automated activities in SQL Server.
EXEC MSDB.DBO.SP_HELP_JOB
List all the database on SQL Servers.
SQL SERVER 2005 System Procedures
EXEC sp_databases
EXEC sp_helpdb
SQL 2000 Method still works in SQL Server 2005
SELECT name FROM sys.databases
SELECT name FROM sys.sysdatabases