We
wanted to have a webpart in a WSS site to stream the contents of a file
out. This is so a custom website header webpart could be produced but
have the content modifyable.
The
problem comes as the webpart has no access to anything as you would
expect. A quick work-around for an intranet is to lower the trust level
on the WSS site, i.e. in the web.config file under
<configuration>
<system.web>
<trust
level="Full"/>
</system.web>
</configuration>
This
way the web part is allowed to open up external files and read them. I
wouldn't recommend this for internet sites however.
6:00:12 PM
|