473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB.Net Compiling problem

I am recompiling one of the files from the ASP.BEY examples, and am
using the command line
vbc /t:library /r:Microsoft.VisualBasic.dll /r:system.xml.dll
/r:system.web.services.dll /r:system.data.dll
/r:system.web.services.dll
/r:system.dll /r:system.xml.dll /out:BusObjVB.dll BusObj.vb
I get the following errors. I suspect I am missing a library ---

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(19) : error
BC30466: Namesp
ace or type 'DataLayer' for the Imports 'DataLayer' cannot be found.

Imports DataLayer
~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(40) : error
BC30002: Type '
DataObjVB' is not defined.

Private Data As DataObjVB
~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(45) : error
BC30002: Type '
DataObjVB' is not defined.

Data = New
DataObjVB("server=(local);database=grocertogo;Inte grated Securi
ty=SSPI")
~~~~~~~~~

What do I need to do?
Thanks

--
Michael Fuerst
802 N Broadway
Urbana IL 61801

217-239-5844
Nov 20 '05 #1
1 1254
Hi,

You are missing a reference to the dll which contains the datalayer
namespace. It must be available from asp.bey.

Ken
-----------------
<mj**********@yahoo.com> wrote in message
news:uQ**************@TK2MSFTNGP11.phx.gbl...
I am recompiling one of the files from the ASP.BEY examples, and am
using the command line
vbc /t:library /r:Microsoft.VisualBasic.dll /r:system.xml.dll
/r:system.web.services.dll /r:system.data.dll
/r:system.web.services.dll
/r:system.dll /r:system.xml.dll /out:BusObjVB.dll BusObj.vb
I get the following errors. I suspect I am missing a library ---

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(19) : error
BC30466: Namesp
ace or type 'DataLayer' for the Imports 'DataLayer' cannot be found.

Imports DataLayer
~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(40) : error
BC30002: Type '
DataObjVB' is not defined.

Private Data As DataObjVB
~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\BusObj. vb(45) : error
BC30002: Type '
DataObjVB' is not defined.

Data = New
DataObjVB("server=(local);database=grocertogo;Inte grated Securi
ty=SSPI")
~~~~~~~~~

What do I need to do?
Thanks

--
Michael Fuerst
802 N Broadway
Urbana IL 61801

217-239-5844

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nikola Milutinovic | last post by:
Hi all. I'm not subscribed to the list, so all replies to me mail directly. I ran into a small problem, for which we have found a workaround. I was compiling PostgreSQL v7.4.1 and it's...
0
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html ...
11
by: Arturo DiDonna | last post by:
Hello everyone. I am trying to compile someone else code and I am stuck with compilation problems using the g++ 3.3 compiler. Basically, when compiling the following code, I get this error...
3
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o...
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
3
by: Dmitri Shvetsov | last post by:
Hi All, Did somebody have a problem compiling some solution in VS2003? I get the error every time that some files are locked and are using by another process. I repeat compiling again and again...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
2
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One...
0
by: erkidevries | last post by:
Problem compiling Tkinter program with bmp images (using py2exe) I have a Tkinter gui program that uses bmp as backgrounds. The program itself works when I run from the source. I placed the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.