LogoLogo
WinForms to WebPowerBuilder to .NETPowerBuilder to Java
  • WebMAP Documentation | Mobilize.Net
  • WinForms
    • Introduction
    • Getting Started
    • Conversion Process
    • Post-Conversion
    • Extend or Modify the Converted Application
      • NoWebMap Forms Winforms
        • How to add a new Form
        • Adding the created form to the migrated App
        • Interacting with the application data
        • Call the custom API
        • Interaction between the no webmap added Form and the WebMap components
      • Adding a component
      • Adding a component dynamically
      • Add a new control model
      • Switching CSS theme
      • Adding new window
      • Conversion Configuration
        • WebMAP configuration file
        • Stub Filter
      • Adding Non-WebMap Angular Forms
      • Adding FrontEnd Handler to a ToolStripMenuItem
      • Changing ToolStripButton icons
      • Adding new items to existing toolbar
      • Adding FrontEnd element properties and JS listeners
      • Adding FrontEnd output handlers
      • Access FrontEnd components
      • Create custom components based on existing WebMap Component
      • Override FrontEnd methods
    • Assessment Mode
    • Errors and Troubleshooting
      • How to resolve broken reference problems with VBUC
    • Portability
    • Glossary
    • Release Notes
    • Internal Demos
    • Known Issues
    • WinForms DCP
  • WebForms
    • Introduction
    • Overview
    • Desktop Compatibility Platform (DCP)
      • Pages and Master Pages
      • GridView and DataList data synchronization
      • HTTP objects
    • Post-Conversion
    • Extend or Modify the Converted Application
      • Adding FrontEnd validator
      • Adding Page
      • Adding MasterPage
    • Designer classes on WebForms Conversion Tool
    • Errors and Troubleshooting
      • How fix Solution when have been added website from filesystem without project file
    • Release Notes
  • PowerBuilder to .Net
    • Introduction
    • Getting Started
      • Conversion Tool
    • Desktop Compatibility Platform (DCP)
      • Data Manager
    • Reports
      • Report Rendering in Modernized Code
      • ReportWatcher Service Configuration
      • Data Manager to RDL Conversion
      • Reporting Service Internals
      • Troubleshooting
  • PowerBuilder to Java
    • Introduction
    • Getting started
    • Post-Conversion
      • Setup PBJava Environment
      • Architecture
      • App Start
    • Glossary
    • Errors
    • Glossary
    • FAQ
      • How to create a new Control
      • How to create a new Screen
      • What is the Mobilize.WebMAP.CoreServices.All?
      • What is the DesignerAttribute?
      • What is the InterceptedAttribute?
      • What is the InterceptedAttribute?
      • What is the ObservableAttribute?
      • What is the Mobilize.Weaving.WebMAPExtensions.All?
  • General
    • FrontEnd
      • Documentation
        • Webforms Angular Components
          • Web Components
            • Base Components
              • BaseValidator Component
            • KendoUI Components
              • CompareValidator
              • CustomValidator
              • RegularExpressionValidator
              • RequiredFieldValidator
              • ValidationSummary
          • Directives
          • AJAX Web Components
            • AjaxCalendar
            • AjaxModalPopupExtender
          • Ajax Interaction Services
        • Client Core
          • WebMap's Client Core
        • Angular Client
          • Introduction
          • WebMap Service
          • WebMap Interceptor Service
        • Base Components
          • Introduction
          • Components
            • Container
            • Control
            • ControlContainer
            • FormsContainer
            • Loading
            • Stub
        • Winforms Angular Components
          • Web Components
            • Base Components
              • Control Component
              • Form Container
              • Grid Component
              • Style
            • KendoUI Components
              • AdoDataControl
              • Button
              • C1TrueDBGrid
              • CheckBox
              • CheckedListBox
              • ComboBox
              • ContextMenuStrip
              • DataGridView
              • DataGridViewFlex
              • DateTimePicker
              • FileDialog
              • GroupBox
              • Label
              • ListBox
              • ListView
              • MaskedTextBox
              • MessageBox
              • NumericUpDown
              • Panel
              • PictureBox
              • PrintDialog
              • ProgressBar
              • RadioButton
              • RichTextBox
              • StatusStrip
              • Stup
              • TabControl
              • TabPage
              • TextBox
              • Timer
              • ToolStrip
              • TreeView
              • WebBrowser
              • Window
            • JQuery Web Components
          • WebMap FrontEnd Architecture
          • Migrated Structure
          • Setup
            • Front-End setup and compilation
            • Components Manual
            • Browser Support
            • Unit Test Manual
            • Development Process
            • Setup AOT/JIT Compilation
          • Decorators
            • Server Event
          • Conventions
            • Application Structure and NgModules
            • Coding
            • Components
            • Data Service
            • Directives
            • Lifecycle hooks
            • Names
            • Services
        • PowerBuilder Kendo Components
          • Base Components
            • base-component
            • column-control
            • controlcontainer
          • Data Manager Componets
            • base-data-manager
            • data-manager-control
            • data-manager-control-base
            • dw-checkbox
            • dw-column
            • dw-complexNumericMaskComponent
            • dw-compute
            • dw-date-time-edit-mask
            • dw-dropdowndatawindow
            • dw-edit
            • dw-edit-mask
            • dw-radio-button
            • dw-simple-numeric-edit-mask
            • dw-string-edit-mask
            • dw-time-edit-mask
          • Window Components
            • basemask
            • graphics
            • w-checkbox
            • w-command-button
            • w-complex-numeric-mask
            • w-date-time-edit-mask
            • w-dropdownlistbox
            • w-group-box
            • w-line
            • w-listbox
            • w-maskedtextbox
            • w-mdiclient
            • w-menu
            • w-multiline
            • w-picture
            • w-picture
            • w-radiobutton
            • w-rectangle
            • w-simple-numeric-edit-mask
            • w-single-line-edit
            • w-statictext
            • w-string-edit-mask
            • w-time-edit-mask
            • w-toolbar
            • w-toolbaritem
            • w-user-object
            • w-window
          • Services
            • DmInteractionService
          • DataManagerEvents
          • FocusManager guide
      • Api Documentation
        • WebMap Silverlight
        • WfNetC1Components
        • WebFormsComponents
      • Guides
        • Setup NPM package registry in the workspace
        • How to Setup WebMap Applications To Run Over SubDomains or WebApplications In IIS
        • Deploy several WebMap Apps in the same Server
        • Update to Angular 16
        • Appearance
          • How to change the CSS
          • How to override the style for a component
        • Component maintenance
          • How link WebMap package to the migrated Application
          • How to resolve broken reference problems with VBUC
          • How to test a local WebMap Components package
          • How to add a new component in a migrated application
          • How to update a component
          • Dynamic Control Support
          • How to add new set of component with a different provider
          • How to test your component in the playground
          • Tools
        • WMLogger
          • How to use the WMLogger's instance
          • How to change log's level
          • How to add log tags
        • Integration test
        • Setup WebMap Applications to Run Front-End And Back-End In Separates Sites
          • Setup WebMap Applications To Run Front-End And Back-End In Separates Sites in Production (IIS)
        • Setup Migrated WebMap Applications To Run Front-end & Back-end In Separates Sites (Only development)
        • Initial Set Up
          • Software to Install
          • Necessary Repositories
      • Errors
      • Version Notes
        • Client Core
        • Angular Client
        • Web Base Components
        • Winforms Angular Components
        • PowerBuilder Kendo Components
      • Licenses
        • Client Core
        • Angular Client
        • Base Components
        • PB Kendo Components
        • WFNet Kendo Components
        • WebForms Components
        • WFNet Access Components
        • WFNet Janus Components
        • WFNet C1 Components
        • Silverlight wms-framework
        • Silverlight i-components
    • BackEnd
      • WebMAP From Scratch
      • Setup
      • DCP: Desktop Compatibly Platform
        • Overview
        • Library Bundles
          • Bundle Library
            • Create an Observable Object
          • Bundle DTO
            • DTO: Data Transfer Objects
              • Creating a DTO
            • Mappers
              • Create Mappers
            • Observable Wrappers
              • Create an Observable Wrapper
            • API/Controllers
      • Architecture
      • Weaving on WebMAP
      • Glossary
      • FAQ
        • How to create a new Control
        • How to create a new Screen
        • What is the Mobilize.WebMAP.CoreServices.All?
        • What is the DesignerAttribute?
        • What is the InterceptedAttribute?
        • What is the Mobilize.Extensions.Logging.RollingFile?
        • What is the ObservableAttribute?
        • What is the Mobilize.Weaving.WebMAPExtensions.All?
      • Licenses
        • PBNet DCP
        • WebFormsDCP
        • WFNet DCP
        • CoreServices
        • CoreServicesCommon
    • Request and Response
  • SCALABILITY
    • Introduction
    • Microservices
    • Containerizing a WebMap .Net Application with Docker
    • Vertical scalability
