November Happy Hour will be moved to Thursday December 5th.

CMS5 Web Farm Virutal Path Providers-Shared Folder

Vote:
 

We have mentioned a shared folder as Virutal Path folder during CMS 5 SP1 installation.While running the application, it threw the following error. There are 2 servers in production both runningWin 2003 Server. Both are not domain servers, but standalone workgroups. User permissions forASPNEt and Network Service has been given. Please help me to solve this problem.

 

Error:-
 Server Error in '/' Application.      
Logon failure: unknown user name or bad password. 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.IO.IOException: Logon failure: unknown user name or bad password.
Source Error: [No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e8d34805\e15ead46\App_global.asax.xjnwovc0.0.cs Line: 0
Stack Trace: [IOException: Logon failure: unknown user name or bad password. ] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2056933 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +2759940 System.IO.DirectoryInfo.Create() +15 EPiServer.Web.Hosting.VirtualPathUnifiedProvider.GetAndValidatePhysicalPathBase(String physicalPath) +119 EPiServer.Web.Hosting.Versioning.VersioningFileSystem.Init(NameValueCollection config) +107 EPiServer.Web.Hosting.VirtualPathVersioningProvider..ctor(String name, NameValueCollection configParameters) +153 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0 System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +13 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +366 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114 EPiServer.Web.Hosting.VirtualPathHandler.CreateVirtualPathProviderInstance(ProviderSettings providerSettings) +290 EPiServer.Web.Hosting.VirtualPathHandler.InitializeProviders(ProviderSettingsCollection providers) +178 EPiServer.Global.InitializeVirtualPathProviders() +117 EPiServer.Global..ctor() +504 EPiServer.Templates.Global..ctor() +4 ASP.global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e8d34805\e15ead46\App_global.asax.xjnwovc0.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) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +197 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance() +27 System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +3460678 System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +125 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +99 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
#19594
Apr 21, 2008 12:31
Vote:
 

Are you running your servers with a load balancer in front? 

When do you get this error? Is it when you access a file in the VPP, when you browse any page in the site? Have you applied access rights in both EPiServer and the file system?

#19686
Apr 25, 2008 23:51
Vote:
 
It threw the error while accessing the website itself.  I have given access rights.  I am checking with the event viewer on both the servers and could not get any information.  Windows 2003(Software) Load Balancer is there. 
#19691
Apr 26, 2008 3:05
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.