Wierd errors for user control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VB Programmer

    #1

    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

    #2
    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:%23Gu9ukdR DHA.2148@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > 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:#6GFktYRDH A.304@tk2msftng p13.phx.gbl...[color=green]
    > > Using VB.NET user control in ASP.NET webform. When I look at the[/color][/color]
    webform[color=blue]
    > in[color=green]
    > > the browser I get this error:
    > > Could not instantiate ActiveX control[/color]
    > 'd940e4d2-6079-11ce-88cb-0020af6845f6'[color=green]
    > > because the current thread is not in a single-threaded apartment.
    > >
    > > In addition, in my webform's Design view I cannot "draw" the user[/color][/color]
    control.[color=blue][color=green]
    > > The uc always goes to the bottom (like a timer control).
    > >
    > > Any ideas?
    > >
    > > Thanks!
    > >
    > >[/color]
    >
    >[/color]


    Comment

    Working...