1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sharepoint - enabling server-side scripting

Discussion in 'Microsoft Office Specialist (MOS)' started by Alex Wright, Dec 30, 2009.

  1. Alex Wright

    Alex Wright Megabyte Poster

    501
    9
    57
    Hi,

    I'm trying to enable scripting on our Sharepoint site by modifying the web.config file as per the instructions in this article.

    Now when I try to load a page I receive the following error:

    I have attached a copy of the configuration file in the hope that someone can point out where I'm going wrong.

    I look forward to your replies.

    Kind regards,

    Alex
     

    Attached Files:

    Certifications: 70-680 Configuring Windows 7
    WIP: 70-642
  2. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    171
    211
    Don't really know anything about sharepoint, but have you checked to see if Server Side Scripting is enabled in the IIS settings? I would assume that if the IIS Host for the Sharepoint site has server side scripting disabled, that would cause an issue.

    Also, have you confirmed that the server side scripting you are attempting to execute actually works? An Unexpected error really tells you nothing about where the error is occurring.
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present
  3. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    171
    211
    You appear to be missing the IncludeSubFolders property. I assume (from the implications on the website referenced), that webparts are not stored in the root folder, but rather in a subdirectory. Therefore I doubt the settings would apply as is.
     
    Last edited: Dec 30, 2009
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present

Share This Page

Loading...