We recently copied some DLL files from server 2003 to our new server that's a 2012 machine because the DLL files for Infragistics are not installed. Is this the correct approach or should an upgrade be considered? If so why?
Scott,
I am assuming that you are moving the deployment of a web application from Windows Server 2003 to Windows Server 2012 and if so, this should work fine as long as the version of the .NET framework that you are targeting is on the newer server. Note that many of our older assemblies wouldn't have been tested in the newer environment if it is newer than the assemblies and there have been a few bugs that have been address that are OS or Framework specific over the years so you will need to test your application on the new server as well when you move it.
If you do have issues, knowing what the specific issue is and what version you are using will help us to provide better guidance on the best approach to resolve the issue.
Let me know if you have any questions with this matter.
Attached an error page we are seeing. Also seen this message previously before turning on debug to show errors when hitting the website URL it throws this message.
"Object reference not set to an instance of an object.There was an error processing your request. To report this issue, please copy the error message and the complete URL for this page and paste it into an email with a brief description of what you were attempting to do."
The message "Object reference not set to an instance of an object" is from a NullReferenceException and there should be a stack trace with the exception that should help you debug the what is happening. Having the stack trace and the version of the Infragistics assemblies you are using will help me to advise on next steps.
Note that I didn't see an attachment with your post.
Apologies.. Here is the output
Thread information:
Thread ID: 3
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.ResolveRowLabelStyle(UltraGridRow row)
at Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderRowLabelStyleClass(UltraGridRow row)
at Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderColumnsFooters(RowsCollection rows)
at Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderTable(RowsCollection rows)
at Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderTableFrame()
at Infragistics.WebUI.UltraWebGrid.RenderDHTMLGrid.VisitObjects(HtmlTextWriter output)
at Infragistics.WebUI.Shared.RendererBase.Render(HtmlTextWriter output)
at Infragistics.WebUI.UltraWebGrid.GridRendererBase.Render(HtmlTextWriter output)
at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
at Infragistics.WebUI.WebControls.WebPanelBase.RenderContents(HtmlTextWriter writer)
at Infragistics.WebUI.Misc.RenderUpLevelGroupBox.VisitObjects(HtmlTextWriter writer)
at Infragistics.WebUI.Misc.WebGroupBox.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
The exception is happening when rendering the UltraWebGrid and I would expect this behavior to be the same regardless what server the application is running on. To look into what is happening I would need a sample that reproduces the issue that can be debugged. If you have access to the source code for the application that you are moving from one server to the other, can you reproduce the issue in your development environment?
I also looked at the source code for ResolveRowLabelStyle and for a NullReferenceException to occur in this method I believe either the row passed into the method or the Band the row is associated with would need to be null though I wouldn't expect this in any scenario nor have I seen this specific exception before.
Some things to keep in mind as you test this: