RE: Move to vs2005 causes errors in external controls
- From: "musosdev" <musoswire@xxxxxxxxxxxxxxxx>
- Date: Thu, 12 Jan 2006 08:45:07 -0800
Hi
Thanks for the reply.... hopefully I can answer your questions.
Ok, the website code is all located on my Win2k3 server, in a directory on
the W: drive. W:\Intranet to be precise. All the dlls and everything are
located in the \bin folder below that (W:\Intranet\Bin).
IIS 6 has a website with it's home directory set to W:\Intranet.
The machine running Visual Studio is connected via the normal router setup,
with W:\ on the server being mapped as W:\ on the client machine (to keep
things simple!), and when I open my solution, I'm opening it directly from
the mapped W: (W:\Intranet\Intranet.sln).
It would appear that the dll is being recognised, as if I comment out the
Register line..
<%@ Register TagPrefix="obout" Namespace="OboutInc.Calendar"
Assembly="obout_Calendar_Pro_Net" %>
then the following line...
<obout:Calendar runat="server" ID="calDate" />
gives me the error "Unrecognized tag prefix or device filter 'obout'."
Whereas, if I leave that line in, I get the error.. "Element 'Calendar' is
not a known element. This can occur if there is a compilation error in the
Web site."
Either way, I still get the System.Web.AspNetHostingPermission error.
The control I'm using doesn't have a design time implementation, and if I
try and drag the DLL onto the form, I just get an <a href /> element :)
I hope this helps? The control I'm using has a trial version available at
www.obout.com if that will help.
Hoping you can fix this!!
Cheers
Dan
""Yuan Ren[MSFT]"" wrote:
> Hi Dan,
>
> Thanks for your supply more information!
>
> I think maybe I ignore some information actually. Could you please tell me
> about the relationship between your web application and the custom control?
> What I mean is whether the .dll file of the customer control is in the same
> machine with the web application. If not, please give me more details.
>
> Additionally, can you add the custom control in the web page in design time?
>
> Regards,
>
> Yuan Ren [MSFT]
> Microsoft Online Support
>
>
.
- References:
- RE: Move to vs2005 causes errors in external controls
- From: "Yuan Ren[MSFT]"
- RE: Move to vs2005 causes errors in external controls
- From: "Yuan Ren[MSFT]"
- RE: Move to vs2005 causes errors in external controls
- From: musosdev
- RE: Move to vs2005 causes errors in external controls
- From: "Yuan Ren[MSFT]"
- RE: Move to vs2005 causes errors in external controls
- Prev by Date: Re: Validation being applied to user controls (2005)
- Next by Date: Re: Referencing other web projects within Visual Studio 2005
- Previous by thread: RE: Move to vs2005 causes errors in external controls
- Next by thread: RE: Move to vs2005 causes errors in external controls
- Index(es):
Relevant Pages
|