Gunnar
Posts: 4
|
Posted: 03/25/2010, 9:05 PM |
|
Hi
I have just created a new development environment using Windows 7 Professional and IIS 7.5. I am also new to Code Charge and just creating the simple Hello World example.
This is the issue.
1 – When I run the project on the internet explorer browser with just a blank page the page comes up properly
2 – If I then add the VB script that the Hello World example asks for and run it I get a “The website cannot display the page” (which is error code HTTP 500).
3 – I believe IIS 7.5 needs to be configured to allow the VB script to run but I do not know where.
Any help would be great. My email isgullarver@hotmail.com. Many thanks Gunnar
|
|
|
TheunisP
Posts: 342
|
Posted: 03/26/2010, 3:16 PM |
|
1, make sure that you are actually seeing the asp and not the html file - eg setup you default docs in iis to display index.asp for example
2. switch off friendly error messages in IE - so that you see the real error and not the nice iis error page - this way you will be able to easier debug
3. permissions - you'll find it where you can set dir browsing as activee, script 7 executable permissions
|
|
|
Gunnar
Posts: 4
|
Posted: 03/28/2010, 3:23 PM |
|
Hi TheunisP and thanks for help
Enviroment - Windows 7 Professional IIS 7.5
1 - "Setting Default Docs". In the "application level" of IIS I clicked on the "IIS - Default Document". Now the only page that I have in my project is "HelloWorld.asp" so I made this the default. Still the same result (The Web Site cannot display the page). I did the same process by adding the "index.asp". While doing this I made sure to "restart" IIS and "restart" Code Charge.
2 - Still at "applicaion level" in IIS I clicked on the "IIS - ASP" icon. In here, under "Debbugging Properties" I set what the "Enable Client Side Debugging" to true. And "Enable Server Side Debbugging" to true. Then restarted IIS & Code Charge and still the same outcome. No other debugging messages
3 - "Permissions". Now when I start "Code Charger" I right click and select "Run as Administrator". Now I am unsure of what you mean "set dir browsing as activee, script 7 executable permissions". Again at "application level" in IIS there is an icon called "Directory Browsing" and I clicked on this. I then enabled this feature. In here there was nothing that resemebled the statement "set dir browsing as activee, script 7 executable permissions". After this process I restarted IIS and Code Charge. Yep still the same outcome.
Again when I take the VB Script out and I view the url "http://localhost/NewProject4/HelloWorld.asp" the page comes up fine.
4 - I do not know if this helps but below is part of the "Logging info"
Many thanks for your help. Best wishes Gunnar
#Version: 1.0
#Date: 2010-03-28 22:00:43
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2010-03-28 22:00:43 ::1 GET /NewProject4/HelloWorld.asp |14|800a0401|Expected_end_of_statement 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 500 0 0 332
2010-03-28 22:01:07 ::1 GET /NewProject4/HelloWorld.asp - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 200 0 0 112
2010-03-28 22:05:52 ::1 GET /NewProject1/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 2 7
2010-03-28 22:05:52 ::1 GET /NewProject4/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 2 5
2010-03-28 22:05:52 ::1 GET /NewProject3/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 64 180
2010-03-28 22:09:37 ::1 GET /NewProject1/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 2 10
2010-03-28 22:09:37 ::1 GET /NewProject3/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 2 4
2010-03-28 22:09:37 ::1 GET /NewProject4/favicon.ico - 80 - ::1 Mozilla/4.0+(compatible;+GoogleToolbar+6.4.1321.1732;+Windows+6.1;+MSIE+8.0.7600.16385) 404 0 2 5
2010-03-28 22:09:41 ::1 GET /NewProject3/HelloWorld.asp |14|800a0401|Expected_end_of_statement 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 500 0 0 200
2010-03-28 22:09:47 ::1 GET /NewProject3 - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 301 0 0 1
2010-03-28 22:09:47 ::1 GET /NewProject3/ |14|800a0401|Expected_end_of_statement 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 500 0 0 50
2010-03-28 22:17:49 ::1 GET /NewProject4/HelloWorld.asp - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+GTB0.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E) 200 0 0 66
|
|
|
TheunisP
Posts: 342
|
Posted: 03/28/2010, 11:58 PM |
|
#2 must be set in IE - options, I think advanced - you will see an option ticked "Show friendly error ..." - untick it
#3 is a permission setting in IIS - in your sites default permissions you must give it scripting permission - also someone mentioned that ASP might not be on by default - but this is in IIS not on Codecharge that it needs to be set
|
|
|
Oper
Posts: 1195
|
Posted: 03/29/2010, 3:23 PM |
|
1) Try with a Simple HTML First
to make sure IIS is OK
2) Then go With ASP to make sure ASP is installed
try something simple
<%
response.write "HELLO WORLD"
%>
waiting for reply
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|