Mister_Spock
asked on
Could not load type 'BatchSends.Global'
I am in the middle of a conversion from a DotNet 1.1 project to a DotNet 3.5 project. Everything was going smoothly but I am getting the error “could not load type 'Batch.Sends'”. File error is with has only one line (see code attachment). This is an existing website that I am trying to add, any ideas?
<%@ Application Codebehind="Global.asax.cs" Inherits="BatchSends.Global" %>
Is there a BatchSends.Global class in the Global.aspx.cs file?
ASKER
I belive so but I will have to check and get back to you.
ASKER
I have a namespace named BatchSends and a public class Global : System.Web.HttpApplication . However they are part of a ASAX file not ASPX.
Have you tried compiling so that he batchsends.dll is created and placed in the bin directory?
I think the error is occurring because the dll has not been created.
I think the error is occurring because the dll has not been created.
ASKER
That was my thought as well but I did not know how to do it. Sounds like you do though, any suggestions?
Yes just compile the solution and the error should go away because the dll will get created during compilation.
ASKER
It is not a solution though, it is a exisiting website that is included in the project.
so right click the website and select build website, then right click the project and select build project.
ASKER
Tried that but unless I am looking in the wrong folder, no new dll file is created. Since the website still does not build I don't think a dll file will be created.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There are many files and folders in the solution, some are in-house and others are what Microsoft built during the conversion.
ASKER
Thank You