Powered by GitBook
On this page
  • Log Folder
  • Conversion Process Errors
  • Converter Stopped
  • Converter Unexpected Error
  • Converted Application Errors
  • Stubs Generation
  • Conversion Differences

Was this helpful?

  1. WinForms

Errors and Troubleshooting

WebMAP: WinForms to Web is a tool designed to convert .NET Framework apps based on C# and Windows Forms to a modern web architecture. WebMAP WinForms Errors and Troubleshooting documentation.

PreviousAssessment ModeNextHow to resolve broken reference problems with VBUC

Last updated 1 year ago

Was this helpful?

Handling and fixing errors is important in order to have a better conversion performance and output compilation. Because of that, the most common errors will be detailed here for your information. In case the error you're experiencing is not listed here, please contact .

Log Folder

When a conversion is finished the log folder generated will contain the following:

  • ConversionLog: general messages of the conversion process used to inform about the internal steps of the tool.

  • ErrorLog: in case of an error, the errorLog file will be generated containing a summary of what went wrong.

The message of the logs is divided into four categories:

Information: messages detailing the steps of the conversion and are not considered errors.

Warning: we are confident the code as a whole was converted and will compile, however, some steps of conversion encountered some minor problems.

Error: an error indicates that an entire object could not be converted due to problems such as pending support for the object or original code not processed.

