how to deploy web.config modifications in a Sharepoint web application?

后端 未结 6 835
孤城傲影
孤城傲影 2021-01-03 07:19

I have a website in Sharepoint 2007. We use a wsp to deploy our projects. We can deploy dlls, usercontrols, features, but i don\'t know how to include new lines in the web.c

6条回答
  •  一生所求
    2021-01-03 07:43

    Regarding web.config files...

    Web.config is an XML document that contains configuration settings for a web application. It's located in the root directory of a web application, so for SharePoint, it's usually located in the folder C:\Inetpub\wwwroot\wss\VirtualDirectories\SharePoint80, where SharePoint80 is the name of your web application.

    Manually making edits to the web.config file is safe as long as you keep the the tags and sections in the right order. Look at this article.

    It's also possible to make changes to it programatically, this post should show you how.

    Hope this helps.

提交回复
热议问题