H
Harrie Verveer
Hi,
I'm building quiet a large webapplication (CMS) in ASP.NET. On localhost
the application runs fine. For publishing we use 2 hosting providers at
the moment (let's call those 'A' and 'B'). Hosting provider A doesn't
give any problems and the application runs just fine. On hosting
provider B there are some problems, and I just can't figure it out =(.
My users login using FormsAuthentication. After clicking through the
application for a while (like 5 times) suddenly the login screen appears
(authentication data suddenly is lost). Sometimes the error "unable to
validate data" appears - which could indicate that there is a viewstate
error.
I phoned hosting provider B with this question. They said it is probably
because my application uses too much memory (the server flushes your
memory space when it exceeds 200MB(!!!)). I have monitored the memory
usage using the system monitor in the control panel - but the
application uses about 14MB only (with a peek of 80MB max).
I tried to fix this problem calling GC.Collect() almost everywhere in my
app, but it isn't any good =(. Now what really bothers me, is that I am
trying to fix this problem for 2 days now and I'm pretty much messing up
my application, just to make it work for hosting provider B - while the
app runs just smoothly on hosting provider A
.
Any comments on this problem? What can I check? Maybe it's important to
say hosting provider B gives me medium trust, while I got full trust on A.
I'd really appriciate any comments on this topic.
Thanks in advance.
Harrie Verveer
I'm building quiet a large webapplication (CMS) in ASP.NET. On localhost
the application runs fine. For publishing we use 2 hosting providers at
the moment (let's call those 'A' and 'B'). Hosting provider A doesn't
give any problems and the application runs just fine. On hosting
provider B there are some problems, and I just can't figure it out =(.
My users login using FormsAuthentication. After clicking through the
application for a while (like 5 times) suddenly the login screen appears
(authentication data suddenly is lost). Sometimes the error "unable to
validate data" appears - which could indicate that there is a viewstate
error.
I phoned hosting provider B with this question. They said it is probably
because my application uses too much memory (the server flushes your
memory space when it exceeds 200MB(!!!)). I have monitored the memory
usage using the system monitor in the control panel - but the
application uses about 14MB only (with a peek of 80MB max).
I tried to fix this problem calling GC.Collect() almost everywhere in my
app, but it isn't any good =(. Now what really bothers me, is that I am
trying to fix this problem for 2 days now and I'm pretty much messing up
my application, just to make it work for hosting provider B - while the
app runs just smoothly on hosting provider A

Any comments on this problem? What can I check? Maybe it's important to
say hosting provider B gives me medium trust, while I got full trust on A.
I'd really appriciate any comments on this topic.
Thanks in advance.
Harrie Verveer