2005. I have never done anything relating to SSIS, but it would be a good time to start.
Also the DB is trustworthy on - so I can do filesystem tasks with a CLR without further "activations"? Great!
Thanks a lot for your guidance!
As I'm using the German localized version of Windows, the %date% doesn't include any slashes, just dots. :)
I considered SQL agent for two reasons:
a) The job that creates the file, which I want to rename, is already an SQL agent job (file contains database data).
b) I didn't find any suitable...
Hi all!
I've been searching for a while, maybe you can help:
I need an SQL Server Agent job to rename a file with the original filename + yesterday's date.
I figrued out that I should use an Operating System (CmdExec) job step like this
ren test.txt test-%date%.txt
but I'm stuck with...
Hi all!
I'm using the PrintDocument class for a printout in my application. In the OnPrintPage event handler, I populate the graphics object using the DrawImage() and DrawString() methods.
The document can have up to 140 pages and is printed from the local workstation (a Windows 2000 machine)...
Both servers are set up for mixed mode.
Believe it or not: I removed the "run as user" values, and now it works! I would have never thought that! A typical case of overkill...
Denny, thanks a lot for solving this issue! [2thumbsup]
The job step is a T/SQL command.
I did not use a proxy account, but on the "Advanced" tab of the "Job step properties" window, I set the "Run as user" field.
I will mention some other details about the linked server I'm using:
I configured the linked server this way:
EXEC...
I'm sorry, as it seems I was in an overhast. It appears that the job worked once, but now it does not any more with the same error as before (current security context is not trusted).
This is was I did:
Since I was not able to change the accounts on the linked server's security tab, I created...
...remote server, I get the error:
"Access to the remote server is denied because the current security context is not trusted."
I already did this:
* I advised the job to execute the step with the
database user that has assigned the linked server
login.
* I used SQL Server...
I found this article on the net:
http://www.sommarskog.se/error-handling-I.html
Basically it says that messages with a severity smaller than 11 (I think I'm dealing with this kind here) cannot be trapped directly using T-SQL.
So if none of you experts has a solution to this issue (I'm still...
Thanks for your answer!
Unfortunetely I have to use the message output inside a T-SQL stored procedure. However I now have some more clues on how to search on the Internet about this issue.
Anne
Hi all!
I've stumbled over a new problem and have not found anything yet on the Internet:
I call a stored procedure (by another vendor) this way:
DECLARE @return_value int,
@AnzahlBenutzer int,
@BenutzerSendefehler int,
@Fehlerprotokoll nvarchar(max)
EXEC @return_value =...
Hi all!
Imagine a System.Collections list (e.g. an ArrayList or a HashTable) containing person objects with surnames.
If you wanted to search this list for all people whose surname starts with a specific string (e.g. "Sm" when wanting to find "Smith", "Smithers", ...), which System.Collections...
Hi there!
I hope one of you has already worked with owner drawn combo boxes. In my custom combobox, I have set DrawMode = DrawMode.OwnerDrawVariable, and the items in the drop down list all have variable height. This is working so far - but:
How can I adjust the total height of the drop down...
Hi there,
I'd like to know if the following is possilbe in C#:
Consider the enum "DayOfWeek" which is already built into the .NET framework.
I'd like to create a constant one-dimensional array whose elements should be addressable by the DayOfWeek enum, for example (pseudo-code!)
const...
Thanks spizotfl! Now that I've played around for an hour a really nice solution popped up:
I created to public functions, GetMonth() and GetYear() as follows (trimmed-down):
Public Function GetMonth() As Integer
If CurrentProject.AllForms("Welcome").IsLoaded Then
GetMonth =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.