Created an ASP.NET project (not MVC). I download files of the user in the directory "tempFiles" created by handles. Further somehow I process these files and I give back to the user.

On the local server, everything works fine.
When publishing to a smarterasp hosting, an incomprehensible error gets out Server Error in '/' Application.
(source: cs633124.vk.me )

There is a suspicion of a way to work with the file system (through physical paths) and perhaps hosting blocks this action. If so, how can we get rid of it?

Maybe someone faced this problem?

  • Give the account under which the AppPool of your application runs, the right to write to the "tempFiles" folder. How do you get the physical path to this folder? - Igor
  • @Igor rights set to read \ write - there shouldn't be a problem here. I get the path through Server.MapPath ("tempFiles") - vsb95
  • Try to get Exception.StackTrace. - Igor
  • <system.web> <compilation debug="true" targetFramework="4.0"></compilation> error will be better seen - timda
  • @timda is just the thing that is included and shows such an error - vsb95

0