asd

bubblemessengerSecurity

Nov 5, 2013 (3 years and 9 months ago)

123 views

To deploy existing share poi nt web site to different “Server” I am using Backup and Restore
Operations:


Command for backup and restore are as under:

Backup

==========================================

"C:
\
Pr ogr am F i l es
\
Common F i l es
\
Mi cr os of t S har ed
\
web s
er ver ex t ens i ons
\
12
\
BI N
\
S T S ADM.E XE"
-
o back up
-
ur l ht t p://s r v:1 76 04/
-
f i l ename c:
\
back up1 5
t h
_ Nov



Res t or e

==========================================

"C:
\
Pr ogr am F i l es
\
Common F i l es
\
Mi cr os of t S har ed
\
web s er ver ex t ens i ons
\
12
\
BI N
\
S T S ADM.E XE"
-
o r es t or e
-
ur l h
t t p://cubi c
-
mos s/
-
f i l ename " c:
\
back up15
t h
_ Nov"

over wr i t e


Site Prerequisites :


-
Depl oy T el er i k DL Ls t o GAC( Gl obal As s embl y Cache)

-
Copy Gl obal Res our ces t o Web Di r ect or y

-
i ns t al l
Ret ur n of Smar t Par t v1.3

-
i ns t al l
T hi r d Par t y Sur vey Pl us E
val uat i on Web

-
Neces s ar y

Web.Conf i g


Conf i gur at i on s et t i ngs whi ch ar e as Under


-

T o Enabl e AJ AX Suppor t f or T el er i k

-

Addi ng Saf e Cont r ol s t o Web.conf i g

-

Per mi s s i on Secur i t y L evel


Mi ni mal t o
F ul l

(
<t r us t l evel ="WSS_ Mi n
i mal" or i gi nUr l ="" />

t o
<t r us t
l evel ="
f ul l
" or i gi nUr l ="" />
)

-

Enabl i ng L
anguage Suppor t


To extend your SharePoint site with Microsoft ASP.NET AJAX 1.0, you’ll need to perform a
few steps
:


Fi r s t, you wi l l need t o downl oad and i n
s t al l ASP.NET AJ AX on s er ver s i n your f ar m.

Second, you need t o ex t end web.conf i g wi t h s ome s et t i ngs t o enabl e AS P.NET AJ AX t echnol ogy.



T hi r d, you wi l l need t o add t he AS P.NET AJ AX Scr i pt Manager i nt o your mas t er page t o enabl e s cenar i os
s uch as Ex t ender
s or Updat e

Panel s.



I ns t al l i ng ASP.NET AJ AX on s er ver s i n your f ar m


You wi l l want t o i ns t al l t he f ul l "AS P.NET 2.0 AJ AX Ex t ens i ons 1.0" f r om
aj ax.as p.net
.


Ex t endi ng Shar ePoi nt web.conf i
g f i l es wi t h Mi cr os of t AS P.NET AJ AX 1.0


Ex t endi ng Shar ePoi nt web.conf i g f i l es wi t h AS P.NET AJ AX r equi r es t hat you i nt er l eave s ome Aj ax r egi s t r at i on
ent r i es i n
-
l i ne wi t h WSS r egi s t r at i on ent r i es.


T o do t hi s you wi l l need t o edi t your S har ePoi nt web.conf i g

f i l e,
t ypi cal l y i n a di r ect or y l i ke c:
\
i net pub
\
wwwr oot
\
ws s
\
vi r t ual di r ect or i es
\
80.


1.

Add a <s ect i onGr oup>el ement t o t he <conf i gSect i ons >t ag:


<conf i gS ect i ons >





<s ect i onGr oup name="s ys t em.web.ex t ens i ons"
type="System.Web.Confi gurati on.SystemWebExte
nsi onsSecti onGroup, System.Web.Extensi ons,
Versi on=1.0.61025.0, Cul ture=neutral, Publ i cKeyToken=31bf3856ad364e35">



<s ect i onGr oup name="s cr i pt i ng" t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngS ect i onGr oup,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur
e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35">



<s ect i on name="s cr i pt Res our ceHandl er"
t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngS cr i pt Res our ceHandl er S ect i on, S ys t em.Web.E xt ens i ons,
Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"

