Creating a Company in Vendor Maintenance

When you create a new company in vendor maintenance in the desktop then go to Nexxhub admin under manage companies and search for that new company you get the following error. we need this flow over correctly from desktop
Server Error in '/' Application.

Unable to cast object of type 'System.DBNull' to type 'System.String'.

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.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.

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:

[InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.]
Nexxus.Web.Profile.CompanyDetailsRow.get_CycleType() +101

[StrongTypingException: The value for column 'CycleType' in table 'CompanyDetails' is DBNull.]
Nexxus.Web.Profile.CompanyDetailsRow.get_CycleType() +199
WebApplicationNexxusUser.Account.ManageCompanies.BindCompanyData(Int32 companyID) +514
WebApplicationNexxusUser.Account.ManageCompanies.CompanyList_SelectedIndexChanged(Object sender, EventArgs e) +446
DevExpress.Web.ASPxWebControl.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +327
System.Web.UI.Page.RaiseChangedEvents() +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3572

Statement from Kunagi Team

This is not related to Kunagi. Issue posted on wrong site?


Issue is closed.


Post a comment