Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Embedding UserControl in HTML on Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Glenn - 21 Apr 2007 14:28 GMT
I have a Windows control library with a UserControl that is being embedded
into an HTML page with an OBJECT tag.  This control requires a configuration
file and I have been successfully using a LINK tag to point IE to the
configuration file.  If you're not sure what I'm talking about this page
should help: http://msdn2.microsoft.com/en-us/library/a7as3z1d(vs.71).aspx

However, when testing on Vista (IIS7) I found that the control will not load
when I have that LINK tag on the page.  Removing the LINK tag will allow the
control to load, but of course I'm then missing the configuration information
the control needs.

Does anyone have any idea what the problem might be?

Regards,
Glenn
Glenn - 21 Apr 2007 15:38 GMT
I found a solution.  The problem is that IIS7 by default will not allow a
.config file to be read from the server.  I actually solved this by giving
the configuration file a .txt extension.

Regards,
Glenn

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.