473,467 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

vb net compiling problem

I am recompiling one of the files from the ASP.NET 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?
--
Michael Fuerst
802 N Broadway
Urbana IL 61801

217-239-5844
Nov 18 '05 #1
1 988
CT
Well, the code file(s) containing the DataLayer namespace and the DataObjVB
type is somehow missing. I searched the net and I found this:
http://www.ssw.com.au/ssw/kb/codebas...Objects-DH.htm

Can you cope and paste from there?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
<mj**********@yahoo.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
I am recompiling one of the files from the ASP.NET 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?
--
Michael Fuerst
802 N Broadway
Urbana IL 61801

217-239-5844

Nov 18 '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 ...
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...
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...
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:
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.