I am using VS.net 2003. When I deploy my program and try to run it the program works except that when I try to print a report I get a message that I need a license.
I am using VS.net 2003 and when I deploy my finished program and try to run it on anI
Collapse
X
-
Tags: None
-
There's a little slot on the side of your computer. Stick your drivers license in there and it will work.
Seriously...
Are you using a 3rd party printing control - it kinda sounds like you are - and that you have not licensed it. You often have to enter a license string in your code so that it will work once deployed.
There is nothing in native .NET that I know of requiring additional run-time licensing.
Des -
I am using the native vs.net which includes crystal reports. On my machine with vs.net the reports work. When I deploy the program and try it on my laptop I get the error message stating that I need a license.Comment
-
You have to install the Crystal Reports runtime (it's free) on the laptap or you can deploy the crystal report runtime with your application - google crystal runtime for more infoComment
-
I deployed the program I wrote to a CD and then loaded it on my laptop. What else is there to deploy. I can't find any other info.
Thank you
JerryComment
-
What method did you use to 'deploy'?
1. Did you simply copy the bin\release folder to your CD?
You will have to go to the crystal reports web site on your laptop and install the crystal report runtime. Look at you program (Visual Studio Help / About) to determine what version of crystal runtime you need. With VS 2003 it was either 8 or 9 I don't remember.
2. Did you build a setup project?
If you built a set up project then look to see if the Crystal object were included in your setup package. If not the you will need to go to the Crystal reports site to see how to include them.
3. Did you use the 'publish' option?
If you use the publish option (usually target to a web site, but will work on a CD) it will allow you to handle the Crystal dependency the easiest. Press the Prerequisites button and make sure that Crystal is checked, and download from vendors site then when you run the app it will check that the correct Crystal components are installed on your laptop - if not it will automatically download and install them. (Image1)
Comment
-
I used Setup.
I also included Merge modules and add the extra files.
How do I expand Merge modules properties and enter the license key. I have the keyComment
-
Sorry I don’t think I can be of much help on those issues. You should research Crystal Reports. They used to have a large knowledge base online. Their issues with the merge modules and licensing were very troublesome.
My problems with it were resolved in VS 2005 and now VS 2008.Comment
Comment