metabase.xml appears blank x64 IIS 6 and 7
metabase.xml appears blank x64 IIS 6 and 7
am 07.04.2008 06:57:49 von Kal
I have two x64 workstations, one running Vista 64 and the other XP 64. Both
are used for programming and web site development using Visual Studio.
One application requires large file uploads via http and I attempted to
modify the metabase max size parameter to make this possible. I have done it
before on Windows Server 2003 without much of a problem.
First I tried it on Vista; Windows\system32\inetsrv where I found the file,
right clicked it, and got a message saying the file does not exist would I
like to create it? File size showed 44K as I recall.So I stopped IIS and
tried again and the file opened fine, but was empty.
Thinking it was some part of Vista I did not understand I tried it on the XP
box with the same result.
Whats up with this?
Kal
Re: metabase.xml appears blank x64 IIS 6 and 7
am 07.04.2008 07:53:07 von Ken Schaefer
Hi.
IIS 7.0 on Vista does not use metabase.xml - edit applicationHost.config or
web.config instead.
When editing metabase on x64, you need to use a 64bit editor (e.g. 64bit
Notepad). If you use a 32bit editor, you get transparently redirected to the
SysWOW64 folder
Cheers
Ken
--
My IIS blog: http://adopenstatic.com/blog
"Kal" wrote in message
news:ujPeuvGmIHA.1280@TK2MSFTNGP05.phx.gbl...
>I have two x64 workstations, one running Vista 64 and the other XP 64. Both
>are used for programming and web site development using Visual Studio.
>
> One application requires large file uploads via http and I attempted to
> modify the metabase max size parameter to make this possible. I have done
> it before on Windows Server 2003 without much of a problem.
>
> First I tried it on Vista; Windows\system32\inetsrv where I found the
> file, right clicked it, and got a message saying the file does not exist
> would I like to create it? File size showed 44K as I recall.So I stopped
> IIS and tried again and the file opened fine, but was empty.
>
> Thinking it was some part of Vista I did not understand I tried it on the
> XP box with the same result.
>
> Whats up with this?
>
> Kal
Re: metabase.xml appears blank x64 IIS 6 and 7
am 07.04.2008 09:44:38 von Kal
Thanks,
Notepad works, but in XP I was unable to save the file without renaming it,
even with IIS stopped and/or with Edit Enabled. I did not try to save the
Vista version as I did not change it.
By the way, I had found the applicationHost.config change, but it would not
open either without that 64 bit editor.
Kal
"Ken Schaefer" wrote in message
news:OnerpOHmIHA.1188@TK2MSFTNGP04.phx.gbl...
> Hi.
>
> IIS 7.0 on Vista does not use metabase.xml - edit applicationHost.config
> or web.config instead.
>
> When editing metabase on x64, you need to use a 64bit editor (e.g. 64bit
> Notepad). If you use a 32bit editor, you get transparently redirected to
> the SysWOW64 folder
>
> Cheers
> Ken
>
> --
> My IIS blog: http://adopenstatic.com/blog
>
>
> "Kal" wrote in message
> news:ujPeuvGmIHA.1280@TK2MSFTNGP05.phx.gbl...
>>I have two x64 workstations, one running Vista 64 and the other XP 64.
>>Both are used for programming and web site development using Visual
>>Studio.
>>
>> One application requires large file uploads via http and I attempted to
>> modify the metabase max size parameter to make this possible. I have done
>> it before on Windows Server 2003 without much of a problem.
>>
>> First I tried it on Vista; Windows\system32\inetsrv where I found the
>> file, right clicked it, and got a message saying the file does not exist
>> would I like to create it? File size showed 44K as I recall.So I stopped
>> IIS and tried again and the file opened fine, but was empty.
>>
>> Thinking it was some part of Vista I did not understand I tried it on the
>> XP box with the same result.
>>
>> Whats up with this?
>>
>> Kal
>
Re: metabase.xml appears blank x64 IIS 6 and 7
am 07.04.2008 12:07:05 von David Wang
> Notepad works, but in XP I was unable to save the file without renaming it,
> even with IIS stopped and/or with Edit Enabled. I did not try to save the
> Vista version as I did not change it.
If you do everything as you do on Windows Server 2003, it will work on
XP Pro 64bit. And also on Vista 64bit assuming you configured it to be
apples-to-apples.
Please define "IIS stopped". What exact Windows Service name(s) did
you stop.
Please clarify how you enabled "Edit while running". If you don't do
it right, it doesn't work the way you think, and the failed behavior
is by-design.
metabase.xml has no relevance on Vista unless IIS6 Metabase
Compatibility is installed.
> By the way, I had found the applicationHost.config change, but it would not
> open either without that 64 bit editor.
That is by design for all 64bit Windows ever since XP Pro 64bit and
WS03 64bit. You simply cannot edit anything in System32 folder (which
includes IIS6/7 metabase.xml and applicationHost.config files) without
using a 64bit editor.
> Kal
>
> "Ken Schaefer" wrote in message
>
> news:OnerpOHmIHA.1188@TK2MSFTNGP04.phx.gbl...
>
>
>
> > Hi.
>
> > IIS 7.0 on Vista does not use metabase.xml - edit applicationHost.config
> > or web.config instead.
>
> > When editing metabase on x64, you need to use a 64bit editor (e.g. 64bit
> > Notepad). If you use a 32bit editor, you get transparently redirected to
> > the SysWOW64 folder
>
> > Cheers
> > Ken
>
> > --
> > My IIS blog:http://adopenstatic.com/blog
>
> > "Kal" wrote in message
> >news:ujPeuvGmIHA.1280@TK2MSFTNGP05.phx.gbl...
> >>I have two x64 workstations, one running Vista 64 and the other XP 64.
> >>Both are used for programming and web site development using Visual
> >>Studio.
>
> >> One application requires large file uploads via http and I attempted to
> >> modify the metabase max size parameter to make this possible. I have done
> >> it before on Windows Server 2003 without much of a problem.
>
> >> First I tried it on Vista; Windows\system32\inetsrv where I found the
> >> file, right clicked it, and got a message saying the file does not exist
> >> would I like to create it? File size showed 44K as I recall.So I stopped
> >> IIS and tried again and the file opened fine, but was empty.
>
> >> Thinking it was some part of Vista I did not understand I tried it on the
> >> XP box with the same result.
>
> >> Whats up with this?
>
> >> Kal- Hide quoted text -
>
> - Show quoted text -
Re: metabase.xml appears blank x64 IIS 6 and 7
am 07.04.2008 12:37:49 von wjzhang
Hi Kal,
I assume the property you are referring is MaxRequestEntityAllowed. Please
correct me if I misunderstand on this.
The issue you faced on the XP box is most likely that Direct Metabase Edit
option hasn't been enabled yet. Anyway you can use Metabase Explorer tool
in IIS6 reskit tools to edit IIS metabase on the x64 XP machine.
Internet Information Services (IIS) 6.0 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=56F C92EE-A71A-4C73-
B628-ADE629C89499&displaylang=en#Overview
On IIS 7.0, open the applicationHost.config under
\Windows\System32\Inetsrv\Config . You should see the following
section under .
...
Add a section to set the maxRequestEntityAllowed attribute as:
...
You can increase the maxRequestEntityAllowed value per your requirement.
Below is MSDN document for this.
http://msdn2.microsoft.com/en-us/library/bb386457(VS.85).asp x
Please let me know if you have any further question.
Have a nice week.
Sincerely,
WenJun Zhang
Microsoft Online Partner Support
======================================================
PLEASE NOTE:
This newsgroup service currently provides a 4 hour response time, Monday
through
Friday, 6:00 am PST to 6:00 pm PST, excluding holidays.
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Re: metabase.xml appears blank x64 IIS 6 and 7
am 09.04.2008 08:32:19 von Kal
Thanks.
"David Wang" wrote in message
news:1ec422ab-abd9-4233-9c27-3a446b3484d4@b9g2000prh.googleg roups.com...
>> Notepad works, but in XP I was unable to save the file without renaming
>> it,
>> even with IIS stopped and/or with Edit Enabled. I did not try to save the
>> Vista version as I did not change it.
>
> If you do everything as you do on Windows Server 2003, it will work on
> XP Pro 64bit. And also on Vista 64bit assuming you configured it to be
> apples-to-apples.
>
> Please define "IIS stopped". What exact Windows Service name(s) did
> you stop.
>
> Please clarify how you enabled "Edit while running". If you don't do
> it right, it doesn't work the way you think, and the failed behavior
> is by-design.
>
> metabase.xml has no relevance on Vista unless IIS6 Metabase
> Compatibility is installed.
>
>
>> By the way, I had found the applicationHost.config change, but it would
>> not
>> open either without that 64 bit editor.
>
> That is by design for all 64bit Windows ever since XP Pro 64bit and
> WS03 64bit. You simply cannot edit anything in System32 folder (which
> includes IIS6/7 metabase.xml and applicationHost.config files) without
> using a 64bit editor.
>
>
>
>
>> Kal
>>
>> "Ken Schaefer" wrote in message
>>
>> news:OnerpOHmIHA.1188@TK2MSFTNGP04.phx.gbl...
>>
>>
>>
>> > Hi.
>>
>> > IIS 7.0 on Vista does not use metabase.xml - edit
>> > applicationHost.config
>> > or web.config instead.
>>
>> > When editing metabase on x64, you need to use a 64bit editor (e.g.
>> > 64bit
>> > Notepad). If you use a 32bit editor, you get transparently redirected
>> > to
>> > the SysWOW64 folder
>>
>> > Cheers
>> > Ken
>>
>> > --
>> > My IIS blog:http://adopenstatic.com/blog
>>
>> > "Kal" wrote in message
>> >news:ujPeuvGmIHA.1280@TK2MSFTNGP05.phx.gbl...
>> >>I have two x64 workstations, one running Vista 64 and the other XP 64.
>> >>Both are used for programming and web site development using Visual
>> >>Studio.
>>
>> >> One application requires large file uploads via http and I attempted
>> >> to
>> >> modify the metabase max size parameter to make this possible. I have
>> >> done
>> >> it before on Windows Server 2003 without much of a problem.
>>
>> >> First I tried it on Vista; Windows\system32\inetsrv where I found the
>> >> file, right clicked it, and got a message saying the file does not
>> >> exist
>> >> would I like to create it? File size showed 44K as I recall.So I
>> >> stopped
>> >> IIS and tried again and the file opened fine, but was empty.
>>
>> >> Thinking it was some part of Vista I did not understand I tried it on
>> >> the
>> >> XP box with the same result.
>>
>> >> Whats up with this?
>>
>> >> Kal- Hide quoted text -
>>
>> - Show quoted text -
>