Smart Image Processor ASP 2 Support Product Page

Smart Image Processor/Server 2008 issue

Asked 21 Aug 2012 19:26:50
4
have this question
21 Aug 2012 19:26:50 Chris Manning posted:
I am having issues with Smart Image Processor 2. My host recently upgrded their server from Server 2003 to Server 2008. Everything worked just fine up till then. Is there a certain component that needs to be turned on in Server 2008 for this to work? I tried uploding the script again and it still is not working.

This is the Error i am recieving.

"Image Processor: Error executing the action SetMatte
System.NullReferenceException: Object reference not set to an instance of an object. at DMXzone.ImageProcessor.ImageProcessorWebService.SetMatte(Int32 red, Int32 green, Int32 blue)"

I have tried contacting both my host and DMX zone. Got a reply from DMX zone asking me to send the coding to a different email, then nothing after that. I really need to get this resolved as my customer is getting extremly irritated.

Replies

Replied 27 Aug 2012 07:31:42
27 Aug 2012 07:31:42 Teodor Kuduschiev replied:
Hello Chris,

Please check the following FAQ and paste the report that shows on your screen.
Replied 28 Aug 2012 00:54:24
28 Aug 2012 00:54:24 Chris Manning replied:
I did upload the new DMXzone.ImageProcessor.dll.

This is the intital error message:
"Image Processor: Error executing the action SetMatte
System.NullReferenceException: Object reference not set to an instance of an object. at DMXzone.ImageProcessor.ImageProcessorWebService.SetMatte(Int32 red, Int32 green, Int32 blue)"


I have contacted my host and they are telling me that after their upgrade to Server 2008 that it is no longer supported and i have to upgrade to a dedicated server.


This is the current error with debug:

Server Information
Info Value
Server Name www.donfestaiutiphotography.com
Server IP Address 74.208.253.162
Server Port 80
Server Software Microsoft-IIS/7.5
Operating System
Script Engine VBScript (version: 5.8.16978)

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

Server Object
Attribute Value
Server.ScriptTimeout 90

Session Object
Attribute Value
Session.CodePage 1252
Session.LCID 1033
Session.SessionID 402776601
Session.TimeOut 20

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

Image Processor 2.5.6 debug
Url to ASP.NET service www.donfestaiutiphotography.com:80/images/galleries/../../ScriptLibrary/sip_service.asmx
Error Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



Error creating object Msxml2.ServerXMLHTTP.5.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object Msxml2.ServerXMLHTTP.4.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



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

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



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

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly '" "' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Source Error:


[No relevant source lines]


Source File: web.config Line: 77


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
Error Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly '" "' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Source Error:


[No relevant source lines]


Source File: web.config Line: 77


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
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 Persits AspJpeg 006~ASP 0177~Server.CreateObject Failed~800401f3
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.

Replied 19 Nov 2012 10:46:54
19 Nov 2012 10:46:54 Nick Green replied:
I have the same problem. All of a sudden it started today. I have a VPS so therefore have near enough full control over what goes on in the box.

I have Google'd this and it seems that is related to the size of the header requests for https (SSL). I haven't tried it again without SSL as the whole site is SSL and needs it to be that way for security etc.

I found this: forums.asp.net/t/1574804.aspx

I have changed my settings via CMD as I was getting a 403 error saying the files were too large. However although the images I am uploading are less than 100kb each the SIP still fails entirely. I have now set the upload limit to 20mb which is more than sufficient!

This command via CMD: appcmd set config "mysite" /section:system.webserver/serverruntime /uploadreadaheadsize:1048576 /commit:apphost

seems to be what should fix it, but it doesn't. Has anyone else come across this?

Nick
Replied 19 Nov 2012 10:52:01
19 Nov 2012 10:52:01 Nick Green replied:
Apparently, you have to do the above command for each folder where your upload occurs. so if you have /images/ then you need to apply to that as well.

However I have done that and now I get:

Image Processor: Error executing the action SetMatte
System.NullReferenceException: Object reference not set to an instance of an object. at DMXzone.ImageProcessor.ImageProcessorWebService.SetMatte(Int32 red, Int32 green, Int32 blue)