r equi r eP er mi s s i on="f al s e"
al l owDef i ni t i on="Machi neT oAppl i cat i on"/>



<s ect i onGr oup name="webS er vi ces"
t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngWebS er vi ces S ect i onGr oup, S ys t em.Web.E xt ens i ons,
Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 38
56ad364e35">



<s ect i on name="j s onS er i al i z at i on" t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngJ s onS er i al i z at i onS ect i on,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"
r equi r eP er mi s s i on="f al s e" al l owDef i ni t i
on="E ver ywher e" />



<s ect i on name="pr of i l eS er vi ce" t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngPr of i l eS er vi ceS ect i on,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"
r equi r eP er mi s s i on="f al s e" al l owDef i ni t i
on="Machi neT oAppl i cat i on" />



<s ect i on name="aut hent i cat i onS er v i ce"
t ype="S ys t em.Web.Conf i gur at i on.S cr i pt i ngAut hent i cat i onS er vi ceS ect i on, S ys t em.Web.E xt ens i ons,
Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35" r equi r eP er mi s s i
on="f al s e"
al l owDef i ni t i on="Machi neT oAppl i cat i on" />



</s ect i onGr oup>



</s ect i onGr oup>



</s ect i onGr oup>

</conf i gS ect i ons >





2.

Add a <cont r ol s > s ect i on as a chi l d of t he <s ys t em.web>/<pages > t ag.





<pages >



<cont r ol s >



<a
dd t agPr ef i x="as p" names pace="S ys t em.Web.UI" as s embl y="S ys t em.Web.E xt ens i ons,
Versi on=1.0.61025.0, Cul ture=neutral, Publ i cKeyToken=31bf3856ad364e35"/>



</cont r ol s >



</pages >




3.

Add t he f ol l owi ng t ag t o t he <as s embl i es > t ag, wi t hi n <compi l at i on
>:




<as s embl i es >



<add as s embl y="S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al,
Publ i cKeyT oken=31bf 385 6ad364e35"/>



</as s embl i es >


4.

Add s ome new r egi s t r at i ons t o t he end of t he <ht t pHandl er s > s ect i on:



<ht t pHandl er s >




<add ver b="*" pat h="*.as mx" val i dat e="f al s e" t ype="S ys t em.Web.S cr i pt.S er vi ces.S cr i pt Handl er F act or y,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



<add ver b="*" pat h="* _ AppS er vi ce.axd" val i dat e="f al
s e"
t ype="S ys t em.Web.S cr i pt.S er vi ces.S cr i pt Handl er F act or y, S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0,
Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



<add ver b="GE T,HE AD" pat h="S cr i pt Res our ce.axd" t ype="S ys t em.Web.Handl er s.S cr i pt Res our ceHandl er,

S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"
val i dat e="f al s e"/>



</ht t pHandl er s >



5.

Add a new r egi s t r at i on t o t he Ht t pModul es s ect i on, beneat h any ex i s t i ng r egi s t r at i ons.




<ht t pModul es >



<add na
me="S cr i pt Modul e" t ype="S ys t em.Web.Handl er s.S cr i pt Modul e, S ys t em.Web.E xt ens i ons,
Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



</ht t pModul es >




6.

Add a Saf eCont r ol ent r y f or t he Sys t em.Web.UI names pace f r om Mi cr os of t Aj ax Ex t
ens i ons, wi t hi n t he
<Shar ePoi nt >/<Saf eCont r ol s >s ect i on:




<Saf eCont r ol s >



<S af eCont r ol As s embl y="S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al,
Publ i cKeyT oken=31bf 385 6ad364e35" Names pace="S ys t em.Web.UI" T ypeName="*" S af e="T r ue" />



</
S af eCont r ol s >



7.

Fi nal l y, add t he f ol l owi ng conf i gur at i on t ags at t he bot t om of web.conf i g, near t he bot t om bef or e t he
end <conf i gur at i on> t ag.




<s ys t em.web.ext ens i ons >



<s cr i pt i ng>



<webS er vi ces >



<!
--

