Asp.Net 3.5 permissions

AndyLL

Perch
There is a ticket about this for a specific domain but I wanted to bring this up here because I will run into this on most of the servers.

I have about 70 clients running an Asp.Net 1.4 application under my reseller account.

As Stephen knows it eats temp files and 1.4 has some memory issues.

So I want to upgrade all my clients to the new version.

It actually compiled and runs fine locally with almost no changes. (the SendMail changed)

I'm running into security issues on Win24 (and assume I will on all of them)

My application writes several config files to directories under the domain. I assume this is the problem.

I could probably code around that but the application also needs to write order infomation to a directory which a 3rd party picks up through FTP. I see no way to code around that.

The help desk feels my issues are because the App wants full trust but I think it is the file write permissions causing the error.

Any solutions?

Andy
 
Ok... I'm confused now. Maybe its not the file writing. I followed the help desks steps to setup my trust level like yours.

Here is the line that give the exception:

return PageParser.GetCompiledPageInstance(url, HttpContext.Current.Server.MapPath("~/Default.aspx"), context);

This is in a httphandler to rewrite my URLs.

I don't understand why that would require high trust?
 
So GetCompliedPage is not allowed.

I guess I have to change my URL rewritten.

Anyone have an opinion on if to use RewritePath() or Server.Transfer.

I've heard RewritePath() puts a 302 in the response which is bad?
 
It doesn't use a 302, or it wouldn't be URL rewriting. It doesn't involve any redirecting for the client.
 
Back
Top