Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 26th, 2005, 12:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default aspjpeg

Hi there

I've got some files on a separate server to the database server where the aspjpeg component is installed.

What's happening is that the other files sit on a separate server and when they call up the database it is via a global.asp file that directs the pages to the database server.

It's all working fine bar the aspjpeg where I get the error message:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed


The error message refers to the following line of code:

Set jpeg = Server.CreateObject("Persits.Jpeg")
        jpeg.Open(File.Path)


Prior to this line I have used an include file 'global.asp' for the db connection.

Any help greatly appreciated.

Regards

Adam

 
Old October 27th, 2005, 04:26 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Adam,

Is the control registered on the server correctly? And does the account used by the webserver have enough permissions to access the DLL?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old October 29th, 2005, 04:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

Hi Imar

Thanks for the response. I've been thinking it could possibly be permissions to the user. It's definitely registered correctly because it works locally on the server.

What permissions would I need to have for the account used by the webserver if it was being accessed from elsewhere?

thanks

Adam

 
Old October 29th, 2005, 04:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It depends on your setup. Does the ASP page and the component reside on the same server, and are you trying to access an image on a different server? That is, does File.Path contain something like \\ServerName\ShareName\ImageName.jpg ?

In that case, take a look at this FAQ: http://Imar.Spaanjaars.Com/QuickDocId.aspx?QUICKDOC=276

Otherwise, can you provide a bit more information about your setup and explain what calls what on which server?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old October 29th, 2005, 05:53 AM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Adam. Still my problem is not solved.
I am using the AspTear1.50 evaluation version. This is
working fine. But When iam using it for authenticated
sites, no response it is getting. Without user name
and password it works fine.
for example
strRetval=xobj.Retrieveurl,Request_GET, "", "", "") it
works fine.
But strRetval=xobj.Retrieveurl,Request_GET, "", "aaa",
"bbb") it doesn't work. I am getting the time out
error after a long time the page is being processed.
Can any one solve my problem.
Thanks,
Subbu







Similar Threads
Thread Thread Starter Forum Replies Last Post
upload multiple files in db with persits aspjpeg dann2 Classic ASP Basics 0 May 10th, 2007 11:20 PM
ASPJpeg Issue DynaCube Classic ASP Components 0 March 19th, 2007 12:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.