?
Solved

Could not load type 'BatchSends.Global'

Posted on 2011-05-10
12
Medium Priority
?
305 Views
Last Modified: 2012-05-11
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" %>

Open in new window

0
Comment
Question by:Mister_Spock
  • 7
  • 5
12 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35733867
Is there a BatchSends.Global class in the Global.aspx.cs file?
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35734831
I belive so but I will have to check and get back to you.
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35740149
I have a namespace named BatchSends and a public class Global : System.Web.HttpApplication. However they are part of a ASAX file not ASPX.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35740545
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.
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35740660
That was my thought as well but I did not know how to do it. Sounds like you do though, any suggestions?
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35740717
Yes just compile the solution and the error should go away because the dll will get created during compilation.
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35740983
It is not a solution though, it is a exisiting website that is included in the project.
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35741044
so right click the website and select build website, then right click the project and select build project.
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35741253
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.
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 35741282
The asax file is part of the website?
What is the other project ? wcf ?
0
 
LVL 3

Author Comment

by:Mister_Spock
ID: 35741899
There are many files and folders in the solution, some are in-house and others are what Microsoft built during the conversion.
0
 
LVL 3

Author Closing Comment

by:Mister_Spock
ID: 35766544
Thank You
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Integration Management Part 2

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question