rror de compilación
Descripción: Error durante la compilación de un recurso requerido para dar servicio a esta solicitud. Revise los detalles de error específicos siguientes y modifique el código fuente en consecuencia.
Mensaje de error del compilador: BC31498: Length of String constant exceeds current memory limit. Try splitting the string into multiple constants.
Error de código fuente:
Línea 83: Private Function __BuildControl__control2() As Global.System.Web.UI.LiteralControl
Línea 84: Dim __ctrl As Global.System.Web.UI.LiteralControl
Línea 85: __ctrl = New Global.System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<!DOCTYPE html>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<html lang=""en"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&"<!--begin::Head-->"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&"<head><base href="""& _
Línea 86: """/>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"<title>Metronic - the world's #1 selling Bootstrap Admin Theme Ecosystem "& _
Línea 87: "for HTML, VueJS, React, Angular. Laravel, Asp.Net Core, Ruby on Rails, Spring Bo"& _
Hi Mauricio,
Unfortunately, we were not able to reproduce this issue in the latest Metornic version.
Could you please specify which Metronic version are you using?
Also if there are any steps on how to reproduce this please describe them.
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Hi Lauris
The context is the following:
1) create a project "asp.net framework empty "in visual studio 2022
2) add the necessary folders and files of the metronic template
3) create an .aspx page (example index.aspx) and copy all the content of the example page "index.html".
4) Run the project
5) The error sent is generated
PS: Using .aspx pages generates the indicated problem
best regards
Mauricio
Hi Mauricio,
Sorry for the late reply.
Could you please describe what you are trying to achieve?
Probably you can consider using our Asp.Net Starterkit, you can download this Starterkit and other Metronic versions from Metronic Downloads page.
Regards,
Lauris Stepanovs,
Keenthemes Support Team