Uncomment t hi s l i ne t o enabl e t he a
ut hent i cat i on s er vi ce. I ncl ude r equi r eS S L ="t r ue" i f appr opr i at e.
-
-
>



<!
--



<aut hent i cat i onS er v i ce enabl ed="t r ue" r equi r eS S L = "t r ue|f al s e"/>



--
>



<!
--

Uncomment t hes e l i nes t o enabl e t he pr of i l e s er vi ce. T o al l ow pr of i l e pr oper t i es
t o be r et r i eved and
modi f i ed i n AS P.NE T AJ AX appl i cat i ons, you need t o add each pr oper t y name t o t he r eadAcces s Pr oper t i es
and wr i t eAcces s Pr oper t i es at t r i but es.
--
>



<!
--



<pr of i l eS er vi ce enabl ed="t r ue"



r eadAcces s Pr oper t i es ="
pr oper t yname1,pr oper t yname2"



wr i t eAcces s Pr oper t i es ="pr oper t yname1,pr oper t yname2" />



--
>



</webS er vi ces >



<!
--



<s cr i pt Res our ceHandl er enabl eCompr es s i on="t r ue" enabl eCachi ng="t r ue" />



--
>



</s cr i pt i ng>



<
/s ys t em.web.ext ens i ons >



<s ys t em.webS er v er >



<val i dat i on val i dat eI nt egr at edModeConf i gur at i on="f al s e"/>



<modul es >



<add name="S cr i pt Modul e" pr eCondi t i on="i nt egr at edMode" t ype="S ys t em.Web.Handl er s.S cr i pt Modul e,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0
.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



</modul es >



<handl er s >



<r emov e name="WebS er vi ceHandl er F act or y
-
I nt egr at ed" />



<add name="S cr i pt Handl er F act or y" ver b="*" pat h="*.as mx" pr eCondi t i on="i nt egr at edMode"



t
ype="S ys t em.Web.S cr i pt.S er vi ces.S cr i pt Handl er F act or y, S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0,
Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



<add name="S cr i pt Handl er F act or yAppS er vi ces" ver b="*" pat h="* _ AppS er vi ce.axd"
pr eCondi t i on="i nt egr at e
dMode" t ype="S ys t em.Web.S cr i pt.S er vi ces.S cr i pt Handl er F act or y,
S ys t em.Web.E xt ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35"/>



<add name="S cr i pt Res our ce" pr eCondi t i on="i nt egr at edMode" v er b="GE T,HE AD"
pat h="S cr i pt Res our c
e.ax d" t ype="S ys t em.Web.Handl er s.S cr i pt Res our ceHandl er, S ys t em.Web.E x t ens i ons,
Ver s i on=1.0.61025.0, Cul t ur e=neut r al, Publ i cKeyT oken=31bf 3856ad364e35" />



</handl er s >



</s ys t em.webS er v er >


Adding Safe Controls to Web.config:



<S af eCont r ol As s embl y="Aj a
xCont r ol T ool ki t, Ver s i on=1.0.20229.0, Cul t ur e=neut r al,
Publ i cKeyT oken=28f 01b0 e84b6d53e" Names pace="Aj axCont r ol T ool ki t" T ypeName="*" S af e="T r ue" />



<S af eCont r ol As s embl y="S ys t em.Web.E x t ens i ons, Ver s i on=1.0.61025.0, Cul t ur e=neut r al,
Publ i cKeyT oken=31bf 385 6
ad364e35" Names pace="S ys t em.Web.UI" T ypeName="*" S af e="T r ue" />





<SafeControl Assembl y="Tel eri k.Web.UI, Versi on=2008.2.1020.20, Cul ture=neutral,
Publ i cKeyToken=121fae78165ba3d4" Namespace="Tel eri k.Web.UI" TypeName="*" Safe="True" />


<S af eCont r
ol As s embl y="T el er i k.Web.UI, Ver s i on=2008.2.1020.20, Cul t ur e=neut r al,
Publ i cKeyT oken=121f ae7 8165ba3d4" Names pace="T el er i k.Web.Des i gn" T ypeName="*" S af e="T r ue" />


