Referencing DLL in ASP.NET

  • Thread starter Thread starter Srinivas Kotipalli
  • Start date Start date
S

Srinivas Kotipalli

Hi,

I am tring to create a ASP.NET web form using notepad. in the codebehind
file I have imported CrystalDecisions.CrystalREports.Engine.
This gives me compilation error, saying that engine does not belong to
namespace.

I read somewhere I need to reference this assembly. When I am using a
Notepad, how do I reference a dll? where do I add it? Do I need to create a
file with vbproj extention and add these references?

Please help?

thanks in advance
- Srini.
 
Thanks for the response Ken, But No!

this is a asp.net application. I have a aspx web page with codebehind file
as SRC, hence not pre-compiled.
when I first try to access the page it is trying to compile the codebehind
file and giving compile errors.

Somewhere I read that I need to reference the assembly. How do I do this?
Should my page have
<@ Assembly="Crystaldecisions.CrystalReports.Engine" > or something like
this? Is that the way to refernece a dll when you are developing your
ASP.NET application using a notepad??

thank you,
Srini.
 
YEs that's the right way to reference the assemly, but you may also need to
reference the namespace...

You might want to look into using WebMatrix which is free and makes this a
bit easier than using notepad and manually compiling.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top