none
Error calling method on NPObject!

    General discussion

  • I am running Silverlight 3 RTM and Win7 and am using ADO.NET Data Services. I have two projects. First, I start my service in VS 2008 without degugging. Then I start up a second project, the web project for my Silverlight app. When I access the local server in IE, it works fine. But when I access it in Firefox, I get this exception and I never get any data.

    Error: uncaught exception: Error calling method on NPObject! [plugin exception: System.InvalidOperationException: An error occurred while saving changes. See the inner exception for details. ---> System.Data.Services.Http.WebException: Internal error at 'HttpWebResponse.NormalizeResponseStatus'.
       at System.Data.Services.Http.HttpWebResponse.NormalizeResponseStatus(Int32& statusCode)
       at System.Data.Services.Http.HttpWebResponse..ctor(HttpWebRequest request, Int32 statusCode, String responseHeaders)
       at System.Data.Services.Http.HttpWebRequest.CreateResponse()
       at System.Data.Services.Http.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Data.Services.Client.QueryAsyncResult.AsyncEndGetResponse(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
       at System.Windows.Browser.ManagedObject.Invoke(InvokeType invokeType, Int32 memberID, ScriptParam[] args)
       at System.Windows.Hosting.ScriptingInterface.InvokeScriptableMember(ManagedObject obj, InvokeType invokeType, Int32 memberID, ScriptParam[] args, ScriptParam& pResult)
       at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)].

     

    Thanks.

    Wednesday, July 15, 2009 9:58 PM

All replies