Try our conversational search powered by Generative AI!

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Vote:
 

Setuped a new CMS 6. Use VPP folder which are located on our server. When trying to use them i get the following EM.
When using local VPP folders everything is OK. Connected over VPN.

Episerver.config:

      <add showInFileManager="false" virtualName="Page Files" virtualPath="~/PageFiles/"
        bypassAccessCheck="false" indexingServiceCatalog="Web" physicalPath="\\192.168.9.10\vpp\SituationSthlm\PageFiles"
        name="SitePageFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />

EPi: 6.0.530.0
Server Error in '/' Application.


An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Source Error:

[No relevant source lines]


Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\29768706\421c76a2\App_global.asax.btd3p9ez.0.cs    Line: 0

Stack Trace:

[SocketException (0x2747): An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full]
System.Net.Sockets.Socket.setMulticastOption(SocketOptionName optionName, MulticastOption MR) +334
System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Object optionValue) +197
Microsoft.ServiceModel.Samples.UdpChannelListener.CreateListenSocket(IPAddress ipAddress, Int32 port) +512
Microsoft.ServiceModel.Samples.UdpChannelListener.OnOpen(TimeSpan timeout) +319
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +563
System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout) +87
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +563
System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +110
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +563
EPiServer.Events.EventsInitialization.CreateEventServiceHost() +88
EPiServer.Events.EventsInitialization.Initialize(InitializationEngine context) +440
EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +853
EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +115
EPiServer.Framework.Initialization.InitializationModule.StaticInitialization(HostType hostType) +227
EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +53
EPiServer.Global..ctor() +76
ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\29768706\421c76a2\App_global.asax.btd3p9ez.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +146
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +298
System.Activator.CreateInstance(Type type, Boolean nonPublic) +79
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +10363067
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +258
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11301302
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4338644
#37984
Mar 25, 2010 15:25
Vote:
 

Hi!

This is reported already in Bug #33715.

There is a simple workaround: Comment the whole system.serviceModel section in web.config.

To be more specific, it is the protocoll used by default for Remote Events that is not working. Remote Events is only needed in a load balanced or enterprise multi-site scenario so there is no problem to remove it.

You can still get it Remote Events to work with VPN using tcp protocol. Read more in my blog: http://blog.fredrikhaglund.se/blog/2009/09/22/episerver-cms-how-to-configure-remote-events-with-many-servers-and-firewalls-between-them/

 

 

#37998
Mar 26, 2010 9:43
Vote:
 

Thanks, Fredrik

read that error report but good not find anything about how to solv this.
THanks for the help.

#37999
Mar 26, 2010 10:13
Vote:
 

The bug 33715 is corrected in the final Release 6.0.530

/Pelle

 

#38166
Mar 31, 2010 14:11
Vote:
 

Thanx Fredrik. This sorted my problem out. Was having some problems when working at home due this error.

#50209
Apr 18, 2011 12:29
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.