473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Service.Execute problem

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
ch***********@optima-ws.com

Nov 20 '05 #1
2 1060
Hi,

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

Ken
----------------
"Chris Roberts" <ch***********@optima-ws.com> wrote in message
news:c7**********@newsg3.svr.pol.co.uk...
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
ch***********@optima-ws.com

Nov 20 '05 #2
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


"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

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

Ken
----------------
"Chris Roberts" <ch***********@optima-ws.com> wrote in message
news:c7**********@newsg3.svr.pol.co.uk...
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
ch***********@optima-ws.com


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: sumant | last post by:
Hi, My problem is a bit complicated and I would be really really grateful if someone could give me a solution to this. I have to launch a service which calls a bat file that has got commands...
4
by: Tim | last post by:
I need to create a C# service that will run a stored procedure which returns a result set. From there I need to create a file using the result set in a specific format. The format could be fixed...
29
by: Ken Allen | last post by:
I have a number of services developed in C# (.Net), and they have been working fine for the most part. Recently someone reported that ipon occassion (originally rarely, but more frequently on some...
17
by: Jeremy Chapman | last post by:
I've seen apps where if a windows exe form is running, it publishes a web service. There is no IIS folders or virtual directories required. Does anyone have information on how to do this?
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
2
by: Delmar | last post by:
I need to build Web Application that will generate a client to execute some operations. Each client has running silent application. Maybe somebody can advice me what can I do ? Thank you.
1
by: Brad | last post by:
I have an issue trying to execute commands in a web service. The command starts under the specified user. However, it never completes its execution. I can execute simple commands like "echo HELLO"...
0
by: Emanuele | last post by:
I have write a program using MS Visual studio C++ 7.0 (platform Windows XP professional). I'm not using .NET. This program save data in a SQL server 2000 database using ADO. Everything works...
3
by: SR | last post by:
I have a requirement from a customer to run some command line applications from a service. I have most of my service coded and I've come across an issue with the important part of the application,...
33
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.