SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created an project . i want to run that project in SharePoint (2007) site. unfortunately i have no rights to deploy WSP files in sharepoint server. it is a share hosting. i can access only layouts folder. is it possible to place my DLLs in layouts folder and run my asp page. Anybody faced this problem?

share|improve this question

migrated from May 10 '12 at 9:25

This question came from our site for professional and enthusiast programmers.

No, this isn't possible. You will need to place your assemblies in either the bin folder or the GAC in order to execute them.

share|improve this answer
Thanks for the response. So can't we install any .wsp files in shared hosting? what is the way if i have bought a shared hosting server and have to install an .wsp file. – PRS May 10 '12 at 6:39
You would need to talk to your host administrator about that. .wsp files will deploy assemblies to the GAC or bin directory. – Kyle Trauberman May 10 '12 at 6:44

Caution: it's a very bad pratice but just for testing purpose if you could drag and drop your Assembly to C:\Windows\Assembly on the Server and aspx pages in layouts. Then perform the IISReset /noforce afterwards and try testing the Application page afterwards.

share|improve this answer
he says he cant instal WSPs.. do you think he will have access to this folder? – Shoban May 11 '12 at 5:05
since he can access the layouts folder wondering he might also sneak into c:\windows\assembly ;) – Falak Mahmood May 11 '12 at 7:57
no... its shared hosting and most problably he will be accessing layouts folder through a web interface :) – Shoban May 11 '12 at 11:50
oh it's gonna be a real struggle ;) – Falak Mahmood May 11 '12 at 12:25

I'd start looking for a new Hosting provider.

Giving you access to the layouts folder is definitly not good practise. This will allow you to break as much as if you had access to install WSPs, but without allowing you to do the right thing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.