15,923,789 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Juan Victoriano (Top 5 by date)
Juan Victoriano
18-Mar-13 1:14am
View
I think I just fixed it, all I had to do was add the app_code folder and include the C# file (clsBusinessLayer) in the folder, now its running without error.
Juan Victoriano
18-Mar-13 1:05am
View
Not sure which reference I have to use, there are many references in the .NET and COM tabs, I'm using Visual Studio 2008.
Juan Victoriano
18-Mar-13 0:49am
View
I am a novice C# programmer, I'm not sure what that means or how to even fix it.
Juan Victoriano
18-Mar-13 0:44am
View
This is the error I get when I run my app:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'clsBusinessLayer' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 23: {
Line 24: //create object clsBusinessLayer class and call sendMail method
Line 25: clsBusinessLayer sendObj = new clsBusinessLayer();
Line 26: sendObj.SendEmail(txtFrom.Text, txtTo.Text, txtSubject.Text, txtMessage.Text);
Line 27:
not sure how to fix it. The error is line 25.
Juan Victoriano
18-Mar-13 0:44am
View
This is the error I get when I run my app:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'clsBusinessLayer' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 23: {
Line 24: //create object clsBusinessLayer class and call sendMail method
Line 25: clsBusinessLayer sendObj = new clsBusinessLayer();
Line 26: sendObj.SendEmail(txtFrom.Text, txtTo.Text, txtSubject.Text, txtMessage.Text);
Line 27:
not sure how to fix it.