473,507 Members | 2,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 - UI can't load or find the DAL - What's up with that?

Hello,

Why can't my application recognize or find the data layer. These are
the design-time and runtime errors I receive.

\\
"One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

The system cannot find the file specified. (Exception from HRESULT:
0x80070002)"
//

In the Error list it appears this way
\\
"Could not load file or assembly 'QmsDataLayer.dll' or one of its
dependencies. The system cannot find the file specified."
//

The dll is there. I have been using it all night. I made no changes to
it. Now I get this error.

I've rebuilt, closed, reopened. It is still located where it should be.
However, If follow the following three steps the form and code will run
again... for a while.

1.) I comment out this button code...
\\
Protected Overrides Sub btnOK_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnOK.Click
If _bAlreadyRun Then
'do nothing
'This is not needed because we close the form before that
can happen
Else
'Save to Quote table
InsertIntoQuote()
'Save to Version table
'UpdateDatasourceTable(_dataSet1.tbl010Quote)
insertIntoVersion()
'Update the database
'UpdateDatasourceTable(_dataSet1.tbl020Version)
_bAlreadyRun = True
End If
Me.Close()
End Sub
//

2.) I close all the code and forms

3.) I rebuild, close the IDE, and reopen.
Then it will run a few more times... then I will get an error again.
What is going on?

Any thoughts or suggestions?

Thank you,
dbuchanan

Dec 9 '05 #1
0 1092

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

Similar topics

4
1775
by: Fang | last post by:
Hi, I'm new to PHP. I followed an example on the book and wanted to pass a variable from one html page to a php page, but it always tells me the passed variable is undefined. I've checked the...
7
1563
by: | last post by:
Can I load an aspx page using a Linux machine? Thanks.
16
9500
by: Otie | last post by:
Hi, Is there a way for VB5 to determine exactly where on a hard drive a .exe file is stored upon the .exe file's first copying to the hard drive? What I need to know is the exact hard drive...
10
13912
by: lamxing | last post by:
Dear all, I've spent a long time to try to get the xmldocument.load method to handle UTF-8 characters, but no luck. Every time it loads a document contains european characters (such as the...
5
8268
by: Alias | last post by:
Hi - I'm trying to implement a custom RoleProvider based on the SqlRoleProvider. I keep receiving a an error that it can't load type 'MyRoleTest.MyRoleProvider' when trying to load my...
2
1837
by: ctrent | last post by:
I want to display a jpg for 3 seconds before the flv starts playing. How can I change the jpg via html? Thanks
0
886
by: amitsaxena1981 | last post by:
Hi, I am using asp.net with vb.net I am creating a roster grid user control at runtime but the problem is that I want to add the another user control with in this user control at runtime...
4
1524
by: Andy B | last post by:
I have 2 web applications: ParentApp and ChildApp. The ChildApp root folder is setup like this: ParentApp/ChildApp. I set the output folder of the ChildApp under the build section in VS2005...
1
5259
by: Andy B | last post by:
I am using an accordion control on a page that seems to work just fine on my local computer (IIS not installed and it can't be either). When I upload to the live server, I get a few errors, but the...
5
1452
by: Jingle 1968 | last post by:
Hi, I am looking to load some photographic Images to a disc. I want to allow the images to be printed, but do not want to allow the disc to be copied for circulation.....Is this at all possible? and...
0
7223
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
7111
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
7319
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
7376
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...
0
7485
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...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
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
3191
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
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.