Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Accessing Config File from IE Hosted Controls?

2 views
Skip to first unread message

Dan Hickman

unread,
Dec 20, 2001, 6:02:26 PM12/20/01
to
I am having problems getting an Internet Explorer hosted control to
recognize my configuration file from the server. The docs say to add a link
tag to the html file but I can't get that to work.
Have tried a number of different settings for the link but can't seem to get
it right.
Can DLL's use a config file?
Does the config filename have to be a certain name? I notice that .config
files are restricted from download so I reset the file extension to .xml but
that doesn't help either.

Also, in the docs, I find two different examples.
<link rel="Configuration" HREF="[location]">
and
<link rel="ConfigurationFileName" HREF="[location]">

Which one is correct and should the rel actually be that text or a filename.

Any assistance would be greatly appreciated.

Dan


Amitabh

unread,
Dec 27, 2001, 4:46:21 PM12/27/01
to
"Dan Hickman" <dhic...@alliancedata.com> wrote in message news:<Ob6jBraiBHA.2580@tkmsftngp03>...

I am having the same problem.Please let me know if you get the solution.
Thanx

Bob Willer

unread,
Jan 23, 2002, 1:21:33 PM1/23/02
to
Has anybody got this to work??
Thanks
Bob Willer


"Amitabh" <ami...@yahoo.com> wrote in message
news:420d6e4d.0112...@posting.google.com...

Peter Torr (MS)

unread,
Jan 25, 2002, 9:54:12 PM1/25/02
to
"Bob Willer" <bo...@liquidmatrix.com> wrote in message
news:#2d0a6DpBHA.1824@tkmsftngp07...

> Has anybody got this to work??
> Thanks
> Bob Willer

Sure; the RTM docs should be OK:

<link rel="configuration" href="myfile.myconfig">

Note that if you use the extension ".config" then ASP .NET will ban the
file. You should use a different extension.

Peter

--
Peter Torr -- pt...@microsoft.com -- JScript .NET / VSA Runtime
Waiting for the Vengabus? http://www.microsoft.com/info/cpyright.htm
Please post all questions to the group. Thanks.

Dan Hickman

unread,
Feb 7, 2002, 11:11:29 AM2/7/02
to
I was finally able to make this work. There seems to be a problem with
reading the config file if "anonymous" access is turned off on the config
file. I enabled anonymous access on just the config file and everything
works great now.

Also, the config file cannot have a .config extension as IIS doesn't allow
these files to be downloaded. Give it a .xml extension and all is well.

Regards,
Dan Hickman

"Dan Hickman" <dhic...@alliancedata.com> wrote in message
news:Ob6jBraiBHA.2580@tkmsftngp03...

0 new messages