Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Object Disabled 1

Status
Not open for further replies.

sera

Technical User
Jun 29, 2000
360
US
Ok here it goes...

I have developed 16 asp pages to add to an application. I developed them using Windows 2000 and IIS 5.0. They run correctly on my machine. I tried to install them on a machine that used Windows NT Server. When I try to call them I get the error "Object Disabled".

The Windows NT Server machine is running visual studios.net. I developed the asp pages in visual studios 6.0. I am wondering if there are possibly conversion errors between my asp code and what the server is looking for.

I really don't know what is wrong, the page I am testing is the simplest of all of them...it only uses Request.Querystring and Response.Write, it is not even trying to access a database.

Maybe you can help?
Sera
I often believe that...
My computer is possessed!
 
can you show us some code? especially the line that is causing the problem?
 
That is the problem, there is no specific line causing the problem. The code works fine on one server...not fine on another server. The error message simply states....
"Object disabled" but I will post some code for you to see...
Code:
<HTML>
<HEAD>
<META NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft Visual Studio 6.0&quot;>
<TITLE>Get Tables from TtEMI database</TITLE>
<Script Language=&quot;Javascript&quot;>

self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);		

function close_main()
{
     window.close();
}

</Script>
</HEAD>
<BODY>

<H1><Center>Please Choose the Table You Would Like to View</center></h1>
<CENTER>
<TABLE WIDTH=75% BORDERCOLOR=Navy BORDER=2 CELLSPACING=3 CELLPADDING=3>
	<TR>
	<%  dim sampleID
	    sampleID =  Request.QueryString(&quot;SampleID&quot;)
	%>
		<TD BGCOLOR=Silver BORDERCOLOR=Navy ALIGN=middle>
		<%Response.Write &quot;<a href = 'get_sample.asp?SampleID=&quot; +  sampleID + &quot;' >Sample</TD>&quot; + vbcrlf%>
	</TR>
	<TR>
		<TD BGCOLOR=Silver BORDERCOLOR=Navy ALIGN=middle>
		<%Response.Write &quot;<a href = 'get_stream_flow.asp?SampleID=&quot; +  sampleID + &quot;' >Stream Flow</TD>&quot; + vbcrlf%>
	</TR>
	<TR>
		<TD BGCOLOR=Silver BORDERCOLOR=Navy ALIGN=middle>
		<%Response.Write &quot;<a href = 'get_TtEMI_2001_field_data_ALL.asp?SampleID=&quot; +  sampleID + &quot;' >TtEMI_2001_field_data_ALL</TD>&quot; + vbcrlf%>
	</TR>
	<TR>
		<TD BGCOLOR=Silver BORDERCOLOR=Navy ALIGN=middle>
		<%Response.Write &quot;<a href = 'get_Analytical_Results.asp?SampleID=&quot; +  sampleID + &quot;'>Analytical Results</TD>&quot; + vbcrlf%>
	</TR>
</TABLE>
<br>
<img src=&quot;images/close_button.jpg&quot; alt=&quot;Click here to return to the map window.&quot; onmousedown = &quot;window.close()&quot; >
</CENTER>
</BODY>
</HTML>
Sera
I often believe that...
My computer is possessed!
 
this is the file that's causing the error? there shouldn't be anything that .net is causing as they are designed to run side by side. but do they have the asp engine stuff turned on?
 
All of the files are causing the same error. I have found documentation in the Microsoft Knowledge Base that discusses the use of the IIS Lockdown Wizard. If the wizard is used to lock down everything, the only thing the server will serve is static files....such as html files. There is a way to configure the IIS to allow the use of asp files. Unfortunately the system admin for the system I am trying to run the files on has not contacted me yet, so I cannot determine if this is the problem. I am pretty sure this is the problem, because it is the only solution I have found after extensive searching on the internet...if it isn't I am screwed....hehehe....I will post the solution when I know it.
However bbolte, I do appreciate the comment &quot;there shouldn't be anything that .net is causing as they are designed to run side by side&quot; because that is one of the questions I have been desperately searching for an answer. For that I give you a star! Thank you for helping!
Sera
I often believe that...
My computer is possessed!
 
Well I am posting the solution now....because this seems to be a problem lots of people may encounter!

The solution can be found at:

It was the IIS Server. The system admin of the server had used the IIS Lockdown Wizard. All he had to do was follow the steps listed in the above knowledgebase article to allow the server to serve asp files and voila just like magic, everything worked. Thanks to everyone who tried to help me!

Sera
I often believe that...
My computer is possessed!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top