Wierd errors for user control

Discussion in 'ASP .Net Web Controls' started by VB Programmer, Jul 8, 2003.

  1. 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, Jul 8, 2003
    #1
    1. Advertising

  2. 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:%...
    > that's where it is supposed to go. why are you posting this all over the
    > internet though?
    >
    > "VB Programmer" <> wrote in message
    > news:#...
    > > 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, Jul 9, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer

    Wierd errors for user control

    VB Programmer, Jul 8, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    354
    VB Programmer
    Jul 9, 2003
  2. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,028
    Mark Goldin
    Jan 17, 2004
  3. Chris

    Wierd build errors

    Chris, Jan 23, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    274
    Chris
    Jan 23, 2007
  4. Replies:
    3
    Views:
    419
  5. Replies:
    0
    Views:
    113
Loading...

Share This Page