ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB934529

An update that lets you configure the location of the temp folder is available for the .NET Framework 2.0

When you try to add a WebReference object to a Web service in the Microsoft .NET Framework 2.0, files are created by the Web service discovery. The Web service discovery is handled by the DiscoveryClientProtocol class. By using the Web service discovery process, Web service clients, such as Microsoft Visual Studio 2005, learn that an XML Web service exists. Web service clients also learn where to find the XML Web service’s description document. The Web service clients then save the discovered documents to the disk by using the WriteAll method. For example, the discovered documents may be .xsd schema files or service descriptions. At the end of the process, the client deletes the files.

For security reasons or in other situations, you may want to change the location of these files in the temp folder. An update is available for the .NET Framework 2.0. This update lets you configure the location of the temp folder by using the application’s Machine.config file. You can configure the location of the temp folder by using code that resembles the following.

<system.xml.serialization>
    <xmlSerializer tempFilesLocation="<Full path of the temp folder>"/>
  </system.xml.serialization>
There is a download that resolves this issue. See Hotfixes for details.
32-bit Download: NDP20-KB934529-X86.exe
64-Bit Download: Contact Microsoft
This issue is resolved in SP1.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB934529.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

  • There are no comments yet...Come on, share your thoughts!

Leave a Comment