.Net :
Updated: 19/05/2004; 11:42:02 PM.

 



Subscribe to ".Net " in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Wednesday, 19 May 2004

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    comment []

© Copyright 2004 Crumpet.



Click here to visit the Radio UserLand website.

 


May 2004
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Apr   Jun