Connection to Licence Server fails - not authenticated
System:
SAP B1 2007A PL42
SAP Client, SAP Server and SAP Service Manager are running on my local computer.
Service Manager and Licenze Server are running.
Try to login as manger to a client database in SAP B1.
The login fails with error message "Connection to Licence Server is not authenticated" ("Verbindung zu Lizenz Server ist nicht authentifiziert!").
Login to other client databases installed in the same system without any problem.
Thank you for your help!
Frank Romeni
Hi Frank,
Does the database name contain a '&' sign? If it does, could you please try restoring the database with a name that does not contain the '&' sign.
When the database name is forwarded to the licence service in an XML format and there are certain characters which are not allowed to be in an XML: > < & ' " \
The database name must not include such characters and this is what causes the error message you are receiving.
In order to solve this issue, please follow the steps below:
1. Detach DB, check datafile.mdf and logfile_log.log for special signs. If necessary rename.
2. Attach it again. Make sure no special sign e.g. like "&" are used for the name of DB as well
hope it helps,
Regards,
Ladislav
SAP Business One Forum Team
Similar Messages
-
8.8 Connection with licence Server failed
Hi Experts,
I upgraded my database with version 8.8 . I also got the new licences for it and i imported it too at server.
Now when i try to get connect with the server it will give the error that' connection with licence server failed'. I tried with the server name and with server ip in licence server selection but it did'nt help me .
Kindly suggest some solution .
With RegardsHi,
This following solution to use in the resolving of your problem is from SAP note :
1. First locate the IP address as follows:
1. Select "START"
2. Choose "Run" and type in "command" in the "Open" field
3. A black window appears
4. Wait until the command "C:\>" is visible
5. Write the word "PING" and then type in the Server name and press "Enter" and the line with your IP Address appears (it says "Reply from IP ADDRESS").
Rgds,
Edited by: jimmy michael on Dec 15, 2009 10:21 AM -
Connection to Licence Server Failed
Hi There,
I installed SAP B1 2005A SP01 PL22 on a vista machine succesfully but I am now unable to connect to the License Server. When I switch off the Firewall on the License Server I can connect succesfully, but unfortunately I am not allowed to switch off the firewall for other security reasons. My question now is; What do I need to add to the exeptions in Firewall settings to allow the connection to the License server? I have added the port 300000 but that doesnt do the trick. SAP B1 is in the exeptions and so is Server Manager. Does anyone know if there is a specific exeption I need to add for this? Any Help would be greatly appreciated.
Regards,
Wynand Cilliers.Hi There,
The Firewall definately has an effect with this issue, because when I switch it off it works but when its on it doesnt. The port I added is in fact 30000. But doesnt work. Also, it doesnt have anything to do with Vista, because when I connect my XP machine I have exactly the same problem when connecting. What does SQL Browser have to do with this issue? It is started though, but doesnt have any affect.
Wynand, -
Connection to License server is not authenticated
I restored a clients databas on my laptop, but when I attempt to log in I get the above mentioned error. I can log in succesfully into other databases on my machine, but not onto this specific database. The license server is running, the License name and ports are set, SQL2005 sa login is succesfull. Please help.
Hi Izak,
Does the database name contain a '&' sign? If it does, could you please try restoring the database with a name that does not contain the '&' sign.
When the database name is forwarded to the licence service in an XML format and there are certain characters which are not allowed to be in an XML:
> < & ' " \
The database name must not include such characters and this is what causes the error message you are receiving.
In order to solve this issue, please follow the steps below:
1. Detach DB, check datafile.mdf and logfile_log.log for special signs. If necessary rename.
2. Attach it again. Make sure no special sign e.g. like "&" are used for the name of DB as well
hope it helps,
Regards,
Ladislav -
Connection to licence server not authenticated
Hello,
I have made a backup of a SBO database in SQL Server 2000 and restored this over an existing database in SQL Server 2005. Made a backup of this one and then opened SBO and updated the administration.
Unfortunately I get the system message (after entering username and password) once updated: Connection to licence server not authenticated
The administration from the client is in SBO2005A SP01 PL41 and mine is SBO2007A.
How can I get around this. The other administrations I can access..
Regards,
PetronellaWhat do you mean by
The administration from the client is in SBO2005A SP01 PL41 and mine is SBO2007A.*
You could not use a 2005 client on a 2007 Server
Or Upgrade 2005 Patch 41 to 2007
Please clarify
Suda -
Remote PowerShell Connection to Lync Server With Kerberos authentication Fails
Hi everyone ,
Remote PowerShell to Lync Server With Kerberos authentication Fails .. Is there any reason for not being able to connect when authentication specified as Kerberos . But exactly same code works when Authentication is specified as "Negotiate"
E.g :
Error -
$session=New-PSSession -ConfigurationName Microsoft.Powershell -ConnectionUri https://serverName.lync.com/ocspowershell/ -Credential $cred -Authentication Kerberos
[serverName.lync.com] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. The authentication mechanism requested by the client is not supported by the server or unencrypted traffic is disabled in
the service configuration. Verify the unencrypted traffic setting in the service configuration or specify one of the authentication mechanisms supported by the server. To use Kerberos, specify the computer name as the remote destination. Also verify
that the client computer and the destination computer are joined to a domain.To use Basic, specify the computer name as the remote destination, specify Basic authentication and provide user name and password. Possible authentication mechanisms reported by
server: Digest Negotiate For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
eption
+ FullyQualifiedErrorId : PSSessionOpenFailed
Works -
$session=New-PSSession -ConfigurationName Microsoft.Powershell -ConnectionUri https://serverName.lync.com/ocspowershell/ -Credential $cred -Authentication NegotiateHi,
Please double check if Windows Update is the latest version, if not, please update and then test again.
Please also ensure that the workstation you are using has network access to the Certificate Authority that signed the certificate.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Hi there,
I am having a serious issue with The Power BI Data Management Gateway which I am hoping that someone can help me with.
Basically I am setting a connection between a Power BI demo site and a SQL 2012 Database based on Azure. The Data Management Gateway and is up and running, and Power BI has managed to connect to it successfuly.
By following the tutorials at
here I was able to successful create my Data Connection Gateway with a self-signed certificate.
However, when trying to create the data source I come into problems. The Data Source Manager manages to successfully resolve the hostname, as per the screenshot below:
Bear in mind that I exposed the require ports in Azure as endpoints and I managed to modify my hosts file on my local machine so I could access the SQL server hosted in Azure using its internal name -- otherwise I would not be able to get this far.
However the creation of the data source also fails when trying to created it whilst logged in the SQL server in question:
The Data Source Manager returns the error when using the Microsoft OLE DB Provider for SQL Server:
Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
I tried using the SQL Server Native Client 11.0 instead but I also get an error. This time the error is:
Failed to test connection. Login timeout expiredA network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.Named Pipes Provider: Could not open a connection to SQL Server [53].
Some considerations
If I provide an invalid username/password, the Data Source Manager does say that the username and password is incorrect.
Firewall is turned off in the SQL Server (either way, this error also happens if I try top use the Data Source Manager whilst logged in the SQL Server itself).
SQL Profiler does not show any attempt of connection.
The SQL server instance in question is the default one.
The error happens regardless if I select the option to encrypt connection or not.
In SQL Configuration manager I can see that all protocols are enabled (TCP/IP, Named Pipes and Shared Memory.
The Event Viewer does not provide any further errors than the one I have copied in this post.
I'm at a loss here. Could someone please advise what might I be doing wrong?
Regards,
P.Here is what I had to do to solve this issue:
Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
domain isn't trusted.
What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?) -
try
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true;
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
When i m run this part of code it throw an Ecxeption
Given Below is the Error..
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Bikky Kumartry
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true; ///Set it to false, or remove this line
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
Given Below is the Error.. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Solution:
The error might occur due to following cases.
case 1: when the password is wrong
case 2: when you try to login from some App
case 3: when you try to login from the domain other than your time zone/domain/computer (This
is the case in most of scenarios when sending mail from code)
There is a solution for each
solution for case 1: Enter the correct password.
Recomended: solution for case 2: go to
security settings at the following link https://www.google.com/settings/security/lesssecureapps and
enable less secure apps . So that you will be able to login from all apps.
solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
standards the link will not be useful. So try the below case.
solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
But what if you don't have access to the production server. try
the solution 3
solution 3 for case 3: You have to enable
login from other timezone / ip for your google account.
to do this follow the link https://g.co/allowaccess and
allow access by clicking the continue button.
And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
Regards,
Nabeel Arif -
Connect to B1i server failed - HTTP/1.1 404 not found
Hi All,
I currently have B1 8.8 PL14 installed and in the process of installing B1i when I get to Step 3/5: Configure B1i Parameters and select Test Connection I get the error message 'Connect to B1i server failed - HTTP/1.1 404 not found'. I have followed. I have undertaken the installation as per the recorded session by Benno Eberte and regrettably I cannot set a successful connection.
Can anyone assist?
Best regards
EarlHello,
personally I think that in step 3/5 the connection via JCO is tested. Please, check the following
Can you connect to your B1i System and have a look for the SLD, there should be a system that points to your company database. If there is a system definition that points to B1if then go further. Check the B1if connection, please take the B1DI connection test, is there a message like
com.sap.b1i.adapter.dia.exception.ConnectionFailedException: Connect to Business One failed.
(-8012) Company version mismatch
{b1Server=..., company=B1if, licenseServer=..., dbType=..., dbUser=..., userName=...}
In case this message comes up and you see B1if then the JCO configuration went wrong and that part is defined in the beginning of the installation.
Hope it helps
Kind Regards -
I have an iphone 5. Everytime i click on my hotmail icon is says...cannot get mail. The connection to the server failed. I have to hit ok a couple of times and then it downloads my messages. Also at the bottom the updated date is saying that it is june 4 not june 9th
i would suggest deleting and readding the mail account in settings > mail contacts calendars
-
Sept 4, 2014 My iPhone is not connecting to the Hotmail servers. Hotmail comes up with "The connection to the server failed". Are other people experiencing the same issues? From: gnof51
If your Hotmail account worked previously and it suddenly stopped and gave you that message, then it is likely a problem at th Hotmail end. Did you check the Hotmail website or contact Hotmail directly to see if they are experiencing problems?
-
I just upgraded to the 5s. I have several mail accounts and I'm getting a message that says: "can not get mail, the connection to the server failed" . Now I'm confused because all the mail shows up perfectly.
Well it does it every time I go to mail and is driving me nuts. It never happened on my iPhone5, just on this 5s.
-
my ipad2 can not get mail. the connection to the server failed. even I follow ipad2 help and check everything
Well it does it every time I go to mail and is driving me nuts. It never happened on my iPhone5, just on this 5s.
-
I am not receiving any mail atm msg recvd 'The connection to the server failed' What do I do to start receiving email again?
Well first of all Thanks a lot for the replies.
Carrier guys said that everything is fine. I just have to try inserting the sim again just to ensure proper sim position.
Where do I find the DND setting? -
Hi, my mail applicatin is not working properly. It says cannot get main...the connection to the server failed but everything else is working ok. How can I solve this problem?
The connectivity test indicated that there was a problem with the user's ActiveSync folder, typically fixed by checking the box "Allow inheritable permissions ...".
Since it already was checked and even by removing the inherited permissions and then re-inheriting them didn't do the trick, I ended up just deleting the whole thing and then made a new duplicate account and blank mailbox. That was pretty drastic
but it fixed the problem. After restoring his mailbox contents from backup, the user is now a happy camper.
The connectivity test tool was helpful because the external URL was blank so I filled in the URL. But ActiveSync was working fine for everybody without the URL before although I don't know why it did work without it.
The other funny thing is on one of my iPads I am able to synch my mailbox and also the user's mailbox but on another iPad it just wouldn't synchronize when it worked before I added the external URL. The iPads have the same OS version so I
just don't understand it. Oh well.
Thanks for your help. That was a good tip!
WC
Maybe you are looking for
-
I don't know what's going on!
I'm having some trouble playing some videos. It was playing just fine earlier today. Now when I try to play a video, I can only hear the sound but my screen turns green. What's going on?
-
Permissions on Android AT200 removable SD card set to read only
Recently the removale SD card on my at200 has been set to read only for all but a few applications. This mean that when editing or trying to save, copy docs on the SD card I get the "not enough permissions" message. Any editing by these applications
-
I am being driven mad this afternoon....My iPod mini keeps showing a file with a warning sifn. I think I have done everything I should (the 5 R's) but to no avail. Whenever I try and install iPod updater I am only given the option to restore. When I
-
Hi, I'm using the Sun Webserver 7 and my aim is to allow for some URLs to be reverse proxied into a different server altogether. e.g. http://xyz.com/test/something.do --> http://abc.com/test/something.do and http://xyz.com/test/images/123.jpg --> htt
-
HT4623 my i phone is locked and it's requiring a safety copy, what can i do?
My phone is completely locked, it is asking me to update and make copies of security i'd appreciate any help