I am trying to deploy a web application that uses MySQLDirect.NET. As an IDE I use Visual Web Developer. When I copy my source aspx files to the server, I get the dreaded 'License not found' exception.
According to the documentation, these are my options:
However, I cannot use either of these options. Visual Web Developer does not allow you to create the assemblies for the first option, and the context menu does not contain the 'Build Runtime Licenses' command.Licensing ASP.NET Applications
In deployment of ASP.NET application to server you have two alternative ways.
First, you can compile the application entirely, so that web server does not perform any compilation on demand. In this case licensing web applications is same as licensing common WinForms application.
The other way is to upload source files to server, where they are compiled on user request. In this case you have to have special assembly App_Licenses.dll in the Bin directory of your site. To create this assembly execute Build Runtime Licenses command in the licenses.licx file context menu in the Solution Explorer view. Required assembly will be created automatically.
So what can I do?
Thanks,
Luc