Strange behaviors

Topics: ASP.NET 2.0
Mar 3, 2009 at 5:25 PM
My blog was running just fine, but one day my host provider did a maintenance and since I have some problems with blogengine. And I don't find what is the cause ?

First when I trie to write a new post or a page, I get:

��`I�%&/m�{J�J��t��`$ؐ@�������iG#)�*��eVe]f@�흼��{����{����;�N'���?\fdl��J�ɞ!���?~|?"��Ey�')=��y6�����h���x:͛&m�����*k�������&��߷�g�*�׿��mW�j���ǫ���4k��w�]���{�����d���dg������O�'�<��?���?8��Yv�nQ~�M:˗E>?�+]{�4�u�A:�f��/>����y�(��G�d^ϲe��!z���Ѳ�Y)5��G��A�8�VeU?������/I=����Yd�E��n�գt����/�q��IU�n �ۻ�/No�������N�|� ��&�} �0��euU���?_O�Y��T˦*s�3�0_�/� �ۼV�@ʄJ��TH�����Y>���-���tY-���%�+}��b}��ή�y]Wԗ�}R�m�x�����uڽ[e�Y6)idi���r��eA��>�>�����~_��1'P�>���Y��]J���~r��>��j^��G�[ �!�{��u^Ӹ�SY�L?��qJ�YS�v�x^�WŬ��������v�Ϛ��w��%8��{G����F7G �a��������4�������Q�휆�ҠG���2�������ٲ�~�_�ˬ��"���4B��Q�4o�u��z|wrt�L�K�_I������]ZMij!\�u],/�2��|��o��nBh^哴��:o�q��̳&��/����5-qw��4b�:]T$N��2���I�n� �c�&���hզU]'g-�Bs��V�|��2�?6�S;��y�e#C}ݴ�b��2[�s���LX������o����~9~q��-�6uh�L1���L{��Λj]O�1k���*b�b ���lGd^0�.dJ ���zl��gM�������i�n��+bв$����ɷ�^���ߗ^�{D�����}���E�^U���]P��ݧw���x��4��f��uC�b�� ��-hd�4=�� Z��E��²=�غ���~�/ZW�a[�s���/�hG Զ�*�2������E�fLk�g_�~����_qz�Wh�iʼl�׽)SɄYr�i� Oϋ2�nOi�o.>�h��[���I L�UE�##yYW4̶�������|*"�������lBl�`���l�����̐��Fjsz�֫q�mB�r'����q��y�XO�wy������ю7�kaW6� �Ò߲u�,�59?~N�t ���/���sߩ�|�t�����9��t���G?�c?-0~����,�|]�Ƨ�U{}h���<��ge/�����G �uv�oݡw�EK���# �5}�7+�|�*�1����*/��/sj�v��z�B�oݹs��.0~|���OGv76l��K$�ĎLX\#�,>#�]��oP��lQ,ߗ�Q��q֬ލ� @����Yʿ)ȡ�~����B����'O}��mF����Zг/ǿ���9�n�<���:[���Ģ��`�[a�K��$�.˗����������k� yF-�vK_��F�7_Lr%* D��R�\l�(}R���-��^�G �HC� �5oL���y���,M�d7i%?i�'_�:{�����o޼:{�՛�פM��m[7n���KF�t<yvw />��q�p�������||BFgLc���Ѡ|i>��#6l!�[�'�݁�:y��>����Ɔ������"�5��U�:���fo�Y^��?Y4��$:�gE������}���&m���Ndx譖���%)���uC7��ꢘ���ߗ�5�f�6���0D|�������#J۽?02� (���5�@�н�wE״~B>��7�j57�#�#���۹ �b��߅��C�;��ߟ���gK1��K ��������v@�`��^N�5� ��e�������d��~P@��UIҷ���r��R��%�t��_eE����� �~�a�a��� r�v �g�os�]�O��^Y4"0����)��8�:���D�dV� j��֊Z@{�{���a��X���=_d�r��b9-�3�`�'9��qs������f������q�������ڛsP��'5�w��!��7�E1���:oS���D{���G{�����{��v�ڐ+�}� &lV�.�rG ��������f���?'Χh���p?����xn�7�uvz���N���.'r�������Uדh�������2������ WT���̓��K�C�~i�s�� ��������~�����~��i��o�;�]?�rN7��Y�MɅ�6q�Wf�������ԮWy���`���ӫ ?uu���B������~�X��C�[��s����~�h�/�ㆍ� |L�������C��6<z�u���_vh��u7}��^�yuej���|m8��^�8��}� VU���6������uU���l�A6��������&�٧����~������z~="���*Jkn:�|��ܟЊ���S�����W����s������u_նxo+Ck��ʲ�/$" />Ұ�͜Y�Ƭ� ^��Ij`y��.�B�$�fdx,q �p^\�kY�m��UJ���w|A��YOa/xs�n�j��ݰw��G_���k��������wM^勪Ϳ\��ڔƵ���Z4k��,�2�����

