[mono-vb] Help with code blocks inside html tags in .Aspx files

Rolf Bjarne Kvinge rolflists at ya.com
Fri Jun 6 18:47:36 EDT 2008


Hi,

> I have no problems running the application on windows, but on mono
> every code block inside a tag causes an error:
> 
> Description: Error compiling a resource required to service this
> request.
> Review your source file and modify it to fix this error.
> 
> Compiler Error Message:
> /tmp/root-temp-aspnet-0/da6ebdb7/App_Web_12e5d8ea_1.vb(191,1) : error
> VBNC30037: Symbol is not valid.
> /tmp/root-temp-aspnet-0/da6ebdb7/App_Web_12e5d8ea_1.vb(204,1) : error
> VBNC30037: Symbol is not valid.
> /tmp/root-temp-aspnet-0/da6ebdb7/App_Web_12e5d8ea_1.vb(212,1) : error
> VBNC30037: Symbol is not valid.
> 
> Source Error:
> 
> Line 189:
> #ExternalSource(/srv/www/htdocs/payswitch/PFCLIENT/Default.aspx, 11)
> Line 190:
> __output.Write(""&Microsoft.VisualBasic.ChrW(10)&"
> "&Microsoft.VisualBasic.ChrW(10)&"    <div id=""H")
> Line 191:             #End ExternalSource
> Line 192:
> Line 193:             #ExternalSource(@@inner_string@@, 1)
> 

Which version of mono are you using? 

This should be fixed in newer versions, it is in 1.9 for sure, might be in slightly older versions too (can't remember exactly when I fixed it).

Rolf

> 
> if I remove the code blocks located inside tags, the application runs
> ok,
> any other way produces this error.
> 
> The problem is that in the actual application I'm working on this is is
> used
> heavily, so I would like to know if there's any way to work around this
> problem.
> 
> Any suggestions or ideas are very welcome!
> 
> Thanks in advance for your time and cooperation,
> Alberto León
> 
> 
> --
> View this message in context: http://www.nabble.com/Help-with-code-
> blocks-inside-html-tags-in-.Aspx-files-tp17679428p17679428.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 270.0.0/1484 - Release Date:
> 04/06/2008 16:40



More information about the Mono-vb mailing list