Tag Archives: web.config

Increasing the Maximum Upload Size

The 4MB default is set in machine.config, but you can override it in your web.config. For instance, to expand the upload limit to 20MB, you’d do this: <system.web>   <httpRuntime executionTimeout=”240″ maxRequestLength=”20480″ /> </system.web>

Posted in Databases, Programming, SQL-Server, VB.NET | Tagged , , , , | Leave a comment

Error 7 It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.

PROBLEM: Error 7 It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. D:\lawsDB\laws\news\web.config 83  SOLUTION: There was two web.config files, one in … Continue reading

Posted in Programming, VB.NET | Tagged , , | Leave a comment