473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problems with User Controls in IE from the GAC

I'm trying to write a WinForms User Control for Internet Explorer that is accessed from the global assembly cache (GAC) on the server.

I've followed the KB article 839300 (http://support.microsoft.com/default...;en-us;839300).

This has got me as far as hosting a strongly named control in IE as long as the UserControl.dll is in the same directory.

I've then tried installing the UserControl in the GAC and removing it from the website directory, however the user control doesn't render. I'm using the following code in my HTML:

<OBJECT id="MyWinControl1" height="200" width="200" classid="http:UserControl.dll#UserControl.UserCont rol1" VIEWASTEXT>
</OBJECT>

Is there anything else I need to do to locate a UserControl from the GAC?

All the documentation I have found on this says this should be possible, but I can't find any specific walkthroughs or examples.

Thanks in advance,
--------------------------------
From: Colin Orr

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>l6MYZ0FZK0Ci5DFMSfTsYw==</Id>
Nov 19 '05 #1
1 1367
I don't believe that is possible, Colin. IIS has to find the dll the browser
is requesting.
--
Scott
http://www.OdeToCode.com/blogs/scott/
I'm trying to write a WinForms User Control for Internet Explorer that
is accessed from the global assembly cache (GAC) on the server.

I've followed the KB article 839300
(http://support.microsoft.com/default...;en-us;839300).

This has got me as far as hosting a strongly named control in IE as
long as the UserControl.dll is in the same directory.

I've then tried installing the UserControl in the GAC and removing it
from the website directory, however the user control doesn't render.
I'm using the following code in my HTML:

<OBJECT id="MyWinControl1" height="200" width="200"
classid="http:UserControl.dll#UserControl.UserCont rol1" VIEWASTEXT>

</OBJECT>

Is there anything else I need to do to locate a UserControl from the
GAC?

All the documentation I have found on this says this should be
possible, but I can't find any specific walkthroughs or examples.

Thanks in advance,
--------------------------------
From: Colin Orr
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>l6MYZ0FZK0Ci5DFMSfTsYw==</Id>

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
6
by: Jason Winters | last post by:
I have implemented a user control in c# .net 2002 but the problem is that the control keeps disappearing off of the form for no reason. I am not making any changing to the form or the control. It...
1
by: john | last post by:
I have two different problems: 1. When the user has clicked on a button that is causing the browser to post back to the server, it could take a little while for the new page to show up. So in...
4
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for...
0
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for...
3
by: google | last post by:
I'm developing an application for use within my company in Access 2003. I'm new to '03, the application I did for my former employer was in '97. The two applications have similar functionality...
2
by: mdavis | last post by:
Hello, I'm using a Login Control on asp.net 2.0 website and it works fine on IE & Firefox, however I have recently added a javscript function to listen for a 'return-key-click' and am encountering...
1
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I have an VC++ MFC Win32 application that isn't working correctly when I build it with VS2005. The problem seems to be in some ADO ActiveX controls that came with VS6 and are now out of support....
5
by: Jonathan Boivin | last post by:
Hi, I've got some problems with loading bills using a bill usercontrol I built. If I load all current bills in my test environment (156) everything is fine once, but repeating the operation...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.