Author |
Topic |
El Matador
Junior Member
192 Posts |
Posted - 02 June 2015 : 18:46:02
|
Hello,
It has been eons since I last posted here, but I need some guidance and I hope that with a bit of luck someone can help me.
I ran many years ago a Snitz forum, and like many things in life it eventually faded away and died. Well, not completely, as I have back-ups of all the files (including of the mods that I applied) and of course of the database. There is a lot of information important to me in that forum database, and I would like to see and retrieve in the same form as it was posted when the forum was still online. However, it would be a hassle having to pay a hosting company to upload and host a forum I just want to view and that nobody is going to use.
Is there any way to run/view the forum in my own desktop computer without having to upload it to a hosting company? If so, could someone give me some guidance on how to do it?
Thanks so much in advance.
Cheers.
El Matador |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 03 June 2015 : 07:48:26
|
Yes. Click the Start button , click Control Panel, click Programs, and then click Turn Windows features on or off. In the list of Windows features, select Internet Information Services, and then click OK. Depending on the version of Windows you're running, you'll have to do different things to enable classic ASP, etc. |
|
|
El Matador
Junior Member
192 Posts |
Posted - 03 June 2015 : 17:58:38
|
Hi, thanks for the response. I have enabled IIS but no joy, I must have missed something because the ASP pages don't open, I can only see the text on them. Could you steer me in the right direction? I am using both Windows 7 and Windows 8 in two different computers. Thank you. |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 04 June 2015 : 01:25:40
|
Are you running on 64-Bit operating systems? If so, you'll need to enable 32-Bit applications. Here's the easiest way to do that. Save the following as "classicasp.bat" in your Windows directory. Then run it by going to start/run, type "classicasp" and hitting Enter.
@echo off
cls
cd %systemdrive%\inetpub\adminscripts
cscript adsutil.vbs set w3svc/apppools/enable32bitapponwin64 "true"
exit
Once you've done this, you should see ASP controls in IIS. |
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 05 June 2015 : 14:41:29
|
Also if you're on newer windows and have an access database file for your forum, you probably need to find and install the access ado drivers on the computer.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
El Matador
Junior Member
192 Posts |
Posted - 06 June 2015 : 15:21:29
|
Hi Carefree and Doug G. Still no joy, can't make ASP work. I am trying in Windows 8 and Windows 7 desktops, both 64 bit. Somewhere I have an old laptop with Windows XP which I can try to use as well if I make no progress. I am also going to try on an old laptop with Windows 7 32 bits and see what happens. Just wondering what I may be missing .... |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
El Matador
Junior Member
192 Posts |
Posted - 06 June 2015 : 18:58:25
|
No errors. Regardless of using Internet Explorer, Firefox or Chrome I just see the ASP Code (text) in Chrome and Firefox, and IE asks me if I want to open or save the file. When I click in "open" I see the ASP code, not the page. |
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 06 June 2015 : 20:12:59
|
Is IIS running? If so, what version? If not, start it. I haven't used IIS since IIS6, and it's possible in newer IIS you have to do some more configuration/installation to enable classic asp.
Also, remember you can't run the asp pages directly from your web browser, you must have the code in a web that IIS can serve up, usually using a URL like http://localhost/default.asp |
====== Doug G ====== Computer history and help at www.dougscode.com |
Edited by - Doug G on 06 June 2015 20:14:47 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 07 June 2015 : 07:20:26
|
quote: Originally posted by Doug G
Is IIS running? If so, what version? If not, start it.
quote: El Matator Hi, thanks for the response. I have enabled IIS....
His symptoms match 32-bit applications not being enabled, or like Doug suggested, trying to run the ASP pages from a folder vs web URL. The code I posted SHOULD have enabled them on his 64-bit system, but maybe there was an error. I any case, the link HuwR provided has a walk-through of the basic settings. |
|
|
El Matador
Junior Member
192 Posts |
Posted - 09 June 2015 : 17:43:50
|
Sorry guys, no joy yet. I guess it must be something simple but so far I keep getting the same results in two computers: The browsers will just show the ASP Code text. I have the forum installed in inetpub\wwwroot. If I type 127.0.0.1 in the computer with Windows 7 I get the IIS7 page with the blue logo and the "Welcome" sign in many languages, but not in the computer with Windows 8. I guess I will have to think harder ....
Thank you all for your help and time. |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 09 June 2015 : 19:31:09
|
- In Windows 8 - open control panel, administrative tools, "Internet Information Services (IIS) Manager".
- In the "Connections" frame on the left, expand your computer by clicking the arrow-right sign before it.
- Left-click "Application Pools".
- In the right bottom frame, right-click "DefaultAppPool" and then left-click on "Advanced Settings".
- Under the (General) category, set the second item from the top "Enable 32-Bit Applications" to "True", then click OK.
- Back on the left panel, expand Sites by clicking the arrow-right sign before it.
- Left-click the "Default Web Site" (or whatever you have renamed it to).
- In the center panel, you should now see ASP.Net and below it, IIS. Right-click the first item in IIS (ASP) and choose "Open Feature".
- Under "Behavior", set "enable buffering" and "enable parent paths" both to "True".
- Under "Debugging Properties", set all True/False options (except for Log Errors to NT Log) to "True".
- Under "Session Properties", set "Enable Session State" to "True".
- Now in top right panel, "Actions", click "Apply".
- Now click the "Default Web Site" in left panel again, we have one more thing to set.
- In the center panel, double-click "Default Document". If the one you want to use does not show up, you can choose to add it by clicking Add in the "Actions" panel on the right. If it is there, but not being loaded first, you can move it up to the top by clicking the name of the document and then clicking "Move Up" in the "Actions" panel. This change is instant - you will not need to "Apply" when done.
OK - go see if it works. |
|
|
El Matador
Junior Member
192 Posts |
Posted - 10 June 2015 : 11:22:25
|
Thanks for this, Carefree.
Making some progress in the computer with Windows 7. When I type in the browser "localhost" I get the error "An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error."
And when I type localhost\default I get the message "HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable".
I guess my next step would be including the right strings in config.asp, indicating the paths to default.asp and the forum database, right?
Cheers.
El Matador |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 10 June 2015 : 13:19:48
|
No. The correct next step would be typing the correct URL. Try "http://localhost" or "http://localhost/default.asp" or "http://localhost/forum".
Next, "config.asp" doesn't contain the path to "default.asp". You specify "default.asp" as the default document in IIS. "config.asp" does, however, contain the path to the database. |
|
|
El Matador
Junior Member
192 Posts |
Posted - 10 June 2015 : 14:58:16
|
OK, now there is definitely major progress. Not completely there but almost.
I can now load the forum and see the welcome page, but once I log in I don't reach the main page because in the process I get the message "An error occurred on the server when processing the URL. Please contact the system administrator." I can see, however, my name at the top as having successfully logged in.
If I click on "home" I get an error: page not found. No surprises here, as the forum is no longer hosted online in the old server.
If I click on profile I am given the ability to modify it.
If I click on "Active Topics" I still get the message "An error occurred on the server when processing the URL. Please contact the system administrator".
If I click on Members, I can see the list.
And if I click on Search I can find topics but two things happen. When I click on the topic I can only see the first post of the thread and message in the header "An error occurred on the server when processing the URL. Please contact the system administrator".
So I guess I am getting very close to view the info in the forum.
Thanks a lot for all your help.
Cheers.
El Matador |
|
|
Topic |
|