Maximum request length exceeded.

If you are using IIS for hosting your application, then the default upload file size is 4MB. To increase it, please use this below section in your web.config – For IIS7 and above, you also need to add the lines below: Note: maxRequestLength is measured in kilobytes maxAllowedContentLength is measured in bytes which is why the values differ in this config … Read more

Root element is missing

Hi this is odd way but try it once Read the file content into a string print the string and check whether you are getting proper XML or not you can use XMLDocument.LoadXML(xmlstring) I try with your code and same XML without adding any XML declaration it works for me As stated by Phil in below … Read more

What is the purpose of global.asax in asp.net

MSDN has an outline of the purpose of the global.asax file. Effectively, global.asax allows you to write code that runs in response to “system level” events, such as the application starting, a session ending, an application error occuring, without having to try and shoe-horn that code into each and every page of your site. You can … Read more

What is jQuery Unobtrusive Validation?

Brad Wilson has a couple great articles on unobtrusive validation and unobtrusive ajax.It is also shown very nicely in this Pluralsight video in the section on ” AJAX and JavaScript”. Basically, it is simply Javascript validation that doesn’t pollute your source code with its own validation code. This is done by making use of data- attributes in HTML.

Could not load file or assembly ‘Microsoft.ReportViewer.WebForms’

This link gave me a clue that I didn’t install a required update (my problemed concerned version nr, v11.0.0.0) ReportViewer 2012 Update ‘Gotcha’ to be aware of I installed the update SQLServer2008R2SP2 I downloaded ReportViewer.msi, which required to have installed Microsoft® System CLR Types for Microsoft® SQL Server® 2012 (look halfway down the page for installer) In the GAC … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)