MetaBase.xml Request object error 'ASP 0104 : 80004005' Operation not Allowed / Error ’80020009’ Exception occurred

Folks, hear me now.. And you shall be deemed from the sak-es world of winblows.. haih~!

So this morning an email came in requesting for editing te max upload filesize limit in IIS.. by default iis allow only max 200kB.

So, how o i edit it? Wel.. first googling around, i came to this hit which tells me to edit the c:\Windows\System32\Ientsrv\MetaBase.xml file, change the approriate valur, stop IIS then save the xml file, then re-u IIS and everything would be settled for. I found it here. That stupid 'simple' lottle guide had cost me 60000 heart-pounding/sec moment. demkit! A whole semi-dedicated server was down! Urghhhhhh! >__<

and theres also here and here but dude! seriously. DONT! trust me. >.<

So, whats the correct way? Well, still an easy one, http://www.eukhost.com/forums/f15/increase-file-upload-size-asp-asp-net-9378/ or here well, why? first, its not involve you stopping IIS, second, it directsly edit the 'running' config, means its beaing applied straugt away.. no open-file-edit-save-file-restart-iis involved. heres the code for anyone's reference:

C:\Inetpub\AdminScripts\cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size

thats to 'set' the size, how to get the current one? easy, replac it with 'get'

and how to save it to applied configurations? easy, iisreset. haha

some extra ref : here

//alak

Comments

Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread