Ask a Question related to ASP.NET General, Design and Development.
-
Tom #1
Server.Transfer does not work?
Hi
I am trying to transfer to a different .ASPX page using Server.Transfer.
However, I get the following error:
"Error executing child request for [pagename].aspx."
Anyone know why?
Thanks for help.
Tom Guest
-
Transfer to an new server and web address
Hello, I am transfer an existing site to a different server. The site was created in contribute. So, does anyone know how to transfer an exisiting... -
Error Server.Transfer / Server.Execute ()
Hi! Any one has Idea, How to use Server.Transfer and Server.Execute, When I tried to use these methods I got an eror: Server object error 'ASP... -
Server.Transfer vs. Server.Execute
i'm using a model, view, control architecture for a group of .asp pages. i can't decide whether to use Server.Transfer or Server.Execute to pass... -
Server.Execute and Server.Transfer not detecting session state
I am setting a session variable, then doing a server.transfer in global.aspx and the page I am going to is saying that session state is not enable... -
Server.Transfer
Using Server.Trasfer the control is shiftewd to the form specified in the parameters of the Server.Transfer. however the URL still contains the... -
Bill Priess #2
Re: Server.Transfer does not work?
Can you post the code where you are calling the Server.Transfer?
"Tom" <agd_goa@hotmail.com> wrote in message
news:OkGfSFzODHA.2316@TK2MSFTNGP11.phx.gbl...> Hi
>
> I am trying to transfer to a different .ASPX page using Server.Transfer.
> However, I get the following error:
>
> "Error executing child request for [pagename].aspx."
>
> Anyone know why?
>
> Thanks for help.
>
>
Bill Priess Guest
-
Tom #3
Re: Server.Transfer does not work?
This is my statement:
Server.Transfer("QuestionChoice.aspx");
I also tried:
Server.Transfer("QuestionChoice.aspx", true);
I get the same error for both statements.
"Bill Priess" <no.spam@nospam.com> wrote in message
news:eX1BEHzODHA.704@tk2msftngp13.phx.gbl...> Can you post the code where you are calling the Server.Transfer?
> "Tom" <agd_goa@hotmail.com> wrote in message
> news:OkGfSFzODHA.2316@TK2MSFTNGP11.phx.gbl...>> > Hi
> >
> > I am trying to transfer to a different .ASPX page using Server.Transfer.
> > However, I get the following error:
> >
> > "Error executing child request for [pagename].aspx."
> >
> > Anyone know why?
> >
> > Thanks for help.
> >
> >
>
Tom Guest
-
trinitypete #4
Server.Transfer does not work?
I had a similar problem where I was Server.Transfer to
another aspx page which had a crystal report viewer on it.
If I executed the transfer it worked fine, if any other
user executed the transfer they received the error as you
did. The problem was that we were using windows integrated
security on the site and some of the user accounts didn't
have ACL permissions for the some of the crystal Dll's
etc.
I dont know if this is a similar situation to that what
you have.
Pete.Server.Transfer.>-----Original Message-----
>Hi
>
>I am trying to transfer to a different .ASPX page using>However, I get the following error:
>
>"Error executing child request for [pagename].aspx."
>
>Anyone know why?
>
>Thanks for help.
>
>
>.
>trinitypete Guest
-
Tom #5
Re: Server.Transfer does not work?
Thanks for the reply. My application is also using DLL libraries developed
in .NET. I removed integrated security and it worked (I wonder what's the
connection).
However, I got another error:
+++
Thread was being aborted.
Error Type: [System.Threading.ThreadAbortException]
+++
What I am trying to do is this:
When the user submits a form, I process the data (update the database) and
forward to request to another page, but I want the form submitted values to
be passed on to the new page.
Do you know of a way to do this?
Thanks
"trinitypete" <support@trinity.com> wrote in message
news:01cd01c33b33$63916630$a101280a@phx.gbl...> I had a similar problem where I was Server.Transfer to
> another aspx page which had a crystal report viewer on it.
> If I executed the transfer it worked fine, if any other
> user executed the transfer they received the error as you
> did. The problem was that we were using windows integrated
> security on the site and some of the user accounts didn't
> have ACL permissions for the some of the crystal Dll's
> etc.
>
> I dont know if this is a similar situation to that what
> you have.
>
> Pete.> Server.Transfer.> >-----Original Message-----
> >Hi
> >
> >I am trying to transfer to a different .ASPX page using> >However, I get the following error:
> >
> >"Error executing child request for [pagename].aspx."
> >
> >Anyone know why?
> >
> >Thanks for help.
> >
> >
> >.
> >
Tom Guest
-
trinitypete #6
Re: Server.Transfer does not work?
Tom,
With regard to security:
If integrated security is being used access to system file
resources is done via the windows account that the user
has used to sign in with. Whats probably happening is that
the user you are logging in with doesn't have sufficient
windows permissions to access the actual DLL's etc.
Whatever components you are using ensure your user has
sufficient windows permissions to access them.
With regard to passing values from one page to another,
there are several ways.
In the calling page store the values in either
SessionState or Context - SessionState variables live for
the lifetime of the session and context variables are only
valid in the context of the request.
Session["MyVar"]=textbox1.Text
or
Context.Items["MyVar"]=textbox1.Text
in the called page:
if (Session["MyVar"]!=null)
string mystring = (string)Session["MyVar"]
or
if (Context.Items["MyVar"]!=null)
string mystring = (string)Session["MyVar"]
Another way is to use QueryStrings - Appending data to the
url and picking them back out in the called page. You'll
have to go and look this one up in the help, I don't use
them very often.
HTH. Pete.libraries developed>-----Original Message-----
>Thanks for the reply. My application is also using DLLwonder what's the>in .NET. I removed integrated security and it worked (Ithe database) and>connection).
>
>However, I got another error:
>+++
>Thread was being aborted.
>Error Type: [System.Threading.ThreadAbortException]
>+++
>
>What I am trying to do is this:
>
>When the user submits a form, I process the data (updatesubmitted values to>forward to request to another page, but I want the formit.>be passed on to the new page.
>
>Do you know of a way to do this?
>
>Thanks
>
>
>
>
>"trinitypete" <support@trinity.com> wrote in message
>news:01cd01c33b33$63916630$a101280a@phx.gbl...>> I had a similar problem where I was Server.Transfer to
>> another aspx page which had a crystal report viewer onyou>> If I executed the transfer it worked fine, if any other
>> user executed the transfer they received the error asintegrated>> did. The problem was that we were using windowsdidn't>> security on the site and some of the user accounts>>> have ACL permissions for the some of the crystal Dll's
>> etc.
>>
>> I dont know if this is a similar situation to that what
>> you have.
>>
>> Pete.>> Server.Transfer.>> >-----Original Message-----
>> >Hi
>> >
>> >I am trying to transfer to a different .ASPX page using>> >However, I get the following error:
>> >
>> >"Error executing child request for [pagename].aspx."
>> >
>> >Anyone know why?
>> >
>> >Thanks for help.
>> >
>> >
>> >.
>> >
>
>.
>trinitypete Guest



Reply With Quote

