Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi at code Project, I'm trying to attach a comments box to my Silverlight app in which people can email questions queries and comments to me using my personal email address. I used this example from this link: http://www.dotnetfunda.com/articles/show/1074/how-to-send-an-email-in-silverlight-part-1[^].
Unfortunately the application was written in .Net Framework 3.5 and I had my target Framework settings in Visual Studio configured at .Net Framework 4.0. I was given this link (How to: Host a WCF Service Written with .NET Framework 3.5 in IIS Running Under .NET Framework 4)
http://msdn.microsoft.com/en-us/library/dd759047(v=vs.110).aspx[^]
In which I changed the web configuration as suggested but this didn't work either. On the error page in the browser It also highlited this other error: section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication
I'm still trying to teach my self Silverlight and I don't know what to do to fix this.
Kind Regards
Will.
Posted

1 solution

Are you host your silverlight on your subfolder? Something like abc.com/silverlight? If yes, you need to convert this folder to application. Go to your IIS--> domain--> find your folder--> right click and then conver to application. Hope it helps
 
Share this answer
 
Comments
willrob68 31-Oct-13 10:10am    
Hi, thanks for getting back to me. I didn't know about IIS. I thought this was taken care of automatically when project was created in Visual Studio(2012). I opened the IIS manager and looked for anything Silverlight related and couldn't find anything? Do I have to add the project manually? If so would you be so kind to explain the process of doing this to me.
Thanks
Will.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900