Empty web.config

I've installed on a Win2003 OS...Manually setup website called SourceSafe, and included those two virtual directories...However, I'm left with an empty web.config file after install. Can someone provide the contents for usual web/remote access.

TIA.


Answer this question

Empty web.config

  • ruerue

    Thxs Roman :)
  • *Rick*

    VSS Admin overwrites empty web.config file with under the Program Files\Microsoft Visual SourceSafe\VSSWebService\bin\VssServiceWebConfig.xml< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    You can copy this file then add appSettings record to it.

    The result should look like this

     

    < xml version="1.0" >

    <configuration>

                <system.web>

                            <customErrors mode="On"/>

                            <authentication mode="Windows"/>

                            <identity impersonate="true"/>

                            <authorization>

                                        <allow users="*"/>

                            </authorization>

                            <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>

                            <sessionState mode="Off"/>

                            <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

                            <httpRuntime executionTimeout="1800"/>

                            <webServices>

                                        <protocols>

                                                    <!-- This disables the service help and generated WSDL pages. -->

                                                    <remove name="Documentation"/>

                                        </protocols>

                            </webServices>

                </system.web>

                <appSettings><add key="\\MyServer\MyDatabase" value="DatabasePath"/></appSettings>

    </configuration>


  • Empty web.config