• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

ASP Help

ForumMaster

Diamond Member
in computer class, we are learning ASP and after a long time that the ASP worked on my computer (Windows XP Pro with IIS installed) it started doing an Error 500 everytime. now i know that the code is alright because it works in school and was simply adapted from some code that my teacher gave us. short of reinstalling windows and praying that it will work, can anyone offer any suggestions as to what is causing the problem? if you request it, i'll post code, but it is pointless cause all and any code i attempt to run (from with in wwwroot and with the 127.0.0.1 address) gives my an Error. thanks in advance.
 
Error 500 usually means there is an error in the code; or an error in an ActiveX control used by the code. Are you doing DB access with ADO/ Make sure the database exists and you are referring to the right fields.

What you are going to have to do is adding debugging to the page to find which line is causing the problem. You could write debugg statements to a textfile or something.

WriteToTextFIle("Before code block")
'code block
WriteToTextFile("code block finished")

Then look to see how far the script got from the debug statements.
 
Originally posted by: tfinch2
Try to start with this to get a better error description, then report back with what that is.

http://www.aspfaq.com/show.asp?id=2109
well, after turning off "Show Friendly HTTP Errors", it now shows a Server Application Error everytime. and it says to opne the Internet Service Manager; i don't know where that is. looked in control panel and inside Administrative Tools and didn't find it. can you help me find it?
 
Originally posted by: ForumMaster
Originally posted by: tfinch2
Try to start with this to get a better error description, then report back with what that is.

http://www.aspfaq.com/show.asp?id=2109
well, after turning off "Show Friendly HTTP Errors", it now shows a Server Application Error everytime. and it says to opne the Internet Service Manager; i don't know where that is. looked in control panel and inside Administrative Tools and didn't find it. can you help me find it?

Are you sure you have IIS installed?

Goto Control Panel - Add/Remove Programs - Add/Remove Windows Components and check in the list to make sure IIS is checked off. If it's not, install it.

And to access the Internet Service Manager, you are correct. It's in Control Panel - Administrative Tools.
 
Originally posted by: tfinch2
Originally posted by: ForumMaster
Originally posted by: tfinch2
Try to start with this to get a better error description, then report back with what that is.

http://www.aspfaq.com/show.asp?id=2109
well, after turning off "Show Friendly HTTP Errors", it now shows a Server Application Error everytime. and it says to opne the Internet Service Manager; i don't know where that is. looked in control panel and inside Administrative Tools and didn't find it. can you help me find it?

Are you sure you have IIS installed?

Goto Control Panel - Add/Remove Programs - Add/Remove Windows Components and check in the list to make sure IIS is checked off. If it's not, install it.

And to access the Internet Service Manager, you are correct. It's in Control Panel - Administrative Tools.
absolutly sure. i made sure that it would install everything. the full check is checked in. and yet, when i go to the Administrative Tools in Control Panel, i don't see the internet service manager. It's just not there. should i reinstall windows in the hope that it will fix this?
 
Originally posted by: ForumMaster
Originally posted by: tfinch2
Originally posted by: ForumMaster
Originally posted by: tfinch2
Try to start with this to get a better error description, then report back with what that is.

http://www.aspfaq.com/show.asp?id=2109
well, after turning off "Show Friendly HTTP Errors", it now shows a Server Application Error everytime. and it says to opne the Internet Service Manager; i don't know where that is. looked in control panel and inside Administrative Tools and didn't find it. can you help me find it?

Are you sure you have IIS installed?

Goto Control Panel - Add/Remove Programs - Add/Remove Windows Components and check in the list to make sure IIS is checked off. If it's not, install it.

And to access the Internet Service Manager, you are correct. It's in Control Panel - Administrative Tools.
absolutly sure. i made sure that it would install everything. the full check is checked in. and yet, when i go to the Administrative Tools in Control Panel, i don't see the internet service manager. It's just not there. should i reinstall windows in the hope that it will fix this?

I wouldn't go as far as reinstalling Windows just yet thinking it will remedy this problem. Search on Google Groups to see if anyone else has had this particular problem. If I have a bit of time this evening I will take a peek to see what I can come up with.
 
didn't find anything useful. however, after i turned "friendly HTTP errors" of, it says to look at the even log. should i post the error?
 
the error in the even log is as follows:
DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon .\IWAM_DUDE in order to run the server:
{3D14228D-FBE1-11D0-995D-00C04FD919C1}

the thing is, i have nothing with a user or password or session what so ever. this happens no matter what asp code i try to run. this time i tried showing a database. so i don't know what the fvck is wrong here.
 
Originally posted by: beggerking
did you create a virtual directory to hold your site?
virtual directory? what's that? all i do is create the files, installed IIS, put the entire folder in the wwwroot folder, and then from webbrowser, typed 127.0.0.1/folder/file.html or asp. before it worked. now it only gives me this.
 
nm...if it worked before, it should work now..

in user setting in your control panel, do you have a asp.net user account?
 
I think he is talking about ASP, NOT ASP.NET

To the OP, run this code in an ASP file and see if it gives you an error:
<%
Response.Write("Hello world")
%>
BTW, are you running it under an administrative account?
 
A simple google search for your error gives this
PRB: Logon Failure: Unknown User Name or Bad Password When You Run Out-of-Process Webs

CAUSE
The IWAM_machine account may be out-of-sync. The IWAM_machine identity must be in synch in the metabase, the Security Account Manager (SAM), and COM+. Account information stored in the Internet Information Server (IIS) metabase is synchronized with the local SAM, but COM+ applications are not automatically updated.
Back to the top Back to the top
RESOLUTION
IIS 5.0 provides Synciwam.vbs to update the launching identity of all IIS COM+ application packages that run out-of-process. The Synciwam.vbs script can be found in the \Inetpub\AdminScripts folder and can be run using Cscript or Wscript (see the Synciwam.vbs file for more information).

NOTE: Using Synciwam.vbs will reset all out-of-process applications (medium and high isolation) to IWAM_machine.

If SynchIWAM fails with the "empty username or password" error, it may be necessary to update the IWAM_ account manually in the IIS Out-Of-Process Pooled Applications object and all Web sites in which the Application Protection is set to High (Isolated).
 
Originally posted by: mAdMaLuDaWg
I think he is talking about ASP, NOT ASP.NET

To the OP, run this code in an ASP file and see if it gives you an error:
<%
Response.Write("Hello world")
%>
BTW, are you running it under an administrative account?

I've never used ASP before, I just copy and pasted results from a google search of asp.net hello world. 😱
 
Originally posted by: mAdMaLuDaWg
I think he is talking about ASP, NOT ASP.NET

To the OP, run this code in an ASP file and see if it gives you an error:
<%
Response.Write("Hello world")
%>
BTW, are you running it under an administrative account?
that's just it. i am running in an administrative account and even this simple code refuses to run. and yes, i am talking about ASP. plain ol' ASP. not ASP.Net. i must admit that i didn't understand what your latter post said. i need asp now. the question is, if i reformat, will it fix the problem?
 
Ok, according to the Microsoft link.. all you have to do is goto this folder: \Inetpub\AdminScripts
and run the Synciwam.vbs using the wscript.exe utitility
Note
?

Windows scripts are files with the following file name extensions: .wsf, .vbs, .js.
?If you double-click a script file whose extension has not been associated with Wscript.exe, the Open With dialog box appears. Select Wscript.exe, then select Always use this program to open this file type. This registers Wscript.exe as the default script host for files of this file type.

?You can use the Windows Script Host Settings dialog box to set global scripting properties for all scripts that Wscript.exe runs on the local computer

?You can set properties for individual scripts. See Related Topics for information about how to do this.

?You can also use Windows Script Host to create .wsf script files, with which you can call multiple scripting engines and perform multiple jobs, all from one file.

Of course, you can reformat if you want to but thats really not necessary.
 
and when i tried doing that, it says: Error: 1AD: ActiveX component can't create object, this thing is messed up. apart from that, windows runs great.
 
Did you ever find the IIS Console? If not you should be able to do either of these: 1.)Right Click on MyComputer and select manage. Under services and applications it should be listed. 2.) Start-->Run-->mmc + enter. When you get the MMC Console up click on File-->Add/Remove Snap-in and Pick Internet Information Services.
I think you have to change the properties of the default website to allow scripts in order for this to run, it can be found on the Home Directory tab of Properties. Look for the Execute Permissions and set to scripts only. This might be your problem. You class probably had the IIS Server side already setup for this.
 
Back
Top