[Mono-aspnet-list] ContentPlaceHolder problem

eslindsey eslindsey at gmail.com
Thu Dec 10 02:49:57 UTC 2015


I'm transferring an ASP.NET web site from an IIS server to an Apache server
running Mono. I'm having trouble with the master pages--specifically, the
ContentPlaceHolders. It seems that the source code is getting garbled, and
it repeats portions that it shouldn't, resulting in an unusable webpage. In
my troubleshooting, I tried converting the line endings to UNIX, and also
removing the UTF-8 BOM. 

Fresh install on Debian using apt-get install libapache2-mod-mono. 

Source code on IIS Server: 
MasterPage.master: http://pastebin.com/NyypVV8v
Default.aspx: http://pastebin.com/QhiFmWu1

Source code on Apache Server with Mono (only differences should be the ones
mentioned above): 
MasterPage.master:
https://mega.co.nz/#!u4dUTZDZ!9Xmye97duV_ndvxFdT1RitJnnLWMBQFMArQLdIg1uCM
Default.aspx:
https://mega.co.nz/#!HgURCJpA!QK7TAFLa_qFKjKz6QPcafqws5aiyMUjLBGfWr3oSnXw

Expected result: http://projects.fgcu.edu/webdev/2015/elindsey/project/
Actual result: http://www.mcvsoft.com/

Thanks in advance for any help you can give!



--
View this message in context: http://mono.1490590.n4.nabble.com/ContentPlaceHolder-problem-tp4667128.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list