Agusto Xaverius P Sipahutar

Job:Making some bugs and patch
Moss/Wss,C#,Sql Server,WWF,K2.BlackPearl
Motto : Keep Study and study
See also: Other Geeks@INDC

News




MCP Logo
MCTS Logo

MCP ID# 3542391

My Curiculum Vitae


Agusto Xaverius P S's Facebook profile

Other Article

My Community

My Article/Share Knowledge

Others Moss/Wss Site

My Other Website/Blogs

My Share (Ebook,etc)

Menggunakan Server Side pada Moss / Wss 3.0

Pada Moss/Wss bila kita mau mengunakan tag server side pada aspx yang telah kita buat pasti tidak akan akan jalan dan akan dapat error seperti ini :

An error occurred during the processing of /Report Template/TESTDOC.aspx. Code blocks are not allowed in this file.

Ini adalah contoh kasus pada saat saya membuat server site pada file TestDoc.aspx saya. Dan bagaimana caranya supaya aspx kita dapat menggunakan

tag server side, yaitu dengan cara kita harus mendaftar aspx tersebut bisa menggunakan AllowServerSideScript="true".

 Ini adalah tag yang harus kita update :

<Sharepoint>

...
      <PageParserPaths>
             <PageParserPath VirtualPath="/Report Template/TESTDOC1.aspx" CompilationMode="Always" AllowServerSideScript="true" />
      </PageParserPaths>

... 

</Sharepoint>

Share this post: | | | |
Posted: Mar 13 2008, 11:29 AM by agusto | with no comments
Filed under:

Comments

No Comments