Deploy ASP.Net project within SharePoint

If you deploy project within SharePoint site, we can directly access spcontext in object model code. your project should developed framework 3.5, .framework 4.0 dose not support in this method.

Step 1:

Copy source folder and paste it on “C:\inetpub\wwwroot\wss\VirtualDirectories\<port>\”  

Step 2:

Open internet manager (inetmgr), Expand the SharePoint site then we can see our project folder , Right click the folder then click “convert as application” then click OK, browse any one page

Step 3:

Now we get some errors like”Internal server Error”, that is duplicate problem, we need remove some sections and Add controls tags in web.config


Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s