Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUnhandled error on DesktopModules/Repository/MakeThumbnail.aspx Unhandled error on DesktopModules/Repository/MakeThumbnail.aspx
Previous
 
Next
New Post
8/7/2008 2:18 AM
 

Hi Everyone,

Currently I am having a number of entries in the event viewer which show the error mentioned below. Dows anyone know how to solve this??

Thanks in advance,

Marc

Error from Event Viewer:

AssemblyVersion: 04.08.04
PortalID: 0
PortalName:
UserID: -1
UserName:
ActiveTabID: 56
ActiveTabName: Downloads
RawURL: /DesktopModules/Repository/MakeThumbnail.aspx?tabid=56&id=http%3A%2F%2Fwww.kidspace-epe.com%2Fphotos%2Fenahur%2Favid%2F
AbsoluteURL: /DesktopModules/Repository/MakeThumbnail.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 929dc497-7972-4645-be34-8c7199c09218
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.VisualBasic.CompilerServices.DoubleType.Parse
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidCastException: Conversion from string "http://www.kidspace-epe.com/phot" to type 'Integer' is not valid. ---> System.formatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberformatInfo Numberformat) at Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) at DotNetNuke.Modules.Repository.MakeThumbnail.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.desktopmodules_repository_makethumbnail_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
8/7/2008 11:38 AM
 

I can see 'why' you're getting the error, but not sure 'why' it's happening :)

If you look in the error message at the URL being called to generate the thumbnail image, it looks like this...
MakeThumbnail.aspx?tabid=56&id=http%3A%2F%2Fwww.kidspace-epe.com%2Fphotos%2Fenahur%2Favid%2F

the reason the error is being thrown is the id parameter.
MakeThumbnail.aspx?tabid=56&id=http%3A%2F%2Fwww.kidspace-epe.com%2Fphotos%2Fenahur%2Favid%2F

The id parameter should be the "ItemID" of the Repository item that you want a thumbnail for. The MakeThumbnail function will retreive the Repository item from the table based on that ID and generate a thumbnail of the "Image" that was uploaded for that particular item.

In your situation, I have no idea why a URL is being passed. Are you using a standard Repository template? or have you modified it, or are you using a custom Repository template for your module?

 
New Post
8/8/2008 3:43 PM
 

Hi All,

I'm having a similar, but slightly different problem. It is a Unhandled exception with MakeThumbnail.aspx but it seems to be passing in the Module ID instead of the Item ID.

Any ideas?

Thanks, John

AssemblyVersion: 04.08.04
PortalID: 0
PortalName: PSLPD Portal
UserID: 21
UserName: mchitolie
ActiveTabID: 84
ActiveTabName: Crime Analysis
RawURL: /Police/DesktopModules/Repository/MakeThumbnail.aspx?tabid=84&mid=532
AbsoluteURL: /Police/DesktopModules/Repository/MakeThumbnail.aspx
AbsoluteURLReferrer: http://pdportal/police/CrimeAnalysis/tabid/84/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 183c75a8-0032-4f45-b5e6-476ded1d8497
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.InternalSubStringWithChecks
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at DotNetNuke.Modules.Repository.MakeThumbnail.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.desktopmodules_repository_makethumbnail_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: PDPORTAL


John
 
New Post
8/11/2008 10:00 AM
 

Hi Steve,

Sorry for my late reply.

I am using the standard repository template and am using the latest build of the Repository module.

It seems like the log entry is created when users are visiting my site, because the url you have marked in your reply is not my own and therefore, I am asuming this is from a visitor.

 


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
8/11/2008 11:35 AM
 

couple of questions...

1. is there an image uploaded as part of that particular repository item?

2. in the module settings, what do you have for the "No Image" setting ( which is what is displayed as the image if an image is not uploaded )

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUnhandled error on DesktopModules/Repository/MakeThumbnail.aspx Unhandled error on DesktopModules/Repository/MakeThumbnail.aspx


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out