This is a migrated thread and some comments may be shown as answers.

Weather Monitor Error

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Burl
Top achievements
Rank 2
Burl asked on 23 Nov 2010, 04:34 PM
Hi,

Just downloaded the Weather Monitor sample application and unblocked the zip file and added the Key files.

However I'm getting this error running the app. "Operation not permitted on IsolatedStorageFileStream." on line 44 of the IsolatedStorageHelper.cs file.

Thanks, Burl

2 Answers, 1 is accepted

Sort by
0
Accepted
Teodor
Telerik team
answered on 24 Nov 2010, 09:56 AM
Hi Burl,

Thank you for reporting this.

Just continue the execution after hitting this exception (you should be able to do this since it is in a try-catch block) - it appears if a needed file is not located on the isolated storage. 

Let us know if this helps to run the application on your side.

Regards,
Teodor
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Burl
Top achievements
Rank 2
answered on 24 Nov 2010, 05:00 PM
Hi Teodor

Turns out I needed to add a reference to the Telerk.Web.UI dll for the Web Site Project and comment out the static content and SVC handlers in the web.config, already have those on the server. Not sure why that cause the  "Operation not permitted on IsolatedStorageFileStream." error messeage....

Commented out this section of web.config....
<system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <!--<staticContent>
      <mimeMap fileExtension=".svc" mimeType="application/octet-stream" />
    </staticContent>-->
    <!--<handlers>
      <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
      <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>-->
    <defaultDocument>
      <files>
        <add value="WeatherMonitorTestPage.aspx" />
      </files>
    </defaultDocument>
  </system.webServer>

Thanks, Burl
Tags
General Discussions
Asked by
Burl
Top achievements
Rank 2
Answers by
Teodor
Telerik team
Burl
Top achievements
Rank 2
Share this question
or