Click here to Skip to main content
15,915,172 members

Comments by Kumarbs (Top 110 by date)

Kumarbs 30-May-16 5:33am View    
Yes, it is as datetime. But in conversion it is not able to convert as BsonValue
Kumarbs 30-May-16 4:53am View    
Tried that date type also. But got the same serialization exception.

str1.Append("{" + prop.Name + ":{$gt : " + Convert.ToDateTime(prop.GetValue(Model)) + " }}");
Kumarbs 23-Feb-16 3:56am View    
Thank you very much for your inputs.
Again, In what scenario ForbiddenHandlers will be helpful.
Kumarbs 23-Feb-16 0:03am View    
Thank you for your solution. The following code fixed my problem.
<system.webserver>
<modules>
<remove name="UrlAuthorization">
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule">
</add></remove></modules>
</system.webserver>

I have gone through Microsoft support site "https://support.microsoft.com/en-us/kb/815152" provided the solution like below

<system.web>
<httphandlers>
<add verb="*" path="*.doc" type="System.Web.HttpForbiddenHandler">
</add></httphandlers>
</system.web>

But this doesn't solve my problem. Could you have your thoughts on this?
Kumarbs 2-Dec-15 3:46am View    
No Use