This is a discussion on Cannot find server error within the .Net Development forums, part of the Programming & Scripting category; I have just uploaded a new page to my app, but when I try and navigate to it, I get ...
| |||||||
|
#1
| ||||
| ||||
| I have just uploaded a new page to my app, but when I try and navigate to it, I get a "Cannot find server" error. All the other pages in the app seem to be working fine. I presume that there is a problem in my code, but it's not throwing an exception. Any ideas what might be causing this error to occur? |
|
#3
| ||||
| ||||
| OK, I just cannot see what the problem is with this code. If I run it, it causes a "Cannot find server" error. It's absolutely doing my head in. .aspx.vb asp Code:
BOL asp Code:
BLL Code asp Code:
DAL Code asp Code:
I have run the query directly in the db and it works fine. I use exactly the same code on another ddl that I populate from the db and that works fine. I just cannot see why this causes this error. Any ideas? Last edited by richyrich; November 25th, 2008 at 12:57 PM. |
|
#4
| ||||
| ||||
| Your posted code is hard to read..so it's hard to tell...however, I'm sure the real error is being hidden. If using IE, do you have script debugging enabled in the Internet Options? If not, you won't see the real error message. It could be a server 500 error. Make sure everything is all right with your database connection and such.
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.If you like it here...throw us a few bones to help support us. Join our Folding team: DeveloperBarn Folding |
|
#5
| ||||
| ||||
| Quote:
I'm not sure about the script debugging...What I'd normally do when I get problems is debug by catching the errors and then writing them to the screen. However, I've not come across this issue before where it gives a Cannot find server error, so I can't even get to try and catch any error. |
|
#6
| ||||
| ||||
| OK. I unticked Disable Script Debugging (Internet Explorer) and (Other) and just get a blank screen when I try and load the page. If there is an error, I don't understand why it isn't throwing an exception... |
|
#7
| ||||
| ||||
| OK. Found the problem This asp Code:
asp Code:
Thank the lord for that.... Last edited by richyrich; November 25th, 2008 at 01:33 PM. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling a field after the Find command | kl99ny | Microsoft Access | 11 | October 7th, 2008 06:35 PM |
| Server Side Includes .stm file error | peebman2000 | HTML & CSS Help | 6 | August 4th, 2008 10:29 AM |
| Error Type:Active Server Pages, ASP 0113 (0x80004005) | guddu | ASP Development | 20 | July 11th, 2008 09:44 AM |
| find words and change | todd2006 | JavaScript Programming | 4 | July 2nd, 2008 09:58 AM |