Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Dynamicweb.Admin.LicenseInformation ERROR on application publish in visual studio

Dynamicweb.Admin.LicenseInformation ERROR on application publish in visual studio

Peter Leleulya
Reply

Error        Could not load type 'Dynamicweb.Admin.LicenseInformation'.    Application    /Admin/Content/Management/Pages/LicenseInformation.aspx  

This error appears when I try to publish my application in Visual Studio.
What can I do to prevent this?
I need to deliver an staging/test environment today and somehow I can't publish my application as I could in Dynamicweb 8.

I've tried switching licence settings (but still kept the Staging/Test licence option checked) and tried several publish options, but nothing seems to work.


Replies

 
Martin Vang
Reply

Hi Peter,

Which version of Dynamicweb are you using? Does the specified .aspx-file exist in your solution?

If you navigate to the specified file, it's probably marked with a yellow exclaimation-mark. Right-click the file, and delete/exclude it. Does this help?

 

BR, Martin

 
Peter Leleulya
Reply

Professional 2014 version 9.2.9 Staging/Test License

I seem to have the file mentioned ...

Capture.PNG
 
Peter Leleulya
Reply

Excluding the file from the project does get me further in the publish progress, but gives me all kinds of context errors on which the publish fails ...

 
Martin Vang
Reply

You really need to give me a screencast or something similar for me to help with this. "all kinds of context errors" are kind of difficult to help with. :-/

Also, which version are you using? 

 
Peter Leleulya
Reply

I had the "Allow precompiled site to be updatable" option set to false. (which i preferr)
Setting this to true and excluding the /Admin/Content/Management/Pages/LicenseInformation.aspx file from the project gave me a working publish.

Won't it do any harm if this file stays out?
 

 
Martin Vang
Reply

You can safely leave this file out for 9.2.10 and below. It isn't meant to be released quite yet, but sometimes, a few files gets pushed to our nuget feed, before they are in active use - not really an issue, as it can only be accessed if you write out the url manually, at which point you get to see an unfinished page for your trouble. :)

 

BR, Martin

 

You must be logged in to post in the forum