Monday, March 12, 2012

Works with one host and not another

I can't get any asp.net material to work with one host, yet the material works with another and locally.

Even a simple one text box and calendar control page, for testing purposes, doesn't work.

I've had a similar problem before, while running ASP pages and needed to include a
Response.Expired = 0 to make it work.
I guess this is needed for certain servers.

I may not know how to code the equivalent in .net since I am new to it, and I'm currently stuck with this host with very little support.

Any ideas?

JohnWe really need a little more information - -

when you say it doesn't work - - what exactly do you mean? (errors/blankpage/html shows - but no server controls, etc)
I get the standard error...

>Server Error in '/' Application.
------------------------

>Runtime Error
>Description: An application error occurred on the server. The current custom error settings >for this application prevent the details of the application error from being viewed remotely >(for security reasons). It could, however, be viewed by browsers running on the local server >machine.

I post the web.config for a detailed error and there is no detailed report.

The support is terrible with this provider, and again, I had a problem with some ASP pages. Buried in a book somewhere, there was mention of caching or needing to declare caching for non-MS servers.
I am a little vague on the details but adding> Response.Expires = 0 < to the code made
the ASP pages work, so I am wondering if the situation is similar, now that I am using .Net.

Again, a test page (a text box and calendar control) work locally and on another server I personally use.

Thanks
John

0 comments:

Post a Comment