Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Dnn.Services.Exceptions.PageLoadException after publish web siteDnn.Services.Exceptions.PageLoadException after publish web site
Previous
 
Next
New Post
11/25/2007 6:03 PM
 

I do upgarde dnn to 4.07 and publish to my localhost, works fine on localhost.

but I get such Exception when i upload the publish direction to server.

<LogProperties><LogProperty><PropertyName>AssemblyVersion</PropertyName><PropertyValue>04.07.00</PropertyValue></LogProperty><LogProperty><PropertyName>PortalID</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>PortalName</PropertyName><PropertyValue>newcars.co.nz</PropertyValue></LogProperty><LogProperty><PropertyName>UserID</PropertyName><PropertyValue>-1</PropertyValue></LogProperty><LogProperty><PropertyName>UserName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>ActiveTabID</PropertyName><PropertyValue>36</PropertyValue></LogProperty><LogProperty><PropertyName>ActiveTabName</PropertyName><PropertyValue>home</PropertyValue></LogProperty><LogProperty><PropertyName>RawURL</PropertyName><PropertyValue>/Default.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURL</PropertyName><PropertyValue>/Default.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURLReferrer</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>UserAgent</PropertyName><PropertyValue>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)</PropertyValue></LogProperty><LogProperty><PropertyName>DefaultDataProvider</PropertyName><PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue></LogProperty><LogProperty><PropertyName>ExceptionGUID</PropertyName><PropertyValue>938f96e4-4a86-40d4-818d-bfa9ad9afc0b</PropertyValue></LogProperty><LogProperty><PropertyName>InnerException</PropertyName><PropertyValue>Could not find a part of the path 'D:\websites\newcars_test\Website\App_GlobalResources\Locales.xml'.</PropertyValue></LogProperty><LogProperty><PropertyName>FileName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>FileLineNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>FileColumnNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>Method</PropertyName><PropertyValue>System.IO.__Error.WinIOError</PropertyValue></LogProperty><LogProperty><PropertyName>StackTrace</PropertyName>
<PropertyValue /></LogProperty><LogProperty><PropertyName>Message</PropertyName><PropertyValue>
DotNetNuke.Services.Exceptions.PageLoadException: Could not find a part of the path 'D:\websites\newcars_test\Website\App_GlobalResources\Locales.xml'. ---&gt; System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\websites\newcars_test\Website\App_GlobalResources\Locales.xml'.     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)     --- End of inner exception stack trace ---</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>

 

But when i copy App_GlobalResources to D:\websites\newcars_test\Website\, it'll show the

The directory '/App_GlobalResources/' is not allowed because the application is precompiled.

Help plase!

 
New Post
11/26/2007 12:38 AM
 

How did you pulbish the site to the server?  Did you use the publish command in VS or did you just copy the files from the local machine to the server for the site.?

 
New Post
11/26/2007 3:26 PM
 

using VS2005 and choose
Allow this precompiled site to be updatable
Use ficed naming and single page assembiles

 
New Post
11/28/2007 12:20 AM
 

DotNetNuke does not support publishing the web site precompiled.  We lost this ability when we moved to VS2005 and the WSP project mode. To deploy you site do the following.

1) Delete the files put there when you published it.
2) Copy all the files from in your DNN directory to the new server.
3) Make sure the file permissions are set correctly on the folder (Win2000 -ASPNet, Win2003 - Network Service) has to have List, Read, Write and Modify permissions.
4) Either create a new database to do a clean install or backup you current database and restore to the new database for the production site.  If using an exsting database you have to add the URL for the new site to the alias table.
5) You shoule then be able to access the site and it will run through the install routine if new database or bring up the site if using an existing database.

Hope this helps.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Dnn.Services.Exceptions.PageLoadException after publish web siteDnn.Services.Exceptions.PageLoadException after publish web site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out