Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler error

Status
Not open for further replies.

sarahnice

Technical User
Nov 18, 2002
101
IE
Hi all,

When I run my asp.net app, I get the following error in ie:

"vbc : Command line error BC2010 : compilation failed : 'Unable to load DLL 'alink.dll': System Error &H80070006&'"

I can run the exact same website on another pc and it works fine.

Here is the full compiler output:
Code:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\test\2151644f\18f8287\assembly\dl2\838059ef\00a6ab1e_2ef6c301\dreamweaverctrls.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /out:"C:\WINDOWS\Microsoft.Net\Framework\v1.1.4322\Temporary ASP.NET Files\test\2151644f\18f8287\eaddugsh.dll" /debug-  "C:\WINDOWS\Microsoft.Net\Framework\v1.1.4322\Temporary ASP.NET Files\test\2151644f\18f8287\eaddugsh.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : Command line error BC2010 : compilation failed : 'Unable to load DLL 'alink.dll': System Error &H80070006&'

The following is the complete compilation source I get as part of the compilation error:

Code:
Line 1:    '------------------------------------------------------------------------------
Line 2:    ' <autogenerated>
Line 3:    '     This code was generated by a tool.
Line 4:    '     Runtime Version: 1.1.4322.2032
Line 5:    '
Line 6:    '     Changes to this file may cause incorrect behavior and will be lost if 
Line 7:    '     the code is regenerated.
Line 8:    ' </autogenerated>
Line 9:    '------------------------------------------------------------------------------
Line 10:   
Line 11:   Option Strict Off
Line 12:   Option Explicit On
Line 13:   
Line 14:   Imports Microsoft.VisualBasic
Line 15:   Imports System
Line 16:   Imports System.Collections
Line 17:   Imports System.Collections.Specialized
Line 18:   Imports System.Configuration
Line 19:   Imports System.Text
Line 20:   Imports System.Text.RegularExpressions
Line 21:   Imports System.Web
Line 22:   Imports System.Web.Caching
Line 23:   Imports System.Web.Security
Line 24:   Imports System.Web.SessionState
Line 25:   Imports System.Web.UI
Line 26:   Imports System.Web.UI.HtmlControls
Line 27:   Imports System.Web.UI.WebControls
Line 28:   
Line 29:   Namespace ASP
Line 30:       
Line 31:       Public Class header1_ascx
Line 32:           Inherits System.Web.UI.UserControl
Line 33:           
Line 34:           Private Shared __initialized As Boolean = false
Line 35:           
Line 36:           Public Sub New()
Line 37:               MyBase.New
Line 38:               If (ASP.header1_ascx.__initialized = false) Then
Line 39:                   ASP.header1_ascx.__initialized = true
Line 40:               End If
Line 41:           End Sub
Line 42:           
Line 43:           Protected Overrides ReadOnly Property SupportAutoEvents As Boolean
Line 44:               Get
Line 45:                   Return false
Line 46:               End Get
Line 47:           End Property
Line 48:           
Line 49:           Protected ReadOnly Property ApplicationInstance As System.Web.HttpApplication
Line 50:               Get
Line 51:                   Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
Line 52:               End Get
Line 53:           End Property
Line 54:           
Line 55:           Public Overrides ReadOnly Property TemplateSourceDirectory As String
Line 56:               Get
Line 57:                   Return "/test/includes"
Line 58:               End Get
Line 59:           End Property
Line 60:           
Line 61:           Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control)
Line 62:               Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
Line 63:               
Line 64:               #ExternalSource("C:\Inetpub\[URL unfurl="true"]wwwroot\test\includes\header1.ascx",1)[/URL]
Line 65:               __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("Header 1"))
Line 66:               
Line 67:               #End ExternalSource
Line 68:           End Sub
Line 69:           
Line 70:           Protected Overrides Sub FrameworkInitialize()
Line 71:               Me.__BuildControlTree(Me)
Line 72:           End Sub
Line 73:       End Class
Line 74:   End Namespace
Line 75:

Any ideas?
Thanks
 
Bump!

Sorry about this but really need someone to see this and give me some help.
 
What is alink.dll. Do you have an unnecessary reference?
 
The alink.dll lives in framework. Are both your boxes using the same framework?
Marty
 
I assume both boxes are using the same framework. I have not purposfully changed one or the other. I am using Dreamweaver to develop my site. The exact same site works fine on another pc I have.
 
Fixed" the problem. Had to uninstall and .net 1.0 and 1.1, then reinstall 1.1 only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top