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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

going nuts: ASP page wont show up! 1

Status
Not open for further replies.

eramgarden

Programmer
Aug 27, 2003
279
US
I have asp pages on a box,a website created via IIS is pointing to it... the ex-developer set that up and it all fine and dandy.

I got a new box and want to create the website on this box...so
1. I created the website thru IIS. Have IP address. Have the right folder.
2. Compared it to the other box. Went thru all the tabs in IIS.."security", "website", "home directory"..etc and it all looks the same as the GOOD/Working box.

3. I point to the new website, first page comes on. I click on a link and it comes up. But on 2 other links, I get nothing...it wont show up....

There was a line "on error resume next"..I removed it and put "response.write("Page display") on the top of the ASP page and that line showed but. I removed this line and put it somewhere in the bottom of the page and it doesnt show up. I just get a blank page with "Done" at the bottom. I also did a "properties" on the blank page and it's pointing to "

What am I missing? how can I debug this??
 
OK, I unchecked that but nothing...

I think the ASP page cant call the dll because I removed "on error resume next" from ANOTHER page and I'm getting this error:

EDatabaseAPI error '800a005b'

Object variable or With block variable not set


I have resgitered the dll via COM+ ( component services, com+ applications). I refreshed after I created them.

The line of code is this:

set objActivity=server.CreateObject("EDatabaseAPI.db_Activity")


Then
set rec = server.CreateObject("ADODB.Recordset")

and then i get the error on this line:
set rec=objActivity.ListByIncidentID(strIncidentId)



The dlls were copied from another box to this new box..would this cause an issue? what do I need to do because it works fine on my box and on another box but not on this new server.

Thanks in advance
 
I had them registered using :COM+ ( component services, com+ applications).


I deleted that and used regsvr32 and now I get this error:


Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/cust/c_incid.asp, line 98

Invalid ProgID.



Any ideas?
 
I found this website:

-- I added the "LOGON User" code and I get BLANK .

-- The article has : If the LOGON_USER is blank, you are being authenticated as IUSR_machine ...

so is that the issue?? I registered the dll with &quot;anonomus user&quot;. I also did it with &quot;administrator/<password> and neither worked.

What to do??
 
OK, I added IUSER_machinename and Now I have a new error msg...

Object variable or With block variable not set.

I have registered the dll using COM+ component, it has &quot;administrator/<password>&quot; as user...I tried &quot;interactive user&quot; as well ...But i Keep getting that error... I also tried IUSER_<machinename> dll is vendor provided code

The line of code is:

set objActivity=server.CreateObject(&quot;EDatabaseAPI.db_Act&quot;)

....
set rec = server.CreateObject(&quot;ADODB.Recordset&quot;)

And I get the Error on this line:...

set rec=objActivity.ListByIncidID(strIncidId)


--- I got this KB article but I HAVE registered the dll:


What am I missing? how could this work on 2 boxes but not on the new server?? Any ideas? going nuts over this....
 

Does the COM+ object need to run under the identity of an account who has access to the database?

If the COM+ object uses windows authentication to connect to the database this may be the problem.
 
No, dont think it's &quot;rec&quot; because the same code is working on 3 boxes...

No, COM+ object doesnt need to run under identity of a database accoutn because on the other 3 boxes, it's running under 'interactive user&quot; or &quot;adminsitrator&quot;...

Someone said the dependencies might be missing, and to export the dll in component services from the box that works to the box that doesnt work..i did that but still get the same error...

someone else said to
Make sure that the DLL has been granted read permissions to the IUSR_machinename account. ..

How can I do that??
 
Oops, sorry, I'm blind...

I did that ( we created the IUSER_Machinename user), gave it full permission but still get the same error...

I also exported the component from a machine that it works on to the new machine, but still the same error!!!

Not good...any other ideas???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top