Hi experts can any one resolve my following error:
code as follows:
Dim mysite As New SPSite(“http://mysitetest:5678”)
Dim web As SPWeb = mysite.RootWeb
MsgBox(web.Name.ToString)
I am getting “Access Denied” at msgbox execution
The post Access Denied while accessing SPWeb class appeared first on IT Answers.