<S af eCont r ol As s embl y="T el er i k.Char t i ng, Ver s i on=2.0.6.0, Cul t ur e=neut r al,
Publ i cKeyT oke
n=d14f 3dcc8e3 e8763" Names pace="T el er i k.Char t i ng" T ypeName="*" S af e="T r ue" />



<S af eCont r ol As s embl y="Ret ur nOf S mar t Par t, Ver s i on=1.3.0.0, Cul t ur e=neut r al,
Publ i cKeyT oken=9f 4da00 116c38ec5" Names pace="S mar t Par t" T ypeName="*" S af e="T r ue" />



<S af eC
ont r ol As s embl y="KWi z Com.S har ePoi nt.WebPar t s.Qui ckP ol l, Ver s i on=1.0.0.1, Cul t ur e=neut r al,
Publ i cKeyT oken=30f b4ddbec95f f 8f" Names pace="KWi z Com.S har ePoi nt.WebPar t s.Qui ckP ol l" T ypeName="*"
S af e="T r ue" />




Deployment Steps For Language Support:


F or cr eat i ng

L anguage Var i at i ons on web s i t e bef or e r es t or i ng t he web, I di d f ol l owi ng s t eps t o enabl e
Ar abi c l anguage s uppor t :


F ol l ow t he s t eps t o I ns t al l t he l anguage pack
:


Cl i ck S t ar t > S et t i ngs > Cont r ol Panel, t hen cl i ck Regi onal and L anguage Opt i ons.


I n Reg
i onal and L anguage Opt i ons box, under S uppl ement al l anguage s uppor t s ect i on, check bot h check
boxes


-
I ns t al l f i l es f or compl ex s cr i pt and r i ght
-
to
-
l ef t l anguages

and

-
I ns t al l f or E as t As i an l an guages


Cl i ck OK t o i n s t al l


Downl oad l anguage packs f or Mi cr o
s of t Of f i ce S h ar ePoi n t S er v er ( MOS S ) 2 007:


S el ect t he l anguage f r om Change L anguage dr opdown l i s t


Av ai l abl e l anguage pack s:


Ar abi c

Bul gar i an

Cat al an

Chi nes e ( S i mpl i f i ed)

Chi nes e ( T r adi t i onal )

Cr oat i an

Cz ech

Dani s h

Dut ch

E ngl i s h

Estoni an

Fi nni sh

French

G
erman

Greek

Hebrew

Hi ndi

Hungari an

I tal i an

Japanese

Korean

Latvi an

Li thuani an

Norwegi an (Bokmal )

Pol i sh

Portuguese (Brazi l )

Portuguese (Portugal )

Romani an

Russi an

Serbi an (Lati n)

Sl ovak

Sl oveni an

Spani sh

Swedi sh

Thai

Turki sh

Ukrai ni an


After downl oadi ng th
e Server Language Pack.i mg


Extract the ServerLanguagePack.i mg fi l e (I pr efer to extract usi ng ISO Edi t)


Run Setup


After i nstal l i ng the l anguage pack


Rerun the Shar epoi nt Products and Technol ogi es Confi gurati on Wi zard usi ng defaul t setti ngs.(If you don’
t run
the l anguage pack wi l l not be i nstal l ed properl y)


To run the Sharepoi nt Products and Technol ogi es Confi gurati on Wi zard:


Cl i ck Start > Programs > Admi ni strati on Tool s cl i ck sharepoi nt Pr oducts and Technol ogi es Confi gurati on
Wi zard


then cl i ck Next


Cl i ck Yes i n the di al og box.


On the modi f y server far m setti ngs, cl i ck Do not di sconnect fr om thi s server farm, then Next


After confi gurati on successful cl i ck Fi ni sh


After success i nstal l ati on, you wi l l be f i nd the l anguage pack whi ch you i nstal l ed befo
r e i n the dropdown
l i st whi l e creati ng the si te col l ecti on


Creati ng si te col l ecti on wi th the i nstal l ed l anguage


for further i nf ormati on, pl ease fol l ow the step by step gui d i n

http://www.fi venumber.com/i nstal l
-
l anguage
-
packs
-
for
-
mi crosoft
-
offi ce
-
sharepoi nt
-
server
-
moss
-
2007/