K
K
kati_1112014-12-01 15:05:21
IIS
kati_111, 2014-12-01 15:05:21

Why did a WCF RIA application stop running on x64 Windows8.1 after publishing a copy of it on local IIS?

WCF Ria application published on IIS. The process was painful and not easy (I don’t remember what and how I did). After that Submit of records in a DB ceased to be fulfilled. Throws an error in interface - Object reference does not point to an instance of an object.
I published the application, but when running on localhost, the same error appeared (although it didn’t exist before publishing - Submit new records was performed).
On another computer (x86, Windows 7 Home, IIS - no, the development software is the same - VS 2012, MSSQL Express 2012, Net Framework 4.5), on the localhost to another local database Submit is performed, i.e. the error is not reproduced.
Please help me figure out why this is happening.
After setting the Debugging Options in Visual Studio to the above, throws out the following errors:
System.Configuration.ConfigurationErrorsException occurred
HResult=-2146232062
Message=Element is not currently associated with any context
Source=System.Configuration
BareMessage=Element is not currently associated with any context
Line=0
StackTrace:
in System.Configuration .ConfigurationElement.get_EvaluationContext()
InnerException:
After Continue: System.ServiceModel.CommunicationException occurred
HResult=-2146233087
Message=No channel should ever be opened with this host.
Source=System.ServiceModel.DomainServices.Hosting
StackTrace:
at System.ServiceModel.DomainServices.Hosting.ServiceUtility.WebServiceHostInspector.OnOpening()
InnerException:
After Continue: System.Net.WebException occurred
Message=""
StackTrace:
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
InnerException:
After Continue: System.Net.WebException occurred
Message=""
StackTrace:
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
InnerException:
After Continue: System.Net.WebException
Message=""
StackTrace:
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.b__0(Object sendState)
InnerException:
After Continue: System.TimeoutException occurred
Message=The HTTP request to " localhost:45815/ClientBin/SCI-Web-DS.svc/binary/Ge... " timed out. The time allocated for this operation may be included in a longer wait time.
stacktrace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
InnerException: System.Net.WebException
Message=""
StackTrace:
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
InnerException:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kati_111, 2014-12-15
@kati_111

Reinstalling Windows helped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question