Wierd errors for user control

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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!


    VB Programmer Guest

  2. Similar Questions and Discussions

    1. Arrow keys out of control - Wierd
      Hi, I'm Illustrator deficient and just beginning the learning process of Illustrator CS utilizing the Total Training tapes. In lesson 3 there...
    2. user control problem access value from user control to a page
      Thanks a lot for paying attention to my problem , i tell u the problem i have a main form in which i gave a login label that points to a...
    3. Retreiving Oracle data from a custom user control in asp.net (Security errors)
      Greetings all (again) I get an error when trying to access data from oracle database. Application attempted to perform an operation not allowed...
    4. Dynamically Adding User Control with Child User Control
      I have a user control that has a child user control. If I drag this onto the page, it appears and functions normally. If I attempt to add the...
    5. Know in user control page_load if an user control event is going to be fired
      Hi all, i have built a user control that shows a map and let the user zoom in, out, usual stuff. Putting this object in a webform the user can...
  3. #2

    Default Re: Wierd errors for user control

    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:%23Gu9ukdRDHA.2148@TK2MSFTNGP10.phx.gbl...
    > that's where it is supposed to go. why are you posting this all over the
    > internet though?
    >
    > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
    > news:#6GFktYRDHA.304@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!
    > >
    > >
    >
    >

    VB Programmer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139