cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exception at debug: "Could not find executable for file extension = htm"

Former Member
0 Kudos
350

When launching debug for an J2EE Application in the Developer Studio occurs the following popup:

"<i>Exception occured during launch. Reason:

Could not find executable for file extension = htm</i>"

Debugging Web-Dynpro-Applications works without problems.

Does anybody know how to help this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is not a sap problem, it is a windows problem.

I run windows XP also. Every once a while, I will see this "Could not find executable for file extension = htm" error when trying to debug a J2EE/Dympro application. It just means somehow window suddenly got confused about file association for htm/html extensions. you just need to delete the file associations for htm/html, and let window re-associate htm/html with IE. Nothing big, but very annoying. Never seen this kind of crap in LINUX.

BTW, you run windows explorer, then tools->folder options->file types, and look for htm and html to delete.

Former Member
0 Kudos

Good to know that it is a windows problem!

But I couldn't solve it this way. Maybe the reason is, that Windows didn't allow to delete the file association for the extension ".html". To delete the association for ".htm" was possible, and Windows re-associated it then.

BTW, I also deleted the file associations in NWDS/eclipse.

But the Problem persists.

Former Member
0 Kudos

j Sun,

I understand what you're saying. Unless I'm mistaken, though, I don't believe that is the issue in this case.

If it were a windows issue, then I would not be able to 'launch' an html file into Internet Explorer by double-clicking on it in Windows Explorer.

Answers (3)

Answers (3)

Former Member
0 Kudos

worked for me too, thx guys.

0 Kudos

Pay attention to set file association for *.htm and default browser to same executable. Having file associations point to Firefox and using IE as default browser did not work for me.

In case you are looking for setting file associations in VISTA: They are at Control Panel -> Classic View -> Default Programs -> Associate a file type...

Former Member
0 Kudos

I had the exact same problem.

the .htm and .html extensions were specified as HTML instead as HTML Document type!

In order to change that, delete the association (if windows won't allow, reset the association and then delete) and go to new, type in html press "extended" (or somthing like that, my windows is in german), choose html document.

It worked for me.

Cheers, Michael

Former Member
0 Kudos

Franz,

I'm having the exact same problem...

Did anyone ever respond to you on this or did you find a solution on your own?

Thanks!

Former Member
0 Kudos

David,

no, not until now.

I work now only with web-dynpro-applications, where debugging works fine.