This is a discussion on "[SOLVED] Index Page help..." within the Classic ASP section. This forum, and the thread "[SOLVED] Index Page help... are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Index Page help...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] Index Page help...
ok, my index page is giving me some problems. I have a form on the page for guests to register to recieve emails, and what not. when i run it on my localhost it works fine and goes to the proper page afterwards. But when i try it on the actuall internet it will not go to the proper page, and instead says there was an error retrieving the page, the file could not be found. anyone have any ideas...here is my code...
|
|
|
|
#2
|
|||
|
|||
|
Re: Index Page help...
I don't think there is a problem with your code if you successfully run them in your pc!
It must be the way you uploaded then in your web server.. When uploading your file, you should make sure you have all the folder that exist in your pc uploaded to the web server also. I mean, If you put your " GuestRegistered.html" in a folder named myFolder in your pc, you should create a folder named myFolder in your web server! Does that make sense?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Nov 10th, 2007 at 02:38. |
|
#3
|
|||
|
|||
|
Re: Index Page help...
thanks monie...thats what i did though..but i cant figure out why it will not redirect to my page when i hit the submit button...i FTP'd the files directly, just as they are on my PC..is there a reference or somethin i need to change? every link on my page works, except for the two forms i have...each on separate pages..
|
|
#4
|
|||
|
|||
|
Re: Index Page help...
Your code make my eyes hurt
I don't like auto generated code (especially from dreamweaver) You dont have any idea what are they writing there.. It might take few minutes to understand the code becoz it's too crowded.. Try this.. Response.Redirect("GuestRegistered.html")
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
|||
|
|||
|
Re: Index Page help...
i know i know, i just still havent learned alot of it yet...im trying to as i go though.
|
|
#6
|
|||
|
|||
|
Re: Index Page help...
So, when you click the submit button, did you get any database error message?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#7
|
|||
|
|||
|
Re: Index Page help...
This is the error IE7 gives me when i hit the submit button....
Microsoft OLE DB Provider for ODBC Driverserror '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /default.asp, line 31 this is line 31---> MM_editeCmd.ActiveConnection = MM_Registry_STRING |
|
#8
|
|||
|
|||
|
Re: Index Page help...
could this mean that my host doesnt have the driver?
|
|
#9
|
|||
|
|||
|
Re: Index Page help...
How about this folder, Did you have a folder named Connection in your web server?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#10
|
|||
|
|||
|
Re: Index Page help...
yes i do..and believe it or not..my index wont even load if i put the wrong path on that line.
|
|
#11
|
|||
|
|||
|
Re: Index Page help...
this is the code for my webroot\connections\registry.asp file.
|
|
#12
|
|||
|
|||
|
Re: Index Page help...
It think it is something to do with your DNS connection!
Can I see your DNS connection file? Check this out!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#13
|
|||
|
|||
|
Re: Index Page help...
i cant upload that file right now..i can when i get home..i dont have the file on my work computer...
|
|
#14
|
|||
|
|||
|
Re: Index Page help...
so..how wouuld i create a DSN on my server?
|
|
#15
|
|||
|
|||
|
Re: Index Page help...
what is that - FileName="Connection_odbc_conn_dsn.htm" - ?
anyway you can use dsn-less connection or just a normal connection. i found these for you: http://www.1aspstreet.com/vb/scripts...=7739&lngWId=4 http://webmasterhotspot.com/index.php?showtopic=3021 the dsn-less connection is a bit different on each db you are trying to connect... |
|
#16
|
|||
|
|||
|
Re: Index Page help...
thanks for the help...if figured it out...it was in my host's permission settings...also i had to change my connection file
|
|
#17
|
|||
|
|||
|
Re: Index Page help...
What do you change in your connection file?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#18
|
|||
|
|||
|
Re: Index Page help...
i changed it to...
|
|
#19
|
|||
|
|||
|
Re: Index Page help...
Thanks. Well if you want to learn the easy way to do all that stuff, you have to start from now... I mean learn how to code your page manually, not with WYSIWYG application such as DW. It's fun..!
Good luck..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Nov 13th, 2007 at 02:02. |
![]() |