SORU
3 Temmuz 2012, Salı


Dizini yok. Parametre adı: directoryVirtualPath

ben sadece hile ve sahtekarlık olmadığı sürece benim ana projem yayınlandı ve bu hata (yerel ince İşler):

Server Error in '/' Application.

Directory does not exist.
Parameter name: directoryVirtualPath

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.ArgumentException: Directory does not exist.
Parameter name: directoryVirtualPath

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[ArgumentException: Directory does not exist.
Parameter name: directoryVirtualPath]
   System.Web.Optimization.Bundle.IncludeDirectory(String directoryVirtualPath, String searchPattern, Boolean searchSubdirectories)  357
   System.Web.Optimization.Bundle.Include(String[] virtualPaths)  287
   IconBench.BundleConfig.RegisterBundles(BundleCollection bundles)  75
   IconBench.MvcApplication.Application_Start()  128

[HttpException (0x80004005): Directory does not exist.
Parameter name: directoryVirtualPath]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)  9160125
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)  131
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)  194
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)  339
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)  253

[HttpException (0x80004005): Directory does not exist.
Parameter name: directoryVirtualPath]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context)  9079228
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)  97
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)  256

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

Bu ne anlama geliyor ?

CEVAP
4 EKİM 2012, PERŞEMBE


Aynı sorun bende de vardı ve olmayan mevcut dosyaları {sürüm} kullanarak ve joker gibi * işaret bazı paketler olduğunu öğrendim

bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
    "~/Scripts/jquery-{version}.js"));

Bunların hepsi kaldırıldı ve hata gitti.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • case LianLi

    case LianLi

    28 Mayıs 2010
  • ShotgunSandwichENT

    ShotgunSandw

    3 EKİM 2012
  • The Pet Collective

    The Pet Coll

    5 Ocak 2012