Secondly, I can't use windows live writer, because of metaweblog.axd, I get: 

L'URL unvailablea :http://sharpe.fr/metaweblog.axd
The server returned error : (404) not found.

Do you have an idea ?

Thanks

Coordinator
Mar 3, 2009 at 5:57 PM
It looks like your blog is on an IIS7 server.  Do you happen to know if it's running in an integrated mode app pool or a classic mode app pool?

I can see that there's also a 404 error for the js.axd file handler:
http://sharpe.fr/js.axd?path=%2fblog.js&v=1.4.5.0

The garbarge characters you're getting and the 404 errors are most likely all related.

Do you have a <system.webServer> section in your web.config file?  The <system.webServer> section is needed if you're on an IIS7 server.  If you're using the web.config file that came with BE 1.4.5, then you probably don't have a <system.webServer> section in your web.config file.

If you don't already have this section in your web.config file, then try adding the <system.webServer> section I posted here into your web.config file.  You would want to insert that section right before the closing </configuration> tag at the bottom of the web.config file.  If you do already have a <system.webServer> section in your web.config file, then try replacing it with the one at that link to see if it makes a difference.
Mar 3, 2009 at 6:21 PM
I didn't find if it was an integrated or classic app pool, I'm hosted at ikoula !

I changed the <system.webServer> section, with the link you gave, but still not working. But with win live writer, I get an different error:  Access to the path 'F:\users\sharpe.fr\httpdocs\App_Data\posts\1464e4e6-a0a5-4200-9516-74cd787d24c0.xml' is denied.

I had this in my web.config file:

<

 

system.webServer>

 

<

 

modules>

 

<

 

remove name="Profile" />

 

<

 

remove name="AnonymousIdentification" />

 

<

 

add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core" preCondition="managedHandler" />

 

<

 

add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core" preCondition="managedHandler" />

 

<

 

add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core" preCondition="managedHandler" />

 

<

 

add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule, BlogEngine.Core" preCondition="managedHandler" />

 

</

 

modules>

 

<

 

handlers>

 

//Some more before

 

<

 

add name="Plesk_Handler_0350594039" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />

 

<

 

add name="Plesk_Handler_0350594053" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />

 

<

 

add name="Plesk_Handler_0350594068" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />

 

<

 

add name="Plesk_Handler_0350594082" path="blogml.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594095" path="monster.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594113" path="opml.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594134" path="rating.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594150" path="js.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594166" path="css.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594182" path="rsd.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594199" path="metaweblog.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594214" path="opensearch.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594231" path="pingback.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594246" path="trackback.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594262" path="sitemap.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594280" path="syndication.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594294" path="image.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594310" path="file.axd" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594326" path="*.rules" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594342" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594360" path="*.xoml" verb="*" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594376" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594392" path="paybox" verb="*" modules="CgiModule" scriptProcessor="c:\paybox.exe" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594409" path="trace.axd" verb="GET,HEAD,POST,DEBUG" modules="ManagedPipelineHandler" resourceType="File" />

 

<

 

add name="Plesk_Handler_0350594426" path="WebAdmin.axd" verb="GET,DEBUG" modules="ManagedPipelineHandler" resourceType="File" />

 

 

 

  //Some more after

 

Coordinator
Mar 3, 2009 at 6:26 PM
Edited Mar 3, 2009 at 6:27 PM
The good thing is that your blog seems to be working a lot better now.  No more 404 errors and no more garbage characters.

I don't think any more changes to the web.config file need to be made.

The access denied error is probably because you need to give "write" permissions to the App_Data folder for the ASPNET user.  Usually web hosters have a control panel where you can control folder/file permissions.  See if you can find something like that.

EDIT: Here's some information on write permissions.
Mar 3, 2009 at 6:26 PM
For the full web config file, you can find it here: http://www.sharpe.fr/MyFiles/web-backup.xml 
Mar 3, 2009 at 6:29 PM
Thanks, it work, I change the permissions for App_Data