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