Visual Studio 2008 RTM Fails to compile C# console projects on Vista
Installation did go well but,
when a new C# console project is created I can't compile. I get the error IALink.dll is required.
IALink3 cannot be found...
I found a thread thats would solve my problem... but it states that I have to install the following files:
- Windows6.0-KB110806-x86.msu
- Windows6.0-KB929300-x86.msu
- Windows6.0-kb930264-x86.msu
But only the following files are in the VS2008 RTM install folder \WCU\dotNetFramework\dotNetMSP\x86:
-
NetFX2.0-KB936704-v6000-x86_RTM_en.msu
-
NetFX3.0-KB936705-v6000-x86_RTM_en.msu
-
NetFX2.0-KB110806-v6000-x86.msu
-
NetFX3.0-KB929300-v6000-x86.msu
The only one wich cannot be installed is
NetFX3.0-KB936705-v6000-x86_RTM_en.msuAfter installation of these files I still have the same problem..What can I do to make it work?
Answers
Try to install KB110806 again.
If the computer reboots TWICE then it didn't work and you want to check the CBS.log file in \Windows\Logs\CBS\ and look for lines that start with Error. Paste those here so someone can work out what is going on.
I also suggest trying to start a service called Windows Management Instrumentation if it's not already started, then try installing. If it doesn't start, post about that and we can then work out why. If it starts but you still get errors in CBS.log then that at least rules out how I fixed my problem.
I wish I knew what the install was supposed to be doing... You're getting exactly what I had before I fixed it by getting WMI to work. Even to the point where every run gives you a different filename.
Try installing after having disabled IIS and other services that use .NET?
I had the alink.dll error too. I located the NetFX2.0-KB110806-v6000-x86.msu in the WCU\dotNetFramework\dotNetMSP\x86 folder and ran only it. After a re-boot, no more alink.dll error for me
...now I've got to track down another problem that crashes VS2008 when I try and create a WPF app
!
Steve
All Replies
When a new C# console project is created I can't compile. I get the error IALink.dll is required.
IALink3 cannot be found...
What can I do to make it work?
I found a thread thats would solve my problem... but it states that I have to install the following files:
- Windows6.0-KB110806-x86.msu
- Windows6.0-KB929300-x86.msu
- Windows6.0-kb930264-x86.msu
But only the following files are in the folder \WCU\dotNetFramework\dotNetMSP\x86:
-
NetFX2.0-KB936704-v6000-x86_RTM_en.msu
-
NetFX3.0-KB936705-v6000-x86_RTM_en.msu
-
NetFX2.0-KB110806-v6000-x86.msu
-
NetFX3.0-KB929300-v6000-x86.msu
Do you have error entries like:
Code BlockWindows Servicing failed to complete the process of setting package KB110806 (Update) into Resolving(Resolving) state
In your system eventlog? If so you're probably in the same situation as me (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2439831&SiteID=1)If this is the case can you check %windir%\logs\cbs\cbs.log to see why the install of those updates failed?
we have also seen this error when the assemblies are not ngened. The resolution is to leave the machine idle for a little while after the install so that all assemblies get ngened.
Thanks,
Manisha.
Try to apply the most recent updates for your Vista, to see if the problem persists.
Thanks
I did update Vista and the system reports that it is up to date...but I still have the same problem!
Thanks for you reply
Barry
Hi Barry,
Do you mean all the projects cannot be compiled?
Could you please give a more detailed description about the symptom?
Otherwise, if we switch to try a new user account, do we have the problem? This can rule out the possibility of corrupted user profile.
Thanks
I merged two into one. Thanks
The same problem occurs when building Windows applications:
- Error 1 Required file 'alink.dll with IAlink3' could not be found WindowsFormsApplication1
The following error occurs when building web apps:
- Error 2 Onderliggende knooppunten zijn niet toegestaan. C:\Users\FaasB\Documents\Visual Studio 2008\WebSites\WebSite3\web.config 91
Translated: Onderliggende knooppunten zijn niet toegestaan... -> subnodes not allowed
I also tested this with another user account on this machine with no success..
Thanks,
Barry
Try to install KB110806 again.
If the computer reboots TWICE then it didn't work and you want to check the CBS.log file in \Windows\Logs\CBS\ and look for lines that start with Error. Paste those here so someone can work out what is going on.
I also suggest trying to start a service called Windows Management Instrumentation if it's not already started, then try installing. If it doesn't start, post about that and we can then work out why. If it starts but you still get errors in CBS.log then that at least rules out how I fixed my problem.
The Windows Management Service is started. I still get errors. Installing the update won't work.
Errors in my CBS log file after installing :
Code Block2007-11-23 13:55:19, Error CSI 00000088 (F) STATUS_CANNOT_DELETE #612760# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile(flags = 0, h = 1498 ("\Device\HarddiskVolume1\Windows\System32\mscoree.dll"), iosb = @0x145f51c, buff = @0x145f553, bufflen = 1, ic = 13 (0x0000000d), disp = Invalid)
2007-11-23 13:55:19, Error CSI 00000089@2007/11/23:12:55:19.889 (F) d:\vistartm\base\wcp\sil\merged\ntu\ntsystem.cpp(1831): Error STATUS_CANNOT_DELETE originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile expression: (null)
[gle=0x80004005]
2007-11-23 13:55:20, Error CSI 0000008a (F) STATUS_CANNOT_DELETE #612755# from Windows::Rtl::SystemImplementation::CDirectory::DeleteExistingFile(...)
2007-11-23 13:55:20, Error CSI 0000008b (F) STATUS_CANNOT_DELETE #612754# from Windows::Rtl::SystemImplementation::CDirectory_IRtlDirectoryTearoff::DeleteExistingFile(flags = (MissingFileIsOk|MarkDeletePending|OpenForBackup|DeleteIfReadOnly), oa = @0x145f630->SIL_OBJECT_ATTRIBUTES {s:20; on:"mscoree.dll"; a:(OBJ_CASE_INSENSITIVE)}, disp = (null))2007-11-23 13:55:21, Info CBS Exec: Failed to commit CSI transaction due to file in use or Component reboot required, package changes need to be pended.
...
2007-11-23 14:07:09, Error CSI 000001c4@2007/11/23:13:07:09.466 (F) CMIADAPTER: Inner Error Message from AI HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
[
[236]"Er is een fout opgetreden tijdens het verwerken van item 72, gedefinieerdop regels 1760 - 1809 in bestand C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet.mof:
0X80041002 Kan klasse, instantie of eigenschap CIMTYPE niet vinden.
"
]
[gle=0x80004005]
2007-11-23 14:07:09, Error CSI 000001c5@2007/11/23:13:07:09.466 (F) CMIADAPTER: AI failed. HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
Element:
[120]"<mof xmlns="urn:schemas-microsoft-com:asm.v3" name="$(runtime.windows)\Microsoft.NET\Framework\v2.0.50727\aspnet.mof" />"
[gle=0x80004005]
2007-11-23 14:07:09, Error CSI 000001c6@2007/11/23:13:07:09.466 (F) CMIADAPTER: Exiting with HRESULT code = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].
[gle=0x80004005]...
2007-11-23 14:07:09, Error CSI 00000344 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]. Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable (2)[gle=0x80004005]
...
2007-11-23 14:07:09, Error CSI 000001c6@2007/11/23:13:07:09.466 (F) CMIADAPTER: Exiting with HRESULT code = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].
[gle=0x80004005]
2007-11-23 14:07:09, Info CSI 00000343@2007/11/23:13:07:09.466 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{9f4ec79f-3a97-4772-b635-2899468900a2};NetFx-ASPNET_MOF, Version = 6.0.6000.16588, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral;449069
2007-11-23 14:07:09, Error CSI 00000344 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]. Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable (2)[gle=0x80004005]
2007-11-23 14:08:17, Info CSI 00000345 End executing advanced installer (sequence 465)
Completion status: HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED)...
2007-11-23 14:09:29, Error CSI 00000623 (F) STATUS_CANNOT_DELETE #548431# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile(flags = 0, h = 3870 ("\Device\HarddiskVolume1\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\sorttbls.nlp"), iosb = @0x90f408, buff = @0x90f43f, bufflen = 1, ic = 13 (0x0000000d), disp = Invalid)
2007-11-23 14:09:29, Error CSI 00000624@2007/11/23:13:09:29.949 (F) d:\vistartm\base\wcp\sil\merged\ntu\ntsystem.cpp(1831): Error STATUS_CANNOT_DELETE originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysSetInformationFile expression: (null)
[gle=0x80004005]
2007-11-23 14:09:31, Error CSI 00000625 (F) STATUS_CANNOT_DELETE #548426# from Windows::Rtl::SystemImplementation::CDirectory::DeleteExistingFile(...)
2007-11-23 14:09:31, Error CSI 00000626 (F) STATUS_CANNOT_DELETE #548425# from Windows::Rtl::SystemImplementation::CDirectory_IRtlDirectoryTearoff::DeleteExistingFile(flags = (MissingFileIsOk|MarkDeletePending|OpenForBackup|DeleteIfReadOnly), oa = @0x90f51c->SIL_OBJECT_ATTRIBUTES {s:20; on:"sorttbls.nlp"; a:(OBJ_CASE_INSENSITIVE)}, disp = Invalid)...
2007-11-23 14:09:34, Error CBS Startup: Failed to process advanced operation queue, startupPhase: 0. A restart is required before attempting to continue processing. hr: 0x80070bc9
...
2007-11-23 14:11:23, Error CSI 00000170@2007/11/23:13:11:23.331 (F) CMIADAPTER: Inner Error Message from AI HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
[
[236]"Er is een fout opgetreden tijdens het verwerken van item 72, gedefinieerdop regels 1760 - 1809 in bestand C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet.mof:
0X80041002 Kan klasse, instantie of eigenschap CIMTYPE niet vinden.
"
]
[gle=0x80004005]
2007-11-23 14:11:23, Error CSI 00000171@2007/11/23:13:11:23.331 (F) CMIADAPTER: AI failed. HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
Element:
[120]"<mof xmlns="urn:schemas-microsoft-com:asm.v3" name="$(runtime.windows)\Microsoft.NET\Framework\v2.0.50727\aspnet.mof" />"
[gle=0x80004005]
2007-11-23 14:11:23, Error CSI 00000172@2007/11/23:13:11:23.331 (F) CMIADAPTER: Exiting with HRESULT code = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].
[gle=0x80004005]
2007-11-23 14:11:23, Info CSI 0000024f@2007/11/23:13:11:23.331 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{9f4ec79f-3a97-4772-b635-2899468900a2};NetFx-ASPNET_MOF, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral;342902
2007-11-23 14:11:23, Error CSI 00000250 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]. Failure will be ignored: The failure was encountered during rollback; installer is reliable (2)[gle=0x80004005]...
2007-11-23 14:12:18, Error CBS Startup: Completed rollback, startupPhase: 0. hr: 0x80070643
That's it
Barry
I wish I knew what the install was supposed to be doing... You're getting exactly what I had before I fixed it by getting WMI to work. Even to the point where every run gives you a different filename.
Try installing after having disabled IIS and other services that use .NET?
Greetings everyone,
I _cannot_ get VS.NET 2008 working to compile any C# or WPF projects on three _different_ systems.
Each of these systems has a clean Vista Ultimate installation, and no previous installations of VS.NET 2k5.
I get the error "IALink.dll is required. IALink3 cannot be found"
As in previous posts, I have gone to _both_ my MSDN subscription download of VS.NET 2k8 as well as a brand spaking new VS.NET 2k8 DVD install to go looking for the varous .MSUs to install.
In _both_ cases ( MSDN subscription download and in the DVD install for the VS.2k8 RTM) I go looking for the .MSUs that supposedly "fix" this problem, and invariably only the following are present:
-
NetFX2.0-KB936704-v6000-x86_RTM_en.msu
-
NetFX3.0-KB936705-v6000-x86_RTM_en.msu
-
NetFX2.0-KB110806-v6000-x86.msu
-
NetFX3.0-KB929300-v6000-x86.msu
Has anyone on this forum been able to get a working VS.NET 2k8 RTM from scratch? Working after advise on installing MSUs as per the advise on this forum? Or, using some other mechanism?
If VS.NET 2k8 RTM does not work under any condition I will be forced to advise to my management to not move forward with this product as it is nowhere close to being ready for production.
rjc
-
I had the alink.dll error too. I located the NetFX2.0-KB110806-v6000-x86.msu in the WCU\dotNetFramework\dotNetMSP\x86 folder and ran only it. After a re-boot, no more alink.dll error for me
...now I've got to track down another problem that crashes VS2008 when I try and create a WPF app
!
Steve
I wish I could get this far. Every attempt I make on a brand new Vista Ultimate to install Visul Studio 2008 fails. Followed the advice in the reference paper and stopped every 3rd party and some MS services. No virus protection etc.
Still fails as soon as it attempts to install the Web Dev and goes no further that this first stage.
I'm giving up and going back to Codegear RAD Studio. At least that works.
I tried installing updates but it fails...
the ALink file is located here : C:\Windows\Microsoft.NET\Framework\v2.0.50727\alink.dll
You can take ownership of alink.dll, rename it or backup it.
Copy a new alink.dll : 8.0.50727.3053 modified 27/07/2008 20:00, 98 808 bytes
You can find it with google or on a working VS2008.
I know it's a bad idea but as updates are not working, the only other solution we have is formatting or spending one day with updates, VS reinstall.- Proposed As Answer byGuillaumeMoi Tuesday, September 23, 2008 10:10 AM


