T
tedqn
I created a DLL, reference it in namespace and didn't work so I tried a
very basic one and same error. I've done this before on another machine
and it was pretty plug n play. Don't know what's wrong with this
win2003 server.
- Indexing service is already disabled. I even manually unchecked the
index box in the Microsoft Framework xxx folder in c"\windows.
- Aspnet account already in the Security list.
- I manually located the dll as the error says and it's not there ...
==============================================================
<%@Import Namespace="TestCls1" %>
<%@ Assembly Name="TestCls1" %>
Dim o as new TestABC
Response.Write(o.Hello())
'compiled dll content into TestCls1.dll, placed in bin\
Public Class TestABC
Public tls As ArrayList
Public tls2 As ArrayList
Public Shared Function Hello() As String
Return "Hello World"
End Function
End Class
Parser Error Message: The format of the file 'TestCls1' is invalid.
=== Pre-bind state information ===
LOG: DisplayName = TestCls1
(Partial)
LOG: Appbase = file:///C:/MySites/DevSite
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TestCls1
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/0a068d83/1d5ea45c/TestCls1.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/0a068d83/1d5ea45c/TestCls1/TestCls1.DLL.
LOG: Attempting download of new URL
file:///C:/MySites/DevSite/bin/TestCls1.DLL.
very basic one and same error. I've done this before on another machine
and it was pretty plug n play. Don't know what's wrong with this
win2003 server.
- Indexing service is already disabled. I even manually unchecked the
index box in the Microsoft Framework xxx folder in c"\windows.
- Aspnet account already in the Security list.
- I manually located the dll as the error says and it's not there ...
==============================================================
<%@Import Namespace="TestCls1" %>
<%@ Assembly Name="TestCls1" %>
Dim o as new TestABC
Response.Write(o.Hello())
'compiled dll content into TestCls1.dll, placed in bin\
Public Class TestABC
Public tls As ArrayList
Public tls2 As ArrayList
Public Shared Function Hello() As String
Return "Hello World"
End Function
End Class
Parser Error Message: The format of the file 'TestCls1' is invalid.
=== Pre-bind state information ===
LOG: DisplayName = TestCls1
(Partial)
LOG: Appbase = file:///C:/MySites/DevSite
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TestCls1
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/0a068d83/1d5ea45c/TestCls1.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/0a068d83/1d5ea45c/TestCls1/TestCls1.DLL.
LOG: Attempting download of new URL
file:///C:/MySites/DevSite/bin/TestCls1.DLL.