UPDATE:
I have checked the upload folder and the main image is being uploaded. It is failing just on the SIP.
Replied 20 Nov 2012 21:02:16
20 Nov 2012 21:02:16 Chris Manning replied:
That is the exact same error i was getting and hve yet to get it resolved. Both my Server Company and DMXzone have done notig but pass the buck back and forth with the issue. I basically gave up on the issue and reize before the upload. If youare bleto etit resolved pleas advise.

Thanks Chris
Replied 15 Jan 2013 10:07:31
15 Jan 2013 10:07:31 Manhar Joshi replied:
I have had this problem in the past. Try running the upload file without HTTPS. That was the only way I got it working previously.
Replied 28 Jun 2013 19:19:21
28 Jun 2013 19:19:21 simon m replied:
Did you manage to get this working Chris? - I've encountered this problem recently with sip2.5.6
Replied 29 Jun 2013 23:13:16
29 Jun 2013 23:13:16 Chris Manning replied:
No I have not. I got the run around from DMX and from my webhost 1and1 for weeks and have given up on it for now.
Replied 30 Jun 2013 11:03:50
30 Jun 2013 11:03:50 simon m replied:
hmm.. I'm with 1and1 too. This happens to be on a shared server package where I am am getting the error.

I also had a dedicated windows server with 1and1 where sip2 worked fine. But was an older version of sip...

Did you manage a workaround?
Replied 01 Jul 2013 11:47:07
01 Jul 2013 11:47:07 Manhar Joshi replied:
This is going to sound strange but HTTPS is causing this problem. I managed to get this working when I accessed the same file over HTTP rather than HTTPS.

I have two websites, on another one it's working even with HTTPS... Kind of strange but 100% this solution worked for me. If someone could shed some more light on what could be causing it will be quite helpful.

Hope this helps? Please let us know here if it works for you as it's always helpful.

Josh
Replied 01 Jul 2013 11:49:53
01 Jul 2013 11:49:53 Manhar Joshi replied:
Simon & Chris

1. Are you trying to access it over HTTPS?
2. Is your Bin folder on the root?
3. Has Bin folder got appropriate 'Execute' permissions?
4. The folder where you're doing all your processing, that too needs execute permission.

Please let me know if you have any other queries. I will certainly try and help as I've worked with this component for several years.
Replied 01 Jul 2013 12:14:35
01 Jul 2013 12:14:35 simon m replied:
Hi Manhar,

1. No this is not over https
2. yes, Bin is on root
3. yes, Execute permissions
3. yes execute permission

I too have worked with this with no problems in the past. This is only recent since I am using the latest 2.5.6 and a new hosted server package with 1and1 as opposed to a dedicated server before...
Replied 01 Jul 2013 13:08:36
01 Jul 2013 13:08:36 Chris Manning replied:
1. No this is not over https
2. yes, Bin is on root
3. yes, Execute permissions.

It was working fine until 1 and 1 updated their server. Then it just stopped working immediately. It has to be some kind of security issue with 1and1 and they are unwilling to resolve the situation and jut say you have to upgrade to dedicated server. Looks like a big ploy of extra money.
Replied 01 Jul 2013 13:19:23
01 Jul 2013 13:19:23 Manhar Joshi replied:
Blind shot - Have you guys tried this: www.dmxzone.com/go/17107/error-when-enabling-resize/

I was having some problems with resizing images, then this sorted that out?
Replied 01 Jul 2013 13:47:54
01 Jul 2013 13:47:54 simon m replied:
Afraid not.

I've tried changing the code with no difference. (I already had that line of code but with different key)
This reply was removed on 7/28/2013 2:10:58 AM.
See the changelog
Replied 29 Jul 2013 11:59:11
29 Jul 2013 11:59:11 Manhar Joshi replied:
Try:

1. Debugging by adding
filename.asp?sipdebug=y&sipinfo=y

2. Try accessing
www.yourwebsite.co.uk/ScriptLibrary/sip_service.asmx
Replied 07 Sep 2013 03:03:24
07 Sep 2013 03:03:24 Chris Manning replied:


