views:

302

answers:

4

I have recently started using a shared-host for my clients so see project progress or to play with a new technology for myself. I seems like every time I deploy a new project that runs fine locally, I run into something new on the shared-host.

Do you have a shared hosting deployment checklist?

What are the common problems you run into when deploying to a shared host?

+7  A: 

Medium Trust. If you are developing code to go into a shared host, you should set your local application to run in medium trust otherwise you can almost guarantee you'll get security issues with code that executes fine in full trust but dies in a medium trust environment.

This MSDN article explains about medium trust in more detail:

http://msdn.microsoft.com/en-us/library/ms998341.aspx

lomaxx
I have had many third-party dll issues with Medium Trust, good one.
rick schott
+2  A: 

They don't always offer you direct access to the database (Enterprise Manager / Management Studio).

You end up using some weird web GUI for creating database entities, which does not accept otherwise valid SQL syntax and you have to update all your queries and stored procedures to accommodate their custom changes and restrictions.

Developer Art
I REALLY hate it when shared hosts do that!
darthnosaj
+2  A: 

One of mine is file IO permission problems. An example being writing to a file on the web server from ASP.NET. You have to use a provided online tool to allow permission to do more than reads.

rick schott
A lot of web hosts have some interface for managing this but it's often buried in a weird, impossible-to-use backend "manager" tool.
Rex M