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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Upgrade error - 4.3.5 to 4.8.0 - site thinks its webroot is c:\Upgrade error - 4.3.5 to 4.8.0 - site thinks its webroot is c:\
Previous
 
Next
New Post
1/16/2008 12:53 AM
 
here is the error:

Could not find file 'c:\SiteUrls.config'.
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.FileNotFoundException: Could not find file 'c:\SiteUrls.config'.
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:
[FileNotFoundException: Could not find file 'c:\SiteUrls.config'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1971213
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) +998
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
DotNetNuke.HttpModules.Config.RewriterConfiguration.GetConfig() +215
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +955
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Downloaded the.4.8 upgrade zip file, and unzipped it over the top of my 4.3.5 site that i had working. i am a godaddy customer and of course their server patch broke the announcements module on my site, so i am trying to figure out how to fix it... i finally got them to give me a copy of all the dnn site files (they are kept in a virtual private directory someplace that the customers can't access...) and downloaded the db to my local server, and ran the sp_change_users_login command on the db so i could log in, and added a portal alias for the new server name, and that was all working (as it was on the hosted server - broken) before the upgrade.

OK i am stumped on this one... read the doc, searched the forums, and got absolute zero. For some reason after upgrading from 4.3.5 to 4.8, my DNN site seems to think it lives in C:\ even though it clearly is in a sub folder on the D: drive... i searched every file and scoured most of the database for references to C:\ but found nothing. It seems to be in code someplace perhaps that it trys to do a map path perhaps and cant, so defaults to c:\? i copied the specific file to actual c:\ but then it was looking for something else there too, so it indicated a bigger problem that just one file. Somehow it thinks that its webroot is c:\...

Any ideas would be greatly appreciated...

thx much!

-J
 
New Post
1/19/2008 2:24 PM
 

nobody has an answer, eh? well, i scapped the install and just fixed the bug in the announcements edit module. although it is working again, i cannot upgrade the modules, each time i try to upgrade, they always fail and the site is totally hosed after the failed install.

so i guess my only alternative is to start over from scratch with 4.8, however i guess i can only manually transfer the content i worked so hard at getting set up in the old site.

 

As a senior developer myself, I have to say this is one where this situation gets my vote for "BAD programmer, NO pizza."

 

 
New Post
1/31/2008 1:44 PM
 

I to am trying to upgrade but from 4.04? to 4.08 and have a similar error:

[FileNotFoundException: Could not find file 'c:\DotNetNuke.config'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1971213
   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) +998
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114

Anyone else find a solution?!

 
New Post
3/26/2008 3:39 PM
 

I'm not familiar with the problems you are both experiencing however my understanding is that some time back the dev team stopped moving those through automatically on the upgrade process (thankfully) because it would cause your custom settings to be overwritten if you've made changes.

So my suggestion is that If it's saying the files are missing, try having a look in the config folder and copy them manually from there to the root.

Hope this helps!

 
New Post
5/27/2008 10:15 PM
 

If performing an upgrade with a version prior to DNN 4.6.2 you have to transfer the settings from web.config to the new release.config and then rename release.config to web.config.

The settings you need to transfer are the database connection strings and the machine key. Also any entries in the "codeSubDirectories" section.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Upgrade error - 4.3.5 to 4.8.0 - site thinks its webroot is c:\Upgrade error - 4.3.5 to 4.8.0 - site thinks its webroot is c:\


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