[WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error
Hi there Iuse Wix 3.0 in VS 2005. Everything works but if i use a iis:WebVirtualDir... tag compiling failed with the error: candle.exe : error CNDL0124 : An error has occurred that most likely indicates that the .NET Framework 1.1 Service Pack 1 has not been installed. Please see the following website for more information about the service pack and how to install it: http://support.microsoft.com/?kbid=867460 On my machine i use .Net 2.0 and have also installed .Net1.1 SP1 Can anyone tell me whats wrong? greetings Uwe Kurze - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error
Candle is trying to validate the schema of the document. I'm going to take a guess that you forgot to add the -ext switch to candle, to tell it to use the WixIIsExtension. I'm not sure how you do this in Votive, the IDE plugin, since I don't have it installed- probably look in Project Properties for Extensions for the compiler. Did you also remember to declare the iis XML namespace? Your Wix element needs to look like: Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension" If it turns out that the extension not being loaded is the problem, the diagnostic here should be better. It's meant to only catch failures to validate due to the service pack not being installed - perhaps it needs to catch a more specific exception type, if that's possible? (Breadcrumb trail - WiX errornumbers are defined in src\wix\Data\messages.xml, from which you can get a symbolic error code; you can then search the source code for that symbolic code, which gives two places where this error is reported, in ValidateDocument() in Compiler.cs and Process() in Preprocessor.cs.) -- Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of KURZE, UweSent: 02 November 2006 15:58To: wix-users@lists.sourceforge.netSubject: [WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error Hi there Iuse Wix 3.0 in VS 2005. Everything works but if i use a iis:WebVirtualDir... tag compiling failed with the error: candle.exe : error CNDL0124 : An error has occurred that most likely indicates that the .NET Framework 1.1 Service Pack 1 has not been installed. Please see the following website for more information about the service pack and how to install it: http://support.microsoft.com/?kbid=867460 On my machine i use .Net 2.0 and have also installed .Net1.1 SP1 Can anyone tell me whats wrong? greetings Uwe Kurze - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error
I did not know that you need to copy the files from the binaries. I was under the impression that building with make ship will build everything. But copying files over made it work. Thanks Mike and Danish for your help and time. From: Mike Dimmick [EMAIL PROTECTED] To: 'KURZE, Uwe' [EMAIL PROTECTED],wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error Date: Thu, 2 Nov 2006 20:58:20 - Candle is trying to validate the schema of the document. I'm going to take a guess that you forgot to add the -ext switch to candle, to tell it to use the WixIIsExtension. I'm not sure how you do this in Votive, the IDE plugin, since I don't have it installed - probably look in Project Properties for Extensions for the compiler. Did you also remember to declare the iis XML namespace? Your Wix element needs to look like: Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; If it turns out that the extension not being loaded is the problem, the diagnostic here should be better. It's meant to only catch failures to validate due to the service pack not being installed - perhaps it needs to catch a more specific exception type, if that's possible? (Breadcrumb trail - WiX error numbers are defined in src\wix\Data\messages.xml, from which you can get a symbolic error code; you can then search the source code for that symbolic code, which gives two places where this error is reported, in ValidateDocument() in Compiler.cs and Process() in Preprocessor.cs.) -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of KURZE, Uwe Sent: 02 November 2006 15:58 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix 3.0 iis:WebVirtualDirCompiler error Hi there I use Wix 3.0 in VS 2005. Everything works but if i use a iis:WebVirtualDir... tag compiling failed with the error: candle.exe : error CNDL0124 : An error has occurred that most likely indicates that the .NET Framework 1.1 Service Pack 1 has not been installed. Please see the following website for more information about the service pack and how to install it: http://support.microsoft.com/?kbid=867460 On my machine i use .Net 2.0 and have also installed .Net1.1 SP1 Can anyone tell me whats wrong? greetings Uwe Kurze - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users