Embedding UserControl in HTML on Vista

G

Guest

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top