I have created an asp.net 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?

3 Answers 3


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.

  • 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, 2012 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. May 10, 2012 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.

  • he says he cant instal WSPs.. do you think he will have access to this folder?
    – Shoban
    May 11, 2012 at 5:05
  • since he can access the layouts folder wondering he might also sneak into c:\windows\assembly ;) May 11, 2012 at 7:57
  • no... its shared hosting and most problably he will be accessing layouts folder through a web interface :)
    – Shoban
    May 11, 2012 at 11:50
  • oh it's gonna be a real struggle ;) May 11, 2012 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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