Connection to Windows Server 2012 R2 via RDC only possible with script? - remote-desktop

I want to connect with my Windows Server 2012 r2 via Remote Desktop Connection. This is not possible by calling the Remote Desktop Connection Programm with my mouse(by clicking). If i right-click on the Program and run it as Administrator it is also not possible to connect to the Server.
Error Message:
Die Verbindung mit der Remotesitzung wurde getrennt, da kein Lizenzserver für Remotedesktop vorhanden sind.
Wenden Sie sich an den Serveradministrator.
(in german)
The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.
(in english)
Now i wrote a Little script:
mstsc.exe /admin
By Running this script i can connect with my Server. I don't know what i am doing wrong. Can anybody help me with my issue.

Related

Getting "Unable to open the guest session" error

I have a desktop application with DBMS sql server 2008 configured in a network.
I can access to the database through SQL Server Management Studio from the computer in the network. But the application does not work on the same computer. Modifying the configuration file didn't help either. I'm always getting the error "Unable to open the guest session.".
Note: I'm on a Windows 7 machine.

Configuring/Create PowerCenter Connection to a SQL Server instance via jdbc

I am working in a project where I need to integrate data coming from Oracle DB instance and SQL Server.
All was fine till I runned the workflow and I got the ORA-009242 error that told me that the schema(on the SQL Server) was not found.
After few search I realized that though I was able to get the same schema(actually a single table) in the Source Analyzer with a ODBC connection, for getting the data I need to use a JDBC.
That would not be a problem if I could use the Informatica Developer, where any kind of connection can be configured,but from there I am getting that I miss the driver(I guess I have to add it locally, though I added at the server level where Informatica is installed) but unfortunately I am not able to setting/create such connection in the PowerCenter workflow. Unfortunately I am binded to such and cannot develop the project into the Informatica Developer.
Moreover I already set a Native MSSQL server with JDBC string connection configured(tested and working) from the Informatica Developer that can be seen into Informatica Administration pannel(as for all of them as stated into Informatica online help). Moreover I did have put the jdbc driver into the appropiate folder(D:\Informatica\10.1.0\server\bin\javalib).
After a few search I was able to find only this post:
JDBC connection in Informatica Powercenter
, where it is clear the only work around is to use a Java transformation as suggested from the support,but is limited to mapping(where in case of teh SQL Server I did not have problem connecting to the source via ODBC):
enter link description here
JDBC Driver Class Name : com.sqlserver4.jdbc.Driver
Connection String: jdbc:sqlserver4://myslqserverinstance:1433;SelectMethod=cursor;databaseName=DBName
What I am missing?
There is a way to use the connection create at the administration pannel into the PowerCenter Workflow?
Or as second option use the one created at developer?
For information I am using:
Windows7
Informatica PowerCenter 10.1
JDBC 42
Thanks
P:S using an ODBC as I did in the source profile and as first attempt gave me the error:
Severity Timestamp Node Thread Message Code Message
ERROR 13.12.2016 08:01:03 node01 READER_3_1_1 RR_4036 Error connecting to database [
[Informatica][ODBC SQL Server Wire Protocol driver][SQL Server]Die von der Anmeldung angeforderte Cognos-Datenbank kann nicht geöffnet werden. Fehler bei der Anmeldung.
SQLSTATE: 08001
[Informatica][ODBC SQL Server Wire Protocol driver][SQL Server]Fehler bei der Anmeldung für den Benutzer 'COGNOS'.
SQLSTATE: 28000
Database driver error...
Function Name : Connect
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [Cognos] and connection string [dehze01-wcs008\mstore].].
After have contacted the Informatica's Global Support few weeks ago, I realised that I made some really basic mistake due confusion on how I connected to Oracle instance instead.
The right steps for connection a Powercenter 10.1 to SQL Server Instance are:
Create an ODBC connection on the Server (in my case Windows Server 2012)
under the ODBC 64bit interface and create a new connection under System
DNS(so it will be available for all users).
The protocol that worked for me is the DataDirect 7.1 New SQL Server
Keep track of the name you assigned to the connection.
Once in the Workflow Manager create a connection and choose ODBC tipe, fill in all the paramenter using for the 'Conncting String' the name used in the Server for the same connection.
At the moment I cannot recall the mistake I was making, even using not the right name or the right type(mostly I was using a Native SQL protocol probably with incorrect parameters

Cannot open backup device '\\Servername\backup$\Database\databasename.bak'. Operating system error 53(The network path was not found.)

I used
Microsoft SQL Server 2012 (SP3) (KB3072779) - 11.0.6020.0 (X64)
Standard Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)
1)I have an Maintenance Plan, which backup sql database in a network share.
2) Backup execute every day in 17:00
3) Sql server services and SQL Agent services running domain accounts
Domain\SQLServer
4) Remote Network share : \\Servername\backup$\Database\databasename.bak
5) Network path "backup$" have a full rights domain accounts
Domain\SQLServer and path "Database" have a full rights domain accounts
Domain\SQLServer.
6) But i get this error
Cannot open backup device '\\Servername\backup$\Database\databasename.bak'. Operating system error 53(The network path was not found.).
7) I can't understand what could be the problem.
8) I noticed one interesting moment. When i forced update sql server in a sql management studio and run manually maintenance plan, backup run success and databasename.bak appears on remote network share, but when i start maintenance plan automatically, plan success work 2-3 days but then history again Cannot open backup device '\\Servername\backup$\Database\databasename.bak'. Operating system error 53(The network path was not found.). I have no idea what it could be.
Hey guys I have solved this problem.
The problem was in Kaspersky Endpoint Security 10. I have stopped module "protection from network attacks" and backup have success to remote network share and "lanman service" working normal. Thanks for the wireshark. Somehow module "protection from network attacks" blocked correct working lanman service and blocked 445 port which use lanman service.

SQL Server Management Studio connection error 233 - no process is on the other end of the pipe

I can't connect to SQL Server 2014 database engine from SSMS and get an error 233 and "no process at the end of the pipe".
It was working yesterday but not anymore after a Win10 update. I have rebooted, Shared Memory, Named Pipes, TCP/IP are all enabled, TCP/IP has been set to 127.0.0.1 and I'm using Windows Authentication.
I haven't tried to reinstall the software yet. Any suggestions please?

General Network Error when connecting to SQL Server using WinCE Motorola devices

I get the Exception: "General network error. Check your network documentation." when connecting to our new SQL Server 2008 R2 server. Nothing more that that I can tell about the exception.
In windows CE5 or CE6 (depending if using Motorola MC3090 or MC3190), Microsoft SQL Client 2.0 is installed (package sql.wce5.armv4i.CAB get deployed when running the application from Visual Studio 2008). I’m not able to connect to that DB on both version of the gun… I’m only able to connect with our Windows applications (x32 and x64). The connection string I use is the following: "Data Source=ip_address;Database=dbname;User ID=username;Password=password"
I successfully connected to a dev database in our LAN. The dev database server is also 2008 R2 SP1 but there are no port block (wide open). Apparently, nothing is blocked according to the sys admins. The new DB server is now virtual and remote.
Is it possible there is some kind of options to prevent connections from some sources? Is there any diagnostics tools I can use?
Any ideas beside that?
Thanks
That was finally my fault. When testing I left the gun on the cradle and connection failed that way... I needed to test with the gun not on the cradle using its wireless connection and it worked!

Resources