Smart Image Processor ASP 2 Support Product Page

This topic was archived

Image Processor: No component detected

Reported 03 Oct 2007 15:57:47
1
has this problem
03 Oct 2007 15:57:47 Rune Brynestad posted:
I get the this error message when I test Smart Image Processor 2:

Image Processor: No component detected
There is no supported component detected.

I have done the following on my Windows XP system:

Detect.asp test with this result:
FOUND: ASP.NET Msxml2.ServerXMLHTTP.6.0
Smart Image Processor can be fully used on this server!

Add the IUSR <machinename> account and the ASP.NET machine account to the list of users and give them the write permissions for the upload image folder.

The DmxZone.ImageProcessor.dll is in it's right place in the bin directory.

The machine.config for Framework\v1.1.4322\CONFIG has the following trust level:

<location allowOverride="true">
<system.web>
<securityPolicy>
<trustLevel name="Full" policyFile="internal" />
<trustLevel name="High" policyFile="web_hightrust.config" />
<trustLevel name="Medium" policyFile="web_mediumtrust.config" />
<trustLevel name="Low" policyFile="web_lowtrust.config" />
<trustLevel name="Minimal" policyFile="web_minimaltrust.config" />
</securityPolicy>

<!-- level="[Full|High|Medium|Low|Minimal]" -->
<trust level="Full" originUrl="" />

</system.web>
</location>

I have a web.config file in my root directory with this content:

<?xml version="1.0"?>
<configuration>
<appSettings/>
<system.web>
<trust level="Full" originUrl="" />
<compilation tempDirectory="C:\WINDOWS\TEMP\" defaultLanguage="C#" />
<authentication mode="None" />
<authorization>
<allow users="*" />
</authorization>
<sessionState cookieless="false" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<customErrors mode="Off"/>
</system.web>
</configuration>


When Run the page with the ?Spdebug=true parameter and the sip_service.asmx in my browser I get the following error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details

and modify your source file appropriately.

Parser Error Message: Could not create type 'DMXzone.ImageProcessor.ImageProcessorWebService'.

Source Error:


Line 1: <%@ WebService Class="DMXzone.ImageProcessor.ImageProcessorWebService" %>


Source File: c:\inetpub\wwwroot\Test\ScriptLibrary\sip_service.asmx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


When I run the page with the ?spinfo=true parameter I get this info:

Server Information
Info Value
Server Name localhost
Server IP Address 127.0.0.1
Server Port 80
Server Software Microsoft-IIS/5.1
Operating System Windows_NT
Script Engine VBScript (version: 5.7.5730)

Response Object
Attribute Value
Response.Buffer True
Response.CacheControl private
Response.Charset
Response.ContentType text/html
Response.Expires
Response.ExpiresAbsolute 00:00:00
Response.isClientConnected True
Response.Status 200 OK

Server Object
Attribute Value
Server.ScriptTimeout 90

Session Object
Attribute Value
Session.CodePage 1252
Session.LCID 1044
Session.SessionID 693910868
Session.TimeOut 20

Installed Components
Component Version Resize Crop RotateLeft RotateRight Sharpen Blur GrayScale AddText AddWatermark AddTiledWatermark AddStretchedWatermark FlipHorizontal

FlipVertical

Image Processor: No component detected
There is no supported component detected.


Can you please look at it

Thanks.

Regards
Rune

Replies

Replied 04 Oct 2007 10:47:03
04 Oct 2007 10:47:03 Georgi Kralev replied:
Hi Rune,

This look like a problem with the Smart Image Processor 2 web service.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>Parser Error Message: Could not create type 'DMXzone.ImageProcessor.ImageProcessorWebService'.

Source Error:


Line 1: &lt;%@ WebService Class="DMXzone.ImageProcessor.ImageProcessorWebService" %&gt;


Source File: c:\inetpub\wwwroot\Test\ScriptLibrary\sip_service.asmx Line: 1 <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Check if <b>Bin</b> folder is into the root of your website and if the file DMXzone.ImageProcessor.dll is in it.

I hope this helps you.

Regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 04 Oct 2007 11:31:14
04 Oct 2007 11:31:14 Rune Brynestad replied:
Yes!!! It's working now.

