Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Questions about Deployment

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Fri Jan 06, 2006 1:37 pm    Post subject: Questions about Deployment Reply with quote

Hello Support

We have some problems with our deployment. After installing our App on a Test Machine, it works fine. After installing on a Terminal Server we get the Message "This application was created using an unlicensed evaluation version of Infralution Virtual Tree".

Is there a known problem with Terminal Server?

Another Question:

Assembly MyLibary.dll use VT in a UserControl "MyCustomVT".
Assembly MyModule.dll use "MyCustomVT" on a Form "MyModuleForm".
Assembly MyProgram.exe loads MyModule.dll dynamically and displays "MyModuleForm".

licenses.licx is only automatic created in MyLibrary.dll. Needs MyModule.dll and/or MyProgram.exe a licenses.licx too?


When MyVT inherits from VT, Is there any changes in licenses.licx to do?

Thanks and Best Regards
Giuseppe
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Jan 08, 2006 11:08 am    Post subject: Reply with quote

Microsofts component licensing mechanism loads licenses by default from the entry assemblies resources. So you will need to copy the license.resx from your DLL project to your EXE project. This may have something to do with your terminal server issue. There are no known issues with terminal server.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Mon Jan 30, 2006 9:31 am    Post subject: Reply with quote

Hello Support

It seems to be a problem with Terminal Server, if VT resides on a DLL and it's used by an EXE. I tried to put the license.licx into the EXE. But we get the "Unlicensed evaluation Version of VT" MessageBox.
I will send you my Sample App, maybe you see what is wrong.
If it's a real problem, can you investigate on it?

Thanks and Best Regards
Giuseppe
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jan 30, 2006 9:36 am    Post subject: Reply with quote

Do you get the same problem under Terminal Server if you compile an exe that uses VT directly?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Mon Jan 30, 2006 9:39 am    Post subject: Reply with quote

No, the EXE with VT works fine.
Giuseppe
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jan 30, 2006 12:00 pm    Post subject: Reply with quote

Thanks for sending us your sample apps. The good news is that I don't think it is a problem with Terminal Server. The DLL based app gives me the "compiled with an evaluation version" on a standard WinXP machine. Have you tested this on a clean machine. My guess is that maybe you were running on a machine with Virtual Tree installed on it - and the app was picking up the installed design time license when it couldn't find the run time license.

A quick look at your sample source idenitified the problem. Your "02 From DLL" project has a licx file - but it is empty. I copied the required line from your other license.licx file:

Code:
Infralution.Controls.VirtualTree.VirtualTree, Infralution.Controls.VirtualTree, Version=2.3.2.0, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f


Rebuilt the solution and it ran without any problem.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Mon Jan 30, 2006 12:46 pm    Post subject: Reply with quote

ohh Wink

I can't understand why the licx file in the sample app was empty. To generate the file, i put a VT control on the form in the exe and then I have deleted the control from the form. maybee i forgot to save...
I'm sorry for the inconvenience. I will test the Sample App on TS again.

(Our real App have a good licx file on the exe, but we have the same problem...)

Thanks
Giuseppe
Back to top
View user's profile Send private message
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Tue Feb 07, 2006 12:36 pm    Post subject: Reply with quote

Hello Support

The test apps now works fine on TS. It seems that VT works fine with the Terminal Server, but we still have the same problem on our Real App.

In a few days we get some new Server's with more access rights and hope we can find the problem.

Thanks
Giuseppe
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Feb 07, 2006 9:51 pm    Post subject: Reply with quote

Have you tried rebuilding your solution completely?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group