Replies: 1 comment
-
Hi @mrgg2405
*) the one caveat being that the config-file is placed next to the executable in the bin folder but then you need to take the entire bin folder anyway. Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi CoreForms Team,
I'm working on the migration of ASP.NET webform project to NETCore. As of now, I have successfully migrated the web forms with the help of CoreForms. When I was trying to publish the project and deploy it to local IIS, I encountered some issues:
Server Error in '/' Application.
'vb' is not a supported language.
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.Web.HttpException: 'vb' is not a supported language.
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:
[HttpException (0x80004005): 'vb' is not a supported language.]
System.Web.Configuration.CompilationSection.GetCompilerInfoFromLanguage(String language) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Configuration\CompilationSection.cs:642
System.Web.Compilation.CompilationUtil.GetDefaultLanguageCompilerInfo(CompilationSection compConfig, VirtualPath configPath) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\CompilationUtil.cs:86
System.Web.UI.TemplateParser.HandlePostParse() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\TemplateParser.cs:1244
System.Web.UI.TemplateControlParser.HandlePostParse() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\TemplateControlParser.cs:298
System.Web.UI.PageParser.HandlePostParse() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\PageParser.cs:212
System.Web.UI.TemplateParser.Parse() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\TemplateParser.cs:689
System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\TemplateParser.cs:670
System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BaseTemplateBuildProvider.cs:84
System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildProvider.cs:412
System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildProvidersCompiler.cs:116
System.Web.Compilation.BuildProvidersCompiler.PerformBuild() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildProvidersCompiler.cs:208
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:1710
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:1636
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:1555
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:3192
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:3160
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\Compilation\BuildManager.cs:3135
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\PageHandlerFactory.cs:62
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\UI\PageHandlerFactory.cs:54
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\HttpApplication.cs:1308
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\HttpApplication.cs:2829
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\HttpApplication.cs:2040
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) in C:\Build\a6d07cf9277dedfe\src\CoreForms.Web\HttpApplication.cs:2064
Version Information: .NET 7.0.19 / CoreForms 7.0.0-alpha+.Sha.86dc442252ca2db23998937356a7de8159530ac7
I haven't found any document regarding how to publish the migrated project, so I hope I can get some guidelines of how to do (especially for ASPX pages) from the team. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions