All right, again a quick post on a strange error I saw in Azure Emulator.
We had our ASP.NET MVC Site up and running when we used to run it in standalone mode.
So for Diagnostic purpose , we used Azure Diagnostic features and configured our web role with the settings which were needed to be done as described in article Here. and right after that we started facing the issue in our application which said
Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section
After a long chase, reading few hundred posts on internet there was nothing logical which I could figure unless I came across this similar post.
Solution:
Open Web.config file of your application and check the trace listener's tag , In my case that was missing the filter type attribute.
So the correct tag should be like
We had our ASP.NET MVC Site up and running when we used to run it in standalone mode.
So for Diagnostic purpose , we used Azure Diagnostic features and configured our web role with the settings which were needed to be done as described in article Here. and right after that we started facing the issue in our application which said
Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section
After a long chase, reading few hundred posts on internet there was nothing logical which I could figure unless I came across this similar post.
Solution:
Open Web.config file of your application and check the trace listener's tag , In my case that was missing the filter type attribute.
So the correct tag should be like
<listeners>
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
Microsoft.WindowsAzure.Diagnostics, Version=1.8.0.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
<filter type=""/>
</add>
</listeners>
Hope this helps someone.
No comments:
Post a Comment