Compiling problems under visual developer express 2005

G

Guest

Hi

Newbie asp questions:

I have problems running new website when its uploaded. It compiles
nicely
when running on my local machine, but when compiling on the server i
get the
error:

CS0246: The type or namespace name 'ByteFX' could not be found (are you
missing a using directive or an assembly reference?)

I try to use the ByteFX driver for reading mysql databases. I don't
understand the error since the code compiles ok locally.
If I missed the using directive or the assembly reference i would not
be
able to compile locally, or what?
Could I have missed some file in my upload? (the bytefx dll's are
uploaded
to a bin folder)

I would try to compile it locally, so it should not be compiled on the
server, but I cant found out how to do that.

I've tried the aspnet_compile.exe with the params -p "path to physical
folder for website" - v /website1.

The compiler runs without any errors, but I can't find the dll, that I
thought it should produce.

Can anyone give me a hint on how to solve this?

The best solution would be, if I just could upload my sourcefiles and
get a
correct compile in the server.
 
G

Guest

spam,
Thanks for downloading the express edition.

Add asp.net bin folder to your web app then add a reference to the ByteFX dll
or put ByteFx code in asp.net app_code folder.

Good Luck
DWS
 
G

Guest

Thanks for the answer.

The strange thing is, that I've already done so. Otherwise I would not
be able to compile locally, what I can.
I have a bin folder under my app folder, both locally and on the real
webserver which has the referenced dll. It's on the real webserver, I
have the problem, not locally.
What do you mean by 'put ByteFx code in app_code folder?
What is ByteFx code?
What is app_code folder and where is it?
 

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top