Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No pilot found for text/html

187538Dec 5 2002
We just shipped our product containing Oracle Help for Java v. 4.1.12. We have a customer running Win2000 complaining that he can't view any of the help content. He gets the message "No pilot found for text/html" in the text pane. Other than that, his system seems to be configured correctly. Does anybody have any ideas as to what might be causing this? We haven't been able to re-create the error message here at all. (As a side note, we install all help files locally, encapsulated in a JAR file)

Jeff Beal
Documentation Tools Specialist
ANSYS, Inc.
jeff.beal@ansys.com

Comments

User_LM318

Found the cause... In my WEB API I was returning a string but APEX seems to be expecting an HTTP response.
So changed:
public string Put(Department dep)
{
try
{
string query = @"
update dbo.Department set DepartmentName=
'" + dep.DepartmentName + @"'
where DepartmentId="+dep.DepartmentId+@"
";
DataTable table = new DataTable();
using (var con = new SqlConnection(ConfigurationManager.
ConnectionStrings["EmployeeAppDB"].ConnectionString))
using (var cmd = new SqlCommand(query, con))
using (var da = new SqlDataAdapter(cmd))
{
cmd.CommandType = CommandType.Text;
da.Fill(table);
}

           **return "Successfuly updated row!";**  
       }  
       catch (Exception)  
       {  
           **return "Could not update row!";**  
       }  
   }  

to

public HttpResponseMessage Put(Department dep)
{
try
{
string query = @"
update dbo.Department set DepartmentName=
'" + dep.DepartmentName + @"'
where DepartmentId="+dep.DepartmentId+@"
";
DataTable table = new DataTable();
using (var con = new SqlConnection(ConfigurationManager.
ConnectionStrings["EmployeeAppDB"].ConnectionString))
using (var cmd = new SqlCommand(query, con))
using (var da = new SqlDataAdapter(cmd))
{
cmd.CommandType = CommandType.Text;
da.Fill(table);
}

           **return Request.CreateResponse(HttpStatusCode.OK, table);**  
       }  
       catch (Exception)  
       {  
           **return Request.CreateResponse(HttpStatusCode.NotFound, "Could not update row!");**  
       }  
   }  

Hope it helps someone!

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 6 2003
Added on Dec 5 2002
1 comment
785 views