Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4599922
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:36:37+00:00 2026-05-21T23:36:37+00:00

I have a VB.net application that has been built for awhile. I recently added

  • 0

I have a VB.net application that has been built for awhile. I recently added a barcode in active reports 6 to one of the reports.

everything works fine on my machine as well as others, but a select few get an error relating to the following:

mscorlib – value cannot be null –
parameter name: value

there code is as follows:

Dim rp As New ARPTSpecialOrderCard
CType(rp.Sections("pgDetails").Controls("labelVendorPhone"), DataDynamics.ActiveReports.Label).Text = Me.LabelVendorTelephone.Text
CType(rp.Sections("pgDetails").Controls("labelID"), DataDynamics.ActiveReports.Label).Text = Me.orderid.ToString
CType(rp.Sections("pgDetails").Controls("bcID"), DataDynamics.ActiveReports.Barcode).Text = Me.orderid.ToString
rp.Run()
frmARViewer.Viewer1.Document = rp.Document
frmARViewer.ShowDialog()

Exception text:

> ************** Exception Text ************** System.ArgumentNullException: Value
> cannot be null. Parameter name: value 
> at
> System.Collections.CollectionBase.OnValidate(Object value)    at
> System.Collections.CollectionBase.System.Collections.IList.Add(Object value)    at
> DataDynamics.ActiveReports.Document.FontsCollection.Add(Font inFont)    at
> #f.#iZi.set_Font(Font value)    at
> DataDynamics.ActiveReports.Label.#Pvb(GraphicsCache cache, Page page, PointF pageOffset, Single startPos, Single endPos)    at
> DataDynamics.ActiveReports.ARControl.Render(GraphicsCache gRef, Page page, PointF pageOffset, Single startPos, Single endPos)    at
> DataDynamics.ActiveReports.Section.Render(GraphicsCache cache, Page page, #Ppb drawingLog, PointF pageOffset, Single pageWidth, Single drawStartPos, Single drawEndPos)    at
> DataDynamics.ActiveReports.Section.Render(GraphicsCache cache, #rqb rData, #Ppb drawingLog)    at
> #mb.#mqb.#LDb()    at
> #mb.#mqb.#SDb(Section section, Int32 insPos)    at
> #mb.#vqb.#vEb()    at
> #mb.#vqb.#qEb(Page newPage, Single left, Single top, Single right, Single bottom, UInt32 flags, UInt32& status) at
> DataDynamics.ActiveReports.ActiveReport.#4yb() at
> DataDynamics.ActiveReports.ActiveReport.Run(Boolean syncDocument)    at
> SpecialOrderSystem.soFRMViewOrder.pbPrintPO_Click(Object sender, EventArgs e)    at
> System.Windows.Forms.Control.OnClick(EventArgs e)    at
> System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)  at
> System.Windows.Forms.Control.WndProc(Message& m)    at
> System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    at
> System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Do I need to update the mscorlib.dll on the users machine? I’m not sure why this error is happening.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:36:39+00:00Added an answer on May 21, 2026 at 11:36 pm

    From the stack trace, it appears that you are adding an invalid Font. Ensure that the user has it installed on their machine or select a more guaranteed font.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a c# .NET 2.0 application that has been running on W2K/IIS5 quite
I have a .NET 2.0 application that has recently had contributions that are Service
We have a web application that has been built using MySQL / PHP /
I have a ASP.NET intranet application that has a document library section. The user
I have a TreeView control in my WinForms .NET application that has multiple levels
I'm having a strange problem here... I have an ASP.NET 3.5 application that has
I have an ASP.NET 2.0 application under IIS that has the functionnality of exporting
I have a GridView control in an Asp.net application, that has a <asp:buttonField> of
I have to develop an application using C#.net that has to be run once
I have a .NET 3.5 server application that usually has about 8 clients. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.