473,466 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Wierd errors for user control

Using VB.NET user control in ASP.NET webform. When I look at the webform in
the browser I get this error:
Could not instantiate ActiveX control 'd940e4d2-6079-11ce-88cb-0020af6845f6'
because the current thread is not in a single-threaded apartment.

In addition, in my webform's Design view I cannot "draw" the user control.
The uc always goes to the bottom (like a timer control).

Any ideas?

Thanks!
Nov 19 '05 #1
1 1178
I am not "posting this all over the internet". I put them in what I felt
were all appropriate newsgroups. I'll try to limit those even more. Sorry!
;)

Thanks.

"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...
that's where it is supposed to go. why are you posting this all over the
internet though?

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:#6*************@tk2msftngp13.phx.gbl...
Using VB.NET user control in ASP.NET webform. When I look at the webform
in
the browser I get this error:
Could not instantiate ActiveX control

'd940e4d2-6079-11ce-88cb-0020af6845f6'
because the current thread is not in a single-threaded apartment.

In addition, in my webform's Design view I cannot "draw" the user

control. The uc always goes to the bottom (like a timer control).

Any ideas?

Thanks!


Nov 19 '05 #2

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

Similar topics

4
by: ManaUser | last post by:
It works normally with one or a small number of files selected, but if I try to select a lot (have't nailed down the exact number yet) I get something like this: C:\Program Files\Dink...
2
by: Ivan D | last post by:
Other than buttons, most controls in VB.NET have their MouseDown event run slow (and I believe this also happened in VB 6.0). The MouseUp event can keep up with the rate at which a mouse button is...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
0
by: Niranjan | last post by:
Access XP Windows XP This code has been working for over 5 years with no problems and all of a sudden I am running into these wierd problems. I have this code to delete a record....
2
by: CMEDIA_SOUND | last post by:
I have a peculiar problem, I have a tabpage with a label control on it. When i set a background image to the tabpage and drag the label around it has paint issues in that it is slow, granted the...
1
by: VB Programmer | last post by:
Using VB.NET user control in ASP.NET webform. When I look at the webform in the browser I get this error: Could not instantiate ActiveX control 'd940e4d2-6079-11ce-88cb-0020af6845f6' because the...
1
by: Ersin Gençtürk | last post by:
We couldn't find why these errors happen.They doesn't appear everytime.And they appear different pages at different times.Is there somebody know why these happenes ? First user gets this error :...
112
by: Tom | last post by:
This is very strange: I have a Windows Form with a Panel on it. In that panel I dynamically (at run time) create some labels, as so: for i=1 to x dim ctlNew as New Label() with ctlNew...
3
by: walkeraj | last post by:
I'm trying to compile an open source game called IVAN , and I'm able to compile it from a makefile, but not from an IDE. I have attempted to recreate the way the makefile compiles the project as...
0
by: Tom | last post by:
I have some very strange issues with combo boxes on a tab control. Here's the scenario: I have a Windows Forms form that has a tab control on it, with two (2) tabs. Tab 2 happens to have a number...
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
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
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: 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.