Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2006

Tip: Looking for answers? Try searching our database.

Can't run DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tedqn@yahoo.com - 28 Apr 2006 20:44 GMT
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.
tedqn@yahoo.com - 30 Apr 2006 07:04 GMT
Never mind. Visual Studio 2005 is fixed into using .Net Framework 2.0.
A default installation of Windows 2003 Server with ASP.NET comes with
Framework 1.1. Any dll built by VS 2005 aren't recognized by Framework
1.1 .. made you think you messed up somewhere. Uninstalled Visual
Studio 2005 and reinstalled VS.Net (2002)  .. things work again.
tedqn@yahoo.com - 30 Apr 2006 07:04 GMT
Never mind. Visual Studio 2005 is fixed into using .Net Framework 2.0.
A default installation of Windows 2003 Server with ASP.NET comes with
Framework 1.1. Any dll built by VS 2005 aren't recognized by Framework
1.1 .. made you think you messed up somewhere. Uninstalled Visual
Studio 2005 and reinstalled VS.Net (2002)  .. things work again.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.