Jun 30, 2008

Enable inline Code for SharePoint Document Libraries

By default inline Code isn't allowed for ASPX Pages they are not in the 12 Hive's Layout Folder. To enable inline Code for ASPX Pages in a Document Library add the following snippet to the SharePoint's web.config. Place it in the <SharePoint> section between the <SafeMode> {here} <SafeMode> tags.

<PageParserPaths>

<PageParserPath
VirtualPath="/[Site]/[DocLib]/*"
CompilationMode="Always"
AllowServerSideScript="true"
IncludeSubFolders="true" />

</PageParserPaths>

Now inline Code is enabled for the Document Library specified in the VirtualPath attribute.

Be careful with Write-Permissions on that Document Library, could be a security impact!

11 comments:

Amol Gharat said...

hi, can u show this with an example. It will be very helpful.
Thanx

Christian said...

After enabling inline code you can store aspx pages with inline code in the sharepoint lib. Example: http://www.808.dk/?code-aspnet-inline

Website developers said...

Great stuff here. The information and the detail were just perfect. I think that your perspective is deep, its just well thought out and really fantastic to see someone who knows how to put these thoughts down so well. Great job on this.

college paper said...


It is the best to provide and offer the best specialized Computer Training & Software training for various Computer IT courses. This is a great opportunities in the present trend.

Iccesally Lee said...

The ancient action you should acquire while prada replica arcade online is your measurements. What's the point in diplomacy a dress that will not fit you, right? So, you should apperceive your size; bust, waist and adeptness at the minimum. Don't access dresses that achieve you accessory like you about fit in or that which is colossal and makes you accessory all baggy. Abounding of the aliment for e.g. Tidestore provides the abstracts of the sizes attainable alternating with the measurements. You apperceive your analysis best added than anyone away and what sizes does it prefer. Secondly are to replica handbags access the adapted destination to shop. You got to assay out the reviews and ratings of the affluence ancient if you are diplomacy from a actually new store. Be added cautious. If diplomacy branded items, be acquainted of the achievement that abounding sellers are out to abandon you. Apperceive the casting of a authentic casting and accessory for complete pictures that can be omega replica acclimated to assay a accoutrement as complete or fake.

swiss replica watches said...

If you choose from the community shop, all of I may well think are research options and rates. Normally, one can find greater bargains on line as as compared with at any store. An individual's supply, traditionally, will likely be much less by using a store at the same time. However, discount knockoff TAG Heuer watches it will be easier in discount replica Ulysse Nardin watches structure to honestly touch to observe the watch you aspire to Replica Hublot watches acquire. Breil happen replica designer handbags to be acknowledged creative designers of attractive and attractive designer pieces. This company is definitely situated during France; Breil layout presents a Replica Chopard watches single thing from advancement so as to attraction. Breil Institution was built within 1942. There is become all well-known designer globally, giving equivalent high-quality and magnificence as a D&G competition.

Hug Day said...

happy hug day 2016
happy hug day 2016 Date SMS Messages Quotes
How Hug Day Is Celebrated
Happy hug day sms

Fangyaya said...

kate spade outlet
louis vuitton bags
christian louboutin shoes
kevin durant 9 shoes
ralph lauren sale
michael kors purses
coach factory outlet
polo outlet
hollister jeans
vans outlet
adidas superstar
jordan 6s
oakley sunglasses
toms outlet
cheap ray ban sunglasses
louis vuitton outlet
louis vuitton bags
louis vuitton purses
coach outlet clearance
michael kors outlet clearance
coach outlet
true religion jeans
hermes birkin handbags
oakley outlet
hermes bags
louis vuitton handbags
cartier watches outlet
michael kors outlet
kate spade outlet
polo outlet
christian louboutin outlet
ray ban sunglasses outlet
jordans for sale
louis vuitton
coach outlet online
ralph lauren outlet
mont blanc pens outlet
polo shirts
air jordan femme
vans sneakers
20168.8chenjinyan

dada24 Xu said...

ugg outlet
christian louboutin shoes
ray ban sunglasses
birkenstock sandals
oakley sunglasses
ralph lauren outlet online
coach outlet
oakley sunglasses outlet
kate spade
ugg boots
2061921caiyan

chenlina said...

chenlina20160923
chenlina20160923
gucci handbags
gucci outlet
ray ban sunglasses
toms shoes
clarisonic
kate spade
ugg boots
oakley sunglasses
ed hardy clothing
louis vuitton outlet

chenmeinv0 said...

reebok outlet
polo outlet
louis vuitton
cheap oakley sunglasses
toms outlet
nike huarache uk
hilfiger outlet
ralph lauren polo uk
hollister clothing
ray ban glasses
hzx20170228