PDA

View Full Version : Server object error 'ASP 0177 : 800401f3' (Crystal Report Viewer Error)


hodgesp
12-05-2005, 06:00 PM
I havew an asp page that I use to generate a Crystal report. I had it working a few months ago but Now I get this error:


Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ctsweb/AlwaysRequiredSteps.asp, line 20
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.


Microsoft was as helpfull as usuall. The problem is I don't know what PRODID it needs. I have Crystal 9 and 10 on my machine but the server only has 10.


here the code from my Report.asp page:


varSQL = "exec sp_RunNo4Rpt " & RNx & "," & vTxt & "," & vTxt1 & "," & vTxt2
RNSQL = "Select LTRIM(RTRIM(String)) from tblRunRptTEMP where RunNo = " & RNx

Set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = Session("StrConn")
cmd.CommandText = varSQL
cmd.commandTimeOut = 1000
cmd.Execute
cmd.ActiveConnection.Close


and nowthe code from the AlwaysRequired.asp page (line 20):


ReportName = Request.Form("ReportName")
If Not IsObject (session("oApp")) Then
Set session ("oApp") = Server.CreateObject("Crystal.CRPE.Application")
End If


Help Please!!:(