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

ASP - Internal Server Error on CreateObject 1

Status
Not open for further replies.

TimBiesiek

Programmer
Nov 3, 2004
151
AU
Hi all,

Am having a small issue with an application... The system is connecting to the required database etc, and the user is able to enter their username and password on the login ASP page. However, when they click on next, an Internal Server Error page appears.

I've narrowed it down to the exact line of code in the ASP page:

Code:
	sDll = "simmprd"

	set uObj = Server.CreateObject(sDll)
sDll is the name of a DLL file, that has been registered on the server, so this should be all good.

This app is running fine on our test web server...

Any ideas? Cheers!
 
hmm

Try this:
set uObj = Server.CreateObject("simmprd")

if not, please post the error you are getting.

Army : Combat Engineer : 21B

 
Hi snowboardr,

Yip, tried that. The error I get is simlpy the usual IE error page that says:

Code:
The page cannot be displayed 
There is a problem with the page you are trying to reach and it cannot be displayed. 

--------------------------------------------------------------------------------

Please try the following:

Open the sww.stos.shell.co.nz home page, and then look for links to the information you want. 
Click the  Refresh button, or try again later.

Click  Search to look for information on the Internet. 
You can also see a list of related sites. 

HTTP 500 - Internal server error 
Internet Explorer
 
If you are using IE goto tools > internet options > advanced tab > uncheck "Show friendly error messages"

And in IIS right click on your website > properties > custom errors > set 500 error to "Set to default"


This way you will see "real errors" instead of friendly errors...

Also have you registered the DLL on that server?

Army : Combat Engineer : 21B

 
Yip, the DLL was registered...

The error I get is:

Code:
SIMMPRD error '8007000e' 

Out of memory 

/Immpower/imm1.asp, line 361

But after a restart of IIS on the server I get:

Code:
SIMMPRD error '8000401f' 

Cannot load UNIFACE configuration definition "immprd" 

/Immpower/imm1.asp, line 361

After this, I have investigated the code, and found the issue... was to do with an incorrect path (which was setup by the application provider)...

Thanks for you rhelp! It helped to point me in the right direction!
 
No problem, it helps to have an error message to work with!

:D

Army : Combat Engineer : 21B

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top