Sorry, "Crashes out" wasnt very clear. It basically means that i get an error saying that the type of the variable im trying to declare isnt defined. Even though it is in a seperate DLL, its just IIS isnt "seeing" it.
Ive tried it with a demo project, and it occurs as soon as an external DLL is used.
So , say i define a class called TestClass in a class library called TestLib which results in the dll TestLib.dll. I add it to the solution with a TestWebsite with a single page called Default.aspx I add a project reference (or direct to the binary, it doesnt make a difference) to the web project, then on the first line of Page_Load in Default.aspx i have the line:
Dim abc As New TestClass()
It will crash out in this, giving me the standard ASP.NET error page with the error information:
Dim abc As New TestClass() (in red)
TestClass is not defined
Regarding what you were saying about the web config, i never had to do that manually before. I dont see any references to my dlls in it. I assume they should be under <assemblies />
Where do i get the info for them, eg: the public keytoken or the culture?
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Thanks. :-)