The solution you accepted is incomplete. For the sake of others researching this problem in the future, I'll elaborate.
Literally, this means that ASP.NET couldn't locate the type 'ProiectLicenta.MvcApplication'.
This can happen for a number of reasons. In order of likelyhood (imho, of course), they are:
You are ignoring an error when building your site. If the assembly or project that contains ProiectLicenta.MvcApplication can not be compiled, then ASP.NET will not be able to locate any classes or other entities therein contained. Solution: correct all compiler errors and try again.
The class ProiectLicenta.MvcApplication is not explicitly declared with the correct access specifier. Remember, classes declared like
class MyClass { ... }
are private. You'll probably want to change the declaration to
public class MyClass { ... }
You are deploying your site and not including the assembly (DLL) which defines the type ProiectLicenta.MvcApplication. Correct your deployment process and try again.