Server Information


Info

Value

Server Name www.firstindesign.com
Server IP Address 74.208.253.162
Server Port 80
Server Software Microsoft-IIS/7.5
Operating System
Script Engine VBScript (version: 5.8.16996)



Response Object


Attribute

Value

Response.Buffer True
Response.CacheControl private
Response.Charset
Response.ContentType text/html
Response.Expires
Response.ExpiresAbsolute 12:00:00 AM
Response.isClientConnected True
Response.Status 200 OK



Server Object


Attribute

Value

Server.ScriptTimeout 90



Session Object


Attribute

Value

Session.CodePage 1252
Session.LCID 1033
Session.SessionID 347118548
Session.TimeOut 20



Installed Components


Component

Version

Resize

Crop

RotateLeft

RotateRight

Sharpen

Blur

GrayScale

AddText

AddWatermark

AddTiledWatermark

AddStretchedWatermark

FlipHorizontal

FlipVertical

AspNet ImageProcessor 2.5.4
ASP.NET 2.0.50727.5472





Image Processor 2.5.7 debug

Url to ASP.NET service www.firstindesign.com:80/new_sip/../ScriptLibrary/sip_service.asmx
Error
Server Error in '/' Application.
--------------------------------------------------------------------------------


Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



Error creating object Msxml2.ServerXMLHTTP.5.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error creating object Msxml2.ServerXMLHTTP.4.0 006~ASP 0177~Server.CreateObject Failed~800401f3
Error
Server Error in '/' Application.
--------------------------------------------------------------------------------


Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



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


Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.



<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



Getting file collection Source is folder
Files added to collection E:\kunden\homepages\13\d245885871\www\firstindesign\new_sip\OG_images\20121108_151129.jpg
E:\kunden\homepages\13\d245885871\www\firstindesign\new_sip\OG_images\collin art003.tif

Load filename = E:\kunden\homepages\13\d245885871\www\firstindesign\new_sip\OG_images\20121108_151129.jpg
autoOrient = false

Load Response ok
SetMatte red = 255
green = 255
blue = 255

SetMatte Response System.NullReferenceException: Object reference not set to an instance of an object. at DMXzone.ImageProcessor.ImageProcessorWebService.SetMatte(Int32 red, Int32 green, Int32 blue)


Image Processor: Error executing the action SetMatte

System.NullReferenceException: Object reference not set to an instance of an object. at DMXzone.ImageProcessor.ImageProcessorWebService.SetMatte(Int32 red, Int32 green, Int32 blue)
Replied 08 Sep 2013 00:25:16
08 Sep 2013 00:25:16 Chris Manning replied:
This is using the detect feature

Smart Image Processor Components
Detecting Components:

NOT FOUND: Smart Image Processor Own component
NOT FOUND: ASPJpeg Server Component
NOT FOUND: ASPImage Server Component
NOT FOUND: ASPSmartImage Server Component
NOT FOUND: ImgWriter Server Component
NOT FOUND: AspThumb Server Component
FOUND: ASP.NET Msxml2.ServerXMLHTTP

Smart Image Processor can be fully used on this server!
Replied 24 Apr 2014 08:42:29
24 Apr 2014 08:42:29 Andrew Wiggins replied:
Not if this helps but I had the same issue, I resolved it by checking the Proxy config. Please refer to myitforum.com/cs2/blogs/robm/archive/2010/01/08/proxycfg-on-vista-and-win2008.aspx. I ran NetSH from a CMD and WinHttp Show Proxy, this showed a bogus proxy. It should say Direct no proxy.
Replied 23 Sep 2014 03:04:42
23 Sep 2014 03:04:42 Chris Manning replied:
I have tried all the suggestions that have been made and still having issues. It is a shared 1and1.com server. I have been told that is could be a security setting and 1and1.com states that they cannot change any security settings and that I have to upgrade my account to a dedicated server for this to work. To me this sounds like a ploy by 1and1.com to get people to upgrade their accounts.

I hope someone else that might have been dealing with this same issue has been able to find a resolution.

Reply to this topic