Critical: critical errors translate to WebMAP: WinForms to Web stopping the conversion and leading you to the log folder. Some examples of cases where this would happen are missing dependencies, requirements, or corrupt files of either the conversion tool or the input solution.

Conversion Process Errors

Converter Stopped

These are errors that would affect the conversion process, that is, if they are found, they would completely stop the operation of the application and then show an error on the screen.

While running the conversion of the original code an error may pop and display the following screen:

The cause of the error may vary but the likelihood is that WebMAP couldn't read or process a critical file in the input solution. For this reason, the first action to take is to open the input solution and make sure it can compile.

Un-compiled Input Solution

If you find the error "Critical: MSBuild error NETSDK1004" in the errorLog.log followed by:

Error Code

Message

WFMAP0028

Error while executing PreProcessConversionTask for solution {0}. Message: {1} Stack Trace: {2}

To so solve the problem, make sure the input solution can be compiled in the same machine where WebMAP: WinForms to Web is located.

Cannot Read the Solution Properly

The error WFMAP0013 and WFMAP0048 are causes for this to occur and thus you should check the validity of the projects indicated in the message. For the WFMAP0054 error please insert a shorter path.

Error Code

Message

WFMAP0013

Cannot convert projects with extension {0}. Please remove the project with extension {0} from the solution you want to convert and try it again.

WFMAP0048

Cannot find the project with the following name: {0}, Please ensure your cache is clean to avoid automatic project fulfill

WFMAP0054

One of the specified paths in the parameters is too long, please consider shortening the path or moving to a higher level directory.

WebMAP Without Internet Connection

WebMAP: WinForm to Web requires some resources obtained via the internet, please check your connection if any of the following errors:

Error Code

Message

WFMAP0001

Error loading required fundamental conversion services

WFMAP0017

Error loading required binaries in order to start the conversion process.\nPlease contact support for help giving this message: {0}

WFMAP0043

Error during the loading assemblies, the following message was thrown: {0}

Configuration File Wrongly Set

The error.log will show a similar error indicating the line of the file with the problem:

Error Code

Message

No Code

Error: Config file could not be loadded.System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 148, position 85.

Converter Unexpected Error

Incorrect Packages

If the configuration file was added as part of the optional settings and the following error appears, it is caused for specifying a bad set of packages resulting in missed dependencies or the tool not connecting to the necessary source.

Error Code

Message

WFMAP0055

No maps were deployed, please check the compatibility-platforms packages in configuration file.

WFMAP0056

No valid feeds specified, please check package-sources in configuration file.

WFMAP0057

No package libraries were deployed, please check the packages libraries in configuration file.

Tool Corruption

These types of errors are related to unexpected malfunctions of the tools such as the corruption of the installation folder, the procedure to correct them is to reinstall the application. If this happens, WebMAP will write in the logs the following errors:

Error Code

Message

WFMAP0001

Error loading required fundamental conversion services

WFMAP0050

One or more errors ocurred during the execution of the conversion, please check the log for further information

WFMAP0051

An unexpected error was found during the conversion process, the following message was found: {0}

Converted Application Errors

This section is related to errors that might affect the output code during the conversion of the solution, the effect of this error goes from not converting property of a class to not generate entire parts of the code.

Stubs Generation

To address these problems WebMAP: WinForms to Web has the stub generation mechanism that consists of generating an empty template for every component not implement with the intention of avoiding compilation error and the output code could compile and run.

All stubs will be located inside the project Stubs in the converted app.

The generation of the stub itself in rear occasions might fail and it will display some of the following errors:

Error Code

Message

WFMAP0010

Cannot generate stub for the type {0}. \nPlease contact support with the error '{1}' and the stack {2}

WFMAP0011

Cannot generate stub because of an internal error. \nPlease contact support with the error '{0}' and the stack {1}

WFMAP0030

Error when trying to stub type. Error typename {0}, message {1}

Conversion Differences

The following errors are related to specific parts of the solution and in most cases, they will need assistance to ensure the full conversion of the input code to WebMAP: WinForms to Web.

Convert Classes

Conversion of the C# classes:

Error Code

Message

WFMAP0007

Error writing project {0}

WFMAP0015

Error transforming the C# classes. \nAn error occurred transforming {0} due to exception with message '{1}'. StackTrace: {2}

Convert FrontEnd

Conversion of the Forms to Angular components:

Error Code

Message

WFMAP0006

Error generating the image {0} of the class {1}.

WFMAP0005

Error generating HTML and CSS for {0} form in the project {1}

WFMAP0018

Error generating front-end files: \n{0} could not be generated.

WFMAP0019

WFMAP0019: Error generating {0}'s CSS, HTML, TypeScript or resources. \n Please contact support with the message '{1}' and Stack {2}"

This error occurs when the configuration XML file called webmap.config has an invalid segment, the most common reason for this to happen is that the <API_KEY> was badly set, to fix it follow these .

This configuration is only available to costume the conversion to your needs, please contact for further information related to this problem.

If the error persists after the reinstallation, please contact for further information related to this problem.

Conversion issues may arise while executing the output application and manual work might be needed, the most common causes are WebMAP no having implemented a certain WinForms component or for the solution having a very particular implementation related to the business needs of the client. Please contact to assist you.

As has been mentioned previously in this article, please reach out to us if you need more support. Mobilize.Net wants to be your partner in the conversion process, so let us know how we can help. You can email us at or post a message to our forums. If you have a contract for support with Mobilize.Net, reach out to your sales engineer and they can direct your support needs.

support@mobilize.net
support@mobilize.net
support@mobilize.net
support@mobilize.net
support@mobilize.net
steps
Conversion Stoppped
WebMAP Stopped
Stub project