I had to move the bin folder from the site root and place it directly under the wwwroot.

Thanks again.

Regards
Rune
Replied 08 Oct 2007 10:15:01
08 Oct 2007 10:15:01 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Yes!!! It's working now.

I had to move the bin folder from the site root and place it directly under the wwwroot.

Thanks again.

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thank you for your update on the issue.
If you have any other problems or questions do not hesitate to contact us.

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 17 Oct 2007 14:27:19
17 Oct 2007 14:27:19 juno -2 replied:
I've a problem related to this one.

Situation: We have a website with two hostnames, f.e:
<b>www.mywebsite.com</b> for external/internet use and
<b>mywebsite</b>/ for internal use.

SIP works perfectly when i resize an image using the internal hostname (without www and.com).
When i try to resize an image using the external hostname, i'm getting this 'There is no supported component detected.' issue too.

The dll is in the bin folder in the root.
debuginfo=true shows:

www.mywebsite.com/admin/../ScriptLibrary/sip_service.asmx

But 'scriptlibrary' is also in the root and is not a subfolder of 'admin'.

Anyone?

THanks.
Replied 18 Oct 2007 11:08:01
18 Oct 2007 11:08:01 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
The dll is in the bin folder in the root.
debuginfo=true shows:

www.mywebsite.com/admin/../ScriptLibrary/sip_service.asmx

But 'scriptlibrary' is also in the root and is not a subfolder of 'admin'.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I believe that the path is correct.
The <b>..</b> will move you up will one folder
(Thus direct your to the root of your web site: www.mywebsite.com/ScriptLibrary/sip_service.asmx)

To test it you can load the URL into your browser: www.mywebsite.com/admin/../ScriptLibrary/sip_service.asmx

When you try to resize with Smart Image Processor 2 and parameters <b>debuginfo=true</b> it should show you the real error message.
It could help in determine what is causing the problem.

NOTE: One work around is to use different image processing component from ASP.NET.

Regards,


Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 18 Oct 2007 12:20:55
18 Oct 2007 12:20:55 juno -2 replied:
When i access the page with the SIP component using the external hostname it will show this:
sipdebug=true

----------------------------
Url to ASP.NET service www.mywebsite.com/admin/../ScriptLibrary/sip_service.asmx
Error creating object Msxml2.ServerXMLHTTP.6.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object Msxml2.ServerXMLHTTP.5.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error
Error
Error creating object AspNet
Error creating object GraphicsMill 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating objectImageX 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object ShotGraph 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object ImgWriter
Error creating object AspImage 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object SmartImage 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object PictureProcessor 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object AspThumb 006~ASP 0177~Server.CreateObject Failed~800401f3

Image Processor: No component detected
There is no supported component detected.

----------------------------
(this doesn't work)

When i access the same page of the same website using the internal hostname it will look like this:
sipdebug=true

----------------------------
Url to ASP.NET service mywebsite/admin/../ScriptLibrary/sip_service.asmx
Error creating object Msxml2.ServerXMLHTTP.6.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object Msxml2.ServerXMLHTTP.5.0 006~ASP 0177~Server.CreateObject Failed~800401f3
AspNet Detected
Getting file collection Source is upload
Files added to collection No files where added
----------------------------
(this does work)

Any suggestions?
Replied 18 Oct 2007 16:06:05
18 Oct 2007 16:06:05 Georgi Kralev replied:
This problem is due to some settings of your server.

Try to give Full control permission to IUSR_xxx account at the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.4.0
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.5.0
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.6.0

You could also check the following forum topics:

dmxzone.com/forum/topic.asp?topic_id=38506&NewsId=12607
www.dmxzone.com/forum/topic.asp?topic_id=31779

If this does not help you please, turn to your system administrator with the following errors:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Error creating object Msxml2.ServerXMLHTTP.6.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object Msxml2.ServerXMLHTTP.5.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object AspNet
Error creating object GraphicsMill 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating objectImageX 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object ShotGraph 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object ImgWriter
Error creating object AspImage 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object SmartImage 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object PictureProcessor 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object AspThumb 006~ASP 0177~Server.CreateObject Failed~800401f3
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Best regards,

Georgi Kralev

----------------------------------
Support - www.DMXzone.com

Reply to this topic