Deploy ASP.Net project within SharePoint

If you deploy asp.net project within SharePoint site, we can directly access spcontext in object model code. your asp.net 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 asp.net project folder , Right click the folder then click “convert as application” then click OK, browse any one page

https://sptechnet.files.wordpress.com/2011/07/iis.png

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

Comments

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s