Sunday, August 26, 2012

creating generic handler in silverlight app

creating generic handler in silverlight app

hi iam using silverlight +mvvm

i need to upload images using browse method in viewmodel

when i upload a file using upload method the image is not uploading into the local folder 

and handler showing the follwiing error how can i resolve 

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 'SynapticBankApp.View.Hosting.CustomerIdentityImageHandler'.

Source Error:

Line 1: <%@ WebHandler Language="C#" CodeBehind="CustomerIdentityImageHandler.ashx.cs" class="SynapticBankApp.View.Hosting.CustomerIdentityImageHandler" %> 


Source File: /CustomerIdentityImageHandler.ashx Line: 1


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 

Answers & Comments...

Answer: 1

Try to remove CustomerIdentityImageHandler and create it again, It seems that there are some problem with your CustomerIdentityImageHandler.

By the way, could you tell me how to upload files by using Silverlight?





No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog