473,508 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weird error with Beta 2

I have an application structured like so:

Presentation Layer -> Business Logic Layer -> Web Service Layer -> Data
Layer

When the application first loads, I need to retrieve a list of all the
stores in the system. Since my web service file is huge (11,000+ lines!) it
takes a little while for the first invocation to load. No problem, I'll
just use my handy new BackgroundWorker component, right? That seems to
work, but with a glitch.

If I open the program and let the background worker do its thing, the stores
load in the background and my app is still responsive, which is just what
you would expect. However, if I make a second web service call while the
first one is still loading, it fails on this line in the Reference.cs file:

public DataServ() {
// this line fails in the second call, it complains that
Compeat_BusinessLogic_CompeatWS_DataServ doesn't exist.
this.Url =
Compeat.BusinessLogic.Properties.Settings.Default. Compeat_BusinessLogic_CompeatWS_DataServ;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}

If I wait for this initial async call to finish, all subsequent web service
calls work great. It's just when I try to basically run two at once, one
async and one blocking, that it complains that
Compeat.BusinessLogic.Properties.Settings.Default. Compeat_BusinessLogic_CompeatWS_DataServ
doesn't exist.

I don't create the Properties.Settings components and have no idea why they
are failing under this scenario. When do they get created? How do they get
created?

Any ideas?

TIA,

Mike Rodriguez
Nov 17 '05 #1
0 933

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

Similar topics

11
8620
by: Barry G. Sumpter | last post by:
Can get VS.Net to execute properly. I'm not the only one having this prob. The registry deletions don't work for me. Any users of MVPs have a solution for this?
0
1275
by: Wayne | last post by:
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend...
5
1906
by: crunix | last post by:
Hello. I have developed a medical application with php 4 linked to IBM DB2 database. The database connection is right and i can access data with no problem...but sometimes when i reload the...
2
1305
by: Matthias S. | last post by:
I'm using C#Express Beta and the framework 2.0. I recently realized that my application, when starting has a workingset peak of ~128 MegaB. I startet wondering a bit because the application...
4
1580
by: Wayne | last post by:
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend...
8
1530
by: Daniel Yelland | last post by:
Hi, I have developed a number of code libraries in Win32 DLLs and have written a number of test suite executables that implicitly link to these libraries in order to test them. In one of my test...
4
1226
by: Smoothcoder | last post by:
Hi, there, smart guys! I have an AMD 64 3000+ based system, with Windows XP Professional on it; I recently installed Visual Studio 2003 Enterprise Architect; I created a new C# ASP.NET Web...
16
2892
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
16
1330
by: iwdu15 | last post by:
hi, i have a few forms in my project. when i load form1 (startup for) all is fine, then i open another one and use a login screen to call yet another and all is still fine, but then when i try to...
0
1813
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
0
7326
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
7383
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
7046
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
7498
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
5053
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
4707
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
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1557
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 ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.