31 Temmuz 2010 Cumartesi Kayıt Giriş
Search:  Go
 
 


 

   Mini Anket Küçült  
"Module" ün Türkçesi Nedir?







Anketi Gönder Sonuçları Göster
     
 Yazdır   
Burada Reklam Ver 468x60 Reklam Bandı


AraForum Anasayfa
  DotNetNuke Yardım!  DotNetNuke 4.x Genel  hata ...
 hata
 
 27.04.2009 11:11:57
Kullanıcı çevrimdışıbymercan
14 mesaj


hata
 Düzenleme - Xeon  - 29.04.2009 13:16:59)

Merhaba publish ettiğim sayfada sık sık aldığım bir hata bu konuda yardımcı olursanız sevinirim 

Des c r i p tion: 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.DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml'.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  < % @ Page Language="C#" Debug="true" % >

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml'.]System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +64System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +77System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +54System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +74System.Threading.CompressedStack.runTryCode(Object userData) +70System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +108System.Xml.XmlTextReaderImpl.OpenUrl() +186System.Xml.XmlTextReaderImpl.Read() +208System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +112System.Xml.XmlDocument.Load(XmlReader reader) +108System.Xml.XmlDocument.Load(String filename) +87DotNetNuke.Services.Localization.Localization.UseBrowserLanguage() +128DotNetNuke.Framework.PageBase.get_PageCulture() +561DotNetNuke.Framework.PageBase.OnInit(EventArgs e) +35System.Web.UI.Control.InitRecursive(Control namingContainer) +333System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378[PageLoadException: Could not find a part of the path 'C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml'.]DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +325DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +380System.Web.UI.TemplateControl.OnError(EventArgs e) +8689450System.Web.UI.Page.HandleError(Exception e) +84System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242System.Web.UI.Page.ProcessRequest() +80System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21System.Web.UI.Page.ProcessRequest(HttpContext context) +49ASP.default_aspx.ProcessRequest(HttpContext context) +37System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 

Server Error in '/' Application.

Could not find a part of the path 'C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml'.

 

 29.04.2009 18:18:15
Kullanıcı çevrimdışıXeon
69 mesaj
www.dnnturkiye.com


Re: hata

C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml diye bir dosya varmi bilgisayarinda?


Melih Eroglu
DotNetNuke Türkiye
 30.04.2009 09:10:37
Kullanıcı çevrimdışıbymercan
14 mesaj


Re: hata

Publish yapmadan önce var ancak  visiual studio da sağ tıklayıp yeni klasöre publish yapınca bu dosya klasörde olmuyor ben ekleyince bu dosyayı bu sefer sayfa hiç açılmıyor

 01.05.2009 02:58:58
Kullanıcı çevrimdışıXeon
69 mesaj
www.dnnturkiye.com


Re: hata
 Düzenleme - Xeon  - 30.04.2009 21:59:17)

Mutlaka hata vermesi lazım. Biraz bekle belki timeout olması gerekiyordur. Olmadı Event Viewer'a bak en azından orada bir şeyler çıkması lazım.

Birde Locales.xml dosyasının içeriğini yolarsan bendeki ile karşılaştırma yapabiliriz.

 


Melih Eroglu
DotNetNuke Türkiye
 01.05.2009 06:57:50
Kullanıcı çevrimdışıbymercan
14 mesaj


Re: hata

C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml böyle bir dosya yok ama publish yapmadan  önceki proje dosyasında  locales.xml içeriği

"

  <?xml version="1.0" encoding="UTF-8" ?>
- <root>
  <language name="English (United States)" key="en-US" fallback="" />
  <language name="Türkçe (Türkiye)" key="tr-TR" fallback="en-US" />
  <browserDetection enabled="true" />
  </root>

"

eventlarda verdiği hata

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/28/2009 2:27:22 PM
Event time (UTC): 4/28/2009 11:27:22 AM
Event ID: 7d5bcb588f8141feb934b07b5c18d284
Event sequence: 227
Event occurrence: 22
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/229116299/Root-1-128853207280224193
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\Inetpub\wwwroot\Publish\
    Machine name: PP860
 
Process information:
    Process ID: 5884
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: DirectoryNotFoundException
    Exception message: Could not find a part of the path 'C:\Inetpub\wwwroot\Publish\App_GlobalResources\Locales.xml'.
 
Request information:
    Request path: /Default.aspx
    User host address: 67…………
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 32
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at DotNetNuke.Services.Localization.Localization.UseBrowserLanguage()
   at DotNetNuke.Framework.PageBase.get_PageCulture()
   at DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
  DotNetNuke Yardım!  DotNetNuke 4.x Genel  hata ...

Türkçe Konuş
 
 
Kullanım Şartları  Gizlilik