CodeLover
asked on
ASPFormat.Format problem
Hi all,
I have an asp page with the following codes:
Set objA = Server.CreateObject("ASPFo rmat.Forma t")
But there is an error when opening it:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/test1.asp, line 129
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Please help me to fix it. Thanks.
I have an asp page with the following codes:
Set objA = Server.CreateObject("ASPFo
But there is an error when opening it:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/test1.asp, line 129
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Please help me to fix it. Thanks.
ASKER
Thanks for your response. I use it to format a number as "00", e.g. 5 as "05"
sNum = objA.FormatString(nNum, "00")
sNum = objA.FormatString(nNum, "00")
Well, I guess the saying is true.. we learn something new every day!
I found this:
http://www.4guysfromrolla.com/demos/FormatDemo.asp
This looks like an interesting little object for sure...
But the thing is that when you get an invalid progID error message, that's saying that the server isn't recognizing the object. Are you sure the IIS server has access to this object? Or is this a *nix operating system running one of the ASP emulators?
I found this:
http://www.4guysfromrolla.com/demos/FormatDemo.asp
This looks like an interesting little object for sure...
But the thing is that when you get an invalid progID error message, that's saying that the server isn't recognizing the object. Are you sure the IIS server has access to this object? Or is this a *nix operating system running one of the ASP emulators?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I dont think Server.CreateObject("ASPFo rmat.Forma t") is standard, I suspect you need to install some other software into your webserver to have this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What are you trying to accomplish?