Technical support This forum is closed.
Version 1.x > Technical support > Error while loging in to the CMSDESK running .NET2 framework View modes: 
User avatar
Member
Member
amiklein - 2/8/2006 2:35:18 PM
   
Error while loging in to the CMSDESK running .NET2 framework
Hi, I have a Kentico 1.7a system which works perfectly well on one of my servers. However, on my other server (which runs .NET2 framework) I get the following error each login attempt to the CMSDESK. When I click on the Referesh button the systems logs me in - but it is still anoying to get this error message and having to click the Referesh key ...

Server Error in '/' Application.
--------------------------------------------------------------------------------

An error occured: "Object reference not set to an instance of an object."
Please check the file queries.config in folder cmsdesk/metadata/CMS/User.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: An error occured: "Object reference not set to an instance of an object."
Please check the file queries.config in folder cmsdesk/metadata/CMS/User.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Exception: An error occured: "Object reference not set to an instance of an object."
Please check the file queries.config in folder cmsdesk/metadata/CMS/User.]
Kentico.CMS.MetadataEngine.MetadataProvider.EnsureQueries(String applicationName, String className) +1104
Kentico.CMS.MetadataEngine.MetadataProvider.GetQuery(String queryName) +540
Kentico.CMS.DataEngine.GeneralConnection.RunQuery(String queryName, Object[,] params) +37
Kentico.CMS.DataEngine.GeneralConnection.ExecuteQuery(String queryName, Object[,] params) +37
Kentico.CMS.TreeEngine.TreeSecurityProvider.AuthenticateUser(String userName, String password) +197
Kentico.CMS.CMSControls.LogonForm.CheckPassword(Object sender, EventArgs e) +240
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

User avatar
Guest
admin - 2/8/2006 7:04:17 PM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
Hello,

Thank you for your message. Do you use version 1.7a on ASP.NET 2.0? If so, you should switch the web site to ASP.NET 1.1 (you can do this on the web site or virtual directory level, in the Properties dialog -> ASP.NET tab).

Best Regards,

User avatar
Member
Member
davidmohara - 2/8/2006 8:26:18 PM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
Does this mean that the CMSDesk does not support .NET 2.0?? If not, are there plans to update the CMSDesk to utilize 2.0??

User avatar
Guest
admin - 2/11/2006 3:01:43 PM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
David, Kentico CMS supports .NET 2.0 since version Kentico CMS 1.7b.

Best Regards,

User avatar
Member
Member
amiklein - 2/9/2006 8:49:33 AM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
Hi,
Thanks for the quick replay.

I've checked the "ASP.NET" tab, however, I only have the 2 version as an option. What should I do in order to have the 1.1 version be part of the options there.

Can you tell me what CMS version I need in order to have support for .NET 2 ?

Thanks again,

Ami Klein

User avatar
Guest
admin - 2/11/2006 3:02:20 PM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
Hi Ami,

you will need to install .NET Framework 1.1 on your server as well.

Best Regards,

User avatar
Member
Member
davidmohara - 2/14/2006 2:16:22 PM
   
Re: Error while loging in to the CMSDESK running .NET2 framework
I finally got it working (mostly). Thanks for the reply though.