I already posted on this but my subject line mentioned IIS7 so I didn't get many replies.
I've installed the RTM release of VS 2008 (apparently without problem) on 32-bit Vista Ultimate on both a laptop and a desktop, and when I try to create a new web site (File/New/Web Site, select ASP.NET Web Site, File System, VB or C# and hit OK), I get
an error on the default page's page directive - "Child nodes not allowed", which indicates an error in the web.config file in the following section, with the highlighted line as the supposed error:
Neither machine has had any of the VS2008 betas on it but they both have VS2005 on them.
Doing the exact same thing on a Windows XP VM works fine.
Various posts elsewhere imply that some update to the 2.0 version of the .NET framework is required to allow it to understand this amendment (the <providerOption> tag) to the format of the web.config file for 3.5-based sites (which I understand run under
2.0 in IIS), and that this should have been applied during the installation of VS2008. Is this true? If not, is there a separate download to apply this update to 2.0?
Other posts say that you can remove the offending lines from web.config and it all works fine - unless you want to use any LINQ features. Who doesn't !!!???
I'd really appreciate some help on this as I was hoping to use VS2008 on Vista for all my projects ASAP - I don't want to have to rely on XP-based VMs as I have been doing because of the problems with running VS2005 on Vista, and I've already wasted 2 days
with this problem.
I think I've found the solution to this, after a lot of digging around.
With this problem, as well as the ASP.NET web site error, you also get:
<div>a problem opening the form designer in a Windows Forms application ("The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType.")</div>
<div>an error when you try to compile a console application ("Required file 'alink.dll with IAlink3' could not be found").</div>
There are probably other situations which produce errors as well, but I was so disheartened I didn't test any more!
[Incidentally, it would help a great deal if you could copy the text of an error message out of the dialog box when an error occurs. Microsoft used to allow you to do this, as I recall with SQL 2005 errors, but these errors don't allow it and it's a
pain copying them down due to their length.]
However, it seems that the installation disc for VS2008 Pro contains a couple of patches which should normally be installed during the installation of VS2008, but for some reason as yet undetermined, were not in my case (although I have seen mention that
it's something to do with Office 2007, but I can't confirm that). Remember, I had the identical situation on both my desktop and my laptop.
These patches are in the folder [drive]:\WCU\dotNetFramework\dotNetMSP\[x64 | x86] and should be installed in this order:
<div>NetFX2.0-KB110806-v6000-x[64 | 86].msu</div>
<div>NetFX3.0-KB929300-v6000-x[64 | 86].msu</div>
There are also a couple of other patches in this folder, NetFX2.0-KB936704-v6000-x[64 | 86]_RTM-en.msu and
NetFX2.0-KB936705-v6000-x[64 | 86]_RTM-en.msu, but these both fail if you try to install them. I suspect that these may be called during the VS2008 installation to bootstrap the installation of the patches above. Note that if you search for
these Knowledge Base articles on the Microsoft site, the articles either do not exist, or they make no mention of any of these problems.
I hope this helps other people to get round this problem, which has consumed far too much of my time. Microsoft plase take note - this is affecting tons of people and cannot be swept under the carpet because you can't reproduce it on a clean install of Vista.
If you want to encourage developers to use VS2008 on Vista, make sure it installs correctly on real-world boxes.
I'm now up and running and can get down to work - just in time for the weekend
Graham
</div></div>
Marked as answer by GAuty on Nov 30, 2007 12:49 PM
Thank you for figuring this out. I had this same issue posted under a differnt subject
http://forums.asp.net/t/1207167.aspx. Applying these patches fixed my VS2008 on Vista issues.
I would like to apply these patches because I have the same problem, but I can't find them!
You say [drive]:\WCU\... I have a C; and D: drive but none have a WCU directory. I looked for these patches in the Visual Studio.Net 2008 DVD but it's mostly CAB files and I don't see any patches. I also did a search on Windows Update and microsoft.com and
did not find these patches to download.
Can someone please tell me where to find these patches?
I would like to apply these patches because I have the same problem, but I can't find them!
You say [drive]:\WCU\... I have a C; and D: drive but none have a WCU directory. I looked for these patches in the Visual Studio.Net 2008 DVD but it's mostly CAB files and I don't see any patches. I also did a search on Windows Update and microsoft.com and
did not find these patches to download.
Can someone please tell me where to find these patches?
Hi NickKA,
When I mentioned [drive]:\WCU\... I was referring to the DVD drive letter - the patches are in the folder WCU on the VS2008 DVD. You don't mention which version of VS2008 you have, but my notes related to the Professional version.
Hope this helps,
Graham
VS2008VS 20008VS 2008 professionalVS2008 VS 2008 EXECUTABLE SIZE
I am new t othese forums, so I'd like to say Hello to everyone!
I installed VS 2008 Pro on Vista and I have the same problem [ Parser Error Message: Child nodes not allowed.]
.
I tried to install the patches on WCU in my DVD, but I get an error message saying "The update doesn't apply to your system"
[See screenshot].
It's a little bit strange, I've tried the x86 and x64 (altrough I have x86 version).
To answer GAuty who said that it might be related to Office 2007, actually I don't have Office installed on my computer, so maybe there is anothe reason.
Can anyone help ?
Thanking you in advance for your help,
GAuty
Member
7 Points
12 Posts
Simple web site problem on Vista, related to <providerOption>
Nov 27, 2007 11:08 AM|LINK
I already posted on this but my subject line mentioned IIS7 so I didn't get many replies.
I've installed the RTM release of VS 2008 (apparently without problem) on 32-bit Vista Ultimate on both a laptop and a desktop, and when I try to create a new web site (File/New/Web Site, select ASP.NET Web Site, File System, VB or C# and hit OK), I get an error on the default page's page directive - "Child nodes not allowed", which indicates an error in the web.config file in the following section, with the highlighted line as the supposed error:
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
Neither machine has had any of the VS2008 betas on it but they both have VS2005 on them.
Doing the exact same thing on a Windows XP VM works fine.
Various posts elsewhere imply that some update to the 2.0 version of the .NET framework is required to allow it to understand this amendment (the <providerOption> tag) to the format of the web.config file for 3.5-based sites (which I understand run under 2.0 in IIS), and that this should have been applied during the installation of VS2008. Is this true? If not, is there a separate download to apply this update to 2.0?
Other posts say that you can remove the offending lines from web.config and it all works fine - unless you want to use any LINQ features. Who doesn't !!!???
I'd really appreciate some help on this as I was hoping to use VS2008 on Vista for all my projects ASAP - I don't want to have to rely on XP-based VMs as I have been doing because of the problems with running VS2005 on Vista, and I've already wasted 2 days with this problem.
Graham
GAuty
Member
7 Points
12 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Nov 30, 2007 12:49 PM|LINK
I think I've found the solution to this, after a lot of digging around.
With this problem, as well as the ASP.NET web site error, you also get:
There are probably other situations which produce errors as well, but I was so disheartened I didn't test any more!
[Incidentally, it would help a great deal if you could copy the text of an error message out of the dialog box when an error occurs. Microsoft used to allow you to do this, as I recall with SQL 2005 errors, but these errors don't allow it and it's a pain copying them down due to their length.]
However, it seems that the installation disc for VS2008 Pro contains a couple of patches which should normally be installed during the installation of VS2008, but for some reason as yet undetermined, were not in my case (although I have seen mention that it's something to do with Office 2007, but I can't confirm that). Remember, I had the identical situation on both my desktop and my laptop.
These patches are in the folder [drive]:\WCU\dotNetFramework\dotNetMSP\[x64 | x86] and should be installed in this order:
There are also a couple of other patches in this folder, NetFX2.0-KB936704-v6000-x[64 | 86]_RTM-en.msu and NetFX2.0-KB936705-v6000-x[64 | 86]_RTM-en.msu, but these both fail if you try to install them. I suspect that these may be called during the VS2008 installation to bootstrap the installation of the patches above. Note that if you search for these Knowledge Base articles on the Microsoft site, the articles either do not exist, or they make no mention of any of these problems.
I hope this helps other people to get round this problem, which has consumed far too much of my time. Microsoft plase take note - this is affecting tons of people and cannot be swept under the carpet because you can't reproduce it on a clean install of Vista. If you want to encourage developers to use VS2008 on Vista, make sure it installs correctly on real-world boxes.
I'm now up and running and can get down to work - just in time for the weekend
Graham
</div></div>ajax.siva
Member
3 Points
4 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Jan 18, 2008 04:25 PM|LINK
Hi Graham,
Thank you for figuring this out. I had this same issue posted under a differnt subject http://forums.asp.net/t/1207167.aspx. Applying these patches fixed my VS2008 on Vista issues.
Siva
vista vs2008
NickKA
Member
115 Points
243 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Mar 09, 2008 02:56 PM|LINK
I would like to apply these patches because I have the same problem, but I can't find them!
You say [drive]:\WCU\... I have a C; and D: drive but none have a WCU directory. I looked for these patches in the Visual Studio.Net 2008 DVD but it's mostly CAB files and I don't see any patches. I also did a search on Windows Update and microsoft.com and did not find these patches to download.
Can someone please tell me where to find these patches?
GAuty
Member
7 Points
12 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Mar 09, 2008 07:02 PM|LINK
Hi NickKA,
When I mentioned [drive]:\WCU\... I was referring to the DVD drive letter - the patches are in the folder WCU on the VS2008 DVD. You don't mention which version of VS2008 you have, but my notes related to the Professional version.
Hope this helps,
Graham
VS2008 VS 20008 VS 2008 professional VS2008 VS 2008 EXECUTABLE SIZE
NickKA
Member
115 Points
243 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Mar 09, 2008 07:33 PM|LINK
Your right Graham, they are there. I'm installing from the Team Edition.
Thank You.
ron.westbroo...
Member
45 Points
19 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Mar 12, 2008 06:13 AM|LINK
Where are the patches located on the team system DVD?
Software Engineer
Avanade, Inc.
zaki23
Member
2 Points
1 Post
Re: Simple web site problem on Vista, related to <providerOption>
Jul 15, 2008 01:57 PM|LINK
Hi,
I am new t othese forums, so I'd like to say Hello to everyone!
I installed VS 2008 Pro on Vista and I have the same problem [ Parser Error Message: Child nodes not allowed.] .
I tried to install the patches on WCU in my DVD, but I get an error message saying "The update doesn't apply to your system" [See screenshot].
It's a little bit strange, I've tried the x86 and x64 (altrough I have x86 version).
To answer GAuty who said that it might be related to Office 2007, actually I don't have Office installed on my computer, so maybe there is anothe reason.
Can anyone help ?
Thanking you in advance for your help,
Zack
marcoacm
Member
4 Points
2 Posts
Re: Simple web site problem on Vista, related to <providerOption>
Aug 11, 2008 02:14 AM|LINK
Hello,
Any chance you could provide me those files. Our company CD is Omaha, NE and I am in Miami, FL ans there is nobody there able to send them to me.
Hope you guys can help