| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read | ![]() |
|
||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I'm an experienced developer, but a newbie web developer. My Default.aspx.cs has a single line of code in it which is: Response.Redirect( "~/DADSInfo_Introduction.aspx" ); This gives me the following error: ============================================ The resource cannot be found Server Error in '/' Application Requested URL: /DADSInfo_Introduction.aspx ============================================ I've tried without the '~/' but the error message is the same. Anyone have any ideas what I am doing wrong? BTW - the code works fine on my development machine. Cheers Steve ![]() |
|
|||
|
I thought of one difference between my dev setup and the deployed web site and that is that I was deploying built assemblies to the web site, whereas when I am running on my dev machine the .aspx.cs files are being compiled as and when they are needed.
So, I uploaded the .aspx.cs files to the web site, and..... no difference. Does anyone have any ideas? Thanks Steve |
|
|||
|
Glad you sorted it Steve, fraid i know nothin regarding MS asp coding. I guess not many on here do either. I do remember someone else who could fault find asp but can't remember who!
__________________
West Dorset Community |
|
|||
|
Quote:
trying |
|
||||
|
ASP is hard, I have given up on it
__________________
Webhosting.UK.com || cPanel VPS Hosting || Reseller Hosting || Support System || Billing System Sales: 0808-262-0855 Support: 0800-612-8725 International: +44 191 303 8191 |
|
|||
|
The most common languages are php and perl which also run on windows i believe. nothing wrong with asp though and was written specifically for the windows environment so I guess that would be the way to go imo
__________________
West Dorset Community |
![]() |
| Thread Tools | |
| Display Modes | |
|
|