Remove iNotes redirect from db?

Hi there,

i got a database from a customer which had the inotes template on it. The design was changed and so on. Now i want to create a web interface for it, but opening the database in web causes an redirect to /inotes/proxy?OpenDocument and so on. How can i remove that? Changing the default opening method in the app settings does do the trick. I have no redirect.nsf or whatever.

Can anybody help please?

Thanks

Matthias

Subject: solved it

I exported the database options via dxl and found out, that there were several items related to iNotes. I kicked out the fields below and now the default web startup options work. Bye bye iNotes…

Dim session As New NotesSession

Dim db As NotesDatabase

Set db = session.CurrentDatabase

Dim docIcon As notesdocument

Set docIcon = db.GetDocumentByID("FFFF0010") 

If docIcon.Hasitem("$TemplateFileName") Then Call docIcon.Removeitem("$TemplateFileName")

If docIcon.Hasitem("$FormsTemplateFile") Then Call docIcon.Removeitem("$FormsTemplateFile")

If docIcon.Hasitem("$WebHybridDb") Then Call docIcon.Removeitem("$WebHybridDb")

Call docIcon.Save(True, False, True)