I have the following code in a .asp file
<%
Dim obj1
obj1 = CreateObject("MYOBJ")
%>
The same code in a VBasp.net page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim obj1
obj1 = CreateObject("MYOBJ")
End Sub
returns the error:
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request"
"aspnet_wp.exe (PID=3768) stopped unexpectedly"
and this is a very bad error ,only in .NET, which does not provide any clue. The event log shows: . I've tried everything, including changes threads in .NET setup files, reinstalled the framework. Nobody seems to have a clue.
Any help will be appreciated. I could provide the dll containg the COM object, if someone
is interested, but if you have one in C++, you can test with that. It is happening for every COM.
Any help will be appreciated.
Thanks!