Custom control on html page fails after VS project created

Discussion in 'ASP .Net Building Controls' started by Craig, Jan 11, 2006.

  1. Craig

    Craig Guest

    I created a virtual directory and in the folder created an html file
    which includes an <object classid=...> tag that references a simple
    windows forms control dll. This works perfectly. Control displays as
    expected.

    I then used Visual Studio to create a new C# Web Appliation on the
    virtual directory. Now the control fails to display.

    I then removed all files VS created so the folder is back to the point
    where the control displayed, but it still fails.

    Anyone know what VS does to the virtual directory to make display of
    ..NET controls fail?
    Craig, Jan 11, 2006
    #1
    1. Advertising

  2. Craig

    Craig Guest

    Craig wrote:
    > I created a virtual directory and in the folder created an html file
    > which includes an <object classid=...> tag that references a simple
    > windows forms control dll. This works perfectly. Control displays as
    > expected.
    >
    > I then used Visual Studio to create a new C# Web Appliation on the
    > virtual directory. Now the control fails to display.
    >
    > I then removed all files VS created so the folder is back to the point
    > where the control displayed, but it still fails.
    >
    > Anyone know what VS does to the virtual directory to make display of
    > .NET controls fail?


    Additional information:
    I created a new virtual directory pointing to the same folder. It
    works! This suggests the difference is in the virtual directory, not
    the physical folder. Looking at the properties of the 2 virtual
    directories, I can see no meaningful difference.
    Craig, Jan 11, 2006
    #2
    1. Advertising

  3. Craig

    Craig Guest

    Craig wrote:
    > I created a virtual directory and in the folder created an html file
    > which includes an <object classid=...> tag that references a simple
    > windows forms control dll. This works perfectly. Control displays as
    > expected.
    >
    > I then used Visual Studio to create a new C# Web Appliation on the
    > virtual directory. Now the control fails to display.
    >
    > I then removed all files VS created so the folder is back to the point
    > where the control displayed, but it still fails.
    >
    > Anyone know what VS does to the virtual directory to make display of
    > .NET controls fail?


    Additional information:
    I created a new virtual directory pointing to the same folder. It
    works! This suggests the difference is in the virtual directory, not
    the physical folder. Looking at the properties of the 2 virtual
    directories, I can see no meaningful difference.
    Craig, Jan 11, 2006
    #3
    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. Sabin
    Replies:
    0
    Views:
    609
    Sabin
    Jun 4, 2004
  2. Stu
    Replies:
    2
    Views:
    784
    Rob McAninch
    Apr 6, 2004
  3. NMA
    Replies:
    1
    Views:
    317
    Victor Bazarov
    Jan 13, 2005
  4. Sunfire
    Replies:
    1
    Views:
    480
    Roland Dick
    Nov 10, 2007
  5. Matt Sokol
    Replies:
    2
    Views:
    374
    Theo Tillotson
    Aug 7, 2003
Loading...

Share This Page