URL Parameters not passing on sub pages server.transfer
Posted on 2009-04-09
I've been working on this for 2 weeks now.
Too much code to paste, but basically have a .NET 2.0 Web Application with a Company page, that has subpages down at the bottom. about 9 of them. this app was made back in 2000? when .NET first came out, so it was done half the old ASP way and half with new way, as the developer was learning .NET.
what is really weird is this app works fine on my local machine, debugging & iis server, & it works fine in our production environment. but on Dev & Test it does not work.
it appears that on the CompanyRecord.aspx?MasterId=123&CoId=456 page when it gets to the bottom to do the sub page, it doe4s a server.transfer("Contacts.aspx?MasterID=123&CoId=456")
and when it goes to the Contacts.aspx i do a Request("MasterID") and it grabs blank.
but as I said, it works fine on my local machine & on prod.
what am I doing wrong??
I've checked the webconfig, compared IIS settings, I am not catching anything with my naked eye, although I don't know what every single option means.
plz help, thx.