Service.Execute problem

  • Thread starter Thread starter Chris Roberts
  • Start date Start date
C

Chris Roberts

Hi,

I was wondering if anybody can help, I have a ASP.Net application and am
currently trying to get the Server.Execute method to work but I keep on
getting the following error "Exception of type
System.Web.HttpUnhandledException was thrown."

I'm not sure if I'm barking up the wrong tree or not. the page I am trying
to execute is on a different domain and is an asp page rather than a aspx
page.

I'm using the command as illustrated below.

Server.Execute("http://www.mydomain.co.uk/errorreporting.asp")

If anybody can offer some advise, it will be gratefully appreciated

Many thanks in advance

Chris Roberts
(e-mail address removed)
 
Hi,

Server.Execute is expecting a virtual path. Maybe Response.Redirect
will work for you.

Ken
 
Thanks Ken,

The Response.Redirect does work fine, how ever I am trying to call the
errorreporting.asp
page on a separate domain, but I want the asp page to run it's code and not
interfer with the userinterface, as I understand Server.Execute does.

Any other idea?

Chris
 
Back
Top