View previous topic :: View next topic |
Author |
Message |
steve.krieghoff
Joined: 23 May 2011 Posts: 2
|
Posted: Mon May 23, 2011 10:48 am Post subject: AuthenticationServer not accessible |
|
|
Hallo
we are developing a C#.net Software. Actually we are trying to implement your Infralution Licence Modul.
Using Licencekeys and saving the Licencefiles, verifying them and then importing again - this works great.
But additional to this, we tried to set up an Infralution AuthenticationServer as a localhost.
Therefore we used the offered Files coming up with the Infralution SetupBundle (including Tracker, KeyGen and so on).
We have configured the AuthenticationServerSettings.xml using the LicenseTracker and setup the "serverconfig" using the install-script (Install.aspx).
For configuring our Software, we have used the "GenerateValidationParameters" Function in the Tracker - then just copy and paste this Snippet into our program.cs.
I think that's all we need to do, isn't it ?
So.. but now after starting the Server locally (systray icon appears and server seams to run) it is not working as expected.
Starting our software and trying to install a generated LicenceKey fails.
The upcoming error Message shows "No Connection to the Authentication Server[...] You can save your licence file and send via Mail[...] "
Now our question is, what are we doing wrong and how to fix our Problem.
Thanks for your help. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue May 24, 2011 9:39 am Post subject: |
|
|
Are you running the Authentication Server (via the ASP.NET development server) on the same machine as your are trying to install the application? The ASP.NET development server only works on the local machine. If you want to start testing inter-machine authentication you have to install the Authentication Service on a real web server that is accessible to the machine running the application. You also need to update the application license parameters with the new authentication server address. _________________ Infralution Support |
|
Back to top |
|
|
steve.krieghoff
Joined: 23 May 2011 Posts: 2
|
Posted: Tue May 24, 2011 1:24 pm Post subject: |
|
|
Thank youfor your reply,
but i am trying to install the software on the same machine as my server is running.
So i configured everything as "localhost".
The Server is running via the ASP.Net Development service in a Visueal Studio. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue May 24, 2011 10:24 pm Post subject: |
|
|
The development server does not run on the standard http port. So the port must be specified in your URL eg:
Code: | http://localhost:2142/AuthenticationService.asmx |
If you run the service in Visual Studio then Visual Studio will auto select a port to use - which is inconvenient because you don't know which one it will use. Instead you can just use the shortcut under Start->Infralution->Licensing System->Start Local Authentication Server Windows menu. This starts the ASP.NET development server on a fixed port (2142). The sample projects are configured to use this address by default for the Authentication Server and so should all work out of the box. _________________ Infralution Support |
|
Back to top |
|
|
|