Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Custom control on html page fails after VS project created

Reply
Thread Tools

Custom control on html page fails after VS project created

 
 
Craig
Guest
Posts: n/a
 
      01-11-2006
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?

 
Reply With Quote
 
 
 
 
Craig
Guest
Posts: n/a
 
      01-11-2006

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.

 
Reply With Quote
 
 
 
 
Craig
Guest
Posts: n/a
 
      01-11-2006

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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aspnet.mdf file still is created even though i created a custom provider? Sunfire ASP .Net 1 11-10-2007 04:30 AM
Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created) dickster ASP .Net Building Controls 0 12-08-2005 09:32 AM
.NET custom project - uninstall fails forever Sabin ASP .Net 0 06-04-2004 09:12 AM
How to display a html page after the original html page runs a perl script Stu HTML 2 04-06-2004 05:19 AM
ControlDesigner not invoked on custom control when control is rendered within another custom control Matt Sokol ASP .Net Building Controls 2 08-07-2003 07:13 AM



Advertisments
 



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