Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win 2003 and ASP

Status
Not open for further replies.

spicysudhi

Programmer
Nov 10, 2003
575
0
0
FR
Hi,

I am having problem in running ASP files in Win 2003 server.

HTML pages are working, however ASp is giving 404 error.

The server has got NO service packs installed. Is service pack is a must?

thanks.

regards,
Sudhi
 
I do not know if the service packs are required or not, I would think not.
But have you configured IIS on the machine to enable ASP?
Are you addressing the pages through the server or just clicking on the page to open it up locally?
You would need to do something like: to test your ASP page.

(where of course myfile.asp should be replaced with your own filename)

Paranoid? ME?? WHO WANTS TO KNOW????
 
View thread333-1121387 which also contains links to other threads with the same problem.

Jim Schuuz
{ F1 = my.friend
}
 
thanks JimSchuuz.

ASPs are working now. I have few VB DLLs creatred. Like in Win 2K, i have registerd them in Component Services. However from ASP file, the instances of the DLLs are not creating. anywhere else i have give permissions?

thanks.

regards,
Sudhi
 
The default "user" for IIS is named IUSR_MachineName so make sure this account has access to your COM objects.
 
Also you can test to make sure the objects are properly registered on the system by writing a short VBScript.

So create a new textfile on the desktop of your server and do this:
[tt]
on error resume next
Set ob = CreateObject("MyProject.MyClass")
IF ob Is Nothing THEN
msgbox "object not created"
ELSE
msgbox "object created ok"
Set ob = Nothing
END IF
[/tt]

Then change the file extension from .txt to .vbs and double click the icon with your mouse... if you get the "object created ok" msgbox then it is registered fine.
 
thanks... its working fine after adding IWAM users.

final part, i am in running .net on the same IIS!!! let me try that and hope it works without any problm.

thanks again.
sudhi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top