Hi Jiří,
thank you very much for your quick response!
It works now and I am already embarrassed because the trusted connection also worked before but I didn't realize it.
Now that I know that trusted connection should work I did a deeper inspection (which I also should do before) and found the real cause of the access error message.
The first thing I did with the database from the console application was executing a stored procedure and I did not know that if you are using a stored procedure with other users than sysdba you have to grant execution rights additionally for these users.
So the problem for my access error message was that my personal windows user didn't has rights to execute this stored procedure.
Thank you for your great work and have a nice weekend!
Kind regards,
Robert.