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...Upgrading DNN P...Upgrading DNN P...Moving DNN 7.0 site to IIS 7.5Moving DNN 7.0 site to IIS 7.5
Previous
 
Next
New Post
12/29/2012 4:17 PM
 

I'm having an issue with moving a converted DNN site (now version 7.0) to a web server running Windows Server 2008 R2 and IIS 7.5.

I've copied the website folder from the old server to the new server with no issues.  I've assigned Full Control security permissions to the IIS 7.5 application pool, running .NET 4.0 in Integrated Pipeline mode, to the website folder.  I've configured the website in IIS 7.5 to use the correct application pool.

When I go to browse the site, I am receiving an HTTP 404.  The site should be able to bring up the Default.aspx page - but it doesn't.

In IIS 7.5, I go to view the Default Document feature for the site and I receive the following message box:

There was an error while performing this operation.

Details:

File: \\?\C:\ActiveWebsites\ArizonaDeMolay\...

Error:

It appears that IIS 7.5 is not able to read the web.config file from the converted DNN 7.0 site.  When I go to the Configuration Editor for the site in IIS 7.5, I receive the following message:

The data is invalid (Exception from HRESULT: 0x8007000D

Can anyone please explain what to do about the above issues? I'm not entirely sure why the error would occur; I've got another DNN 7.0 site running on IIS 7.5 and didn't have these issues.  I'm guessing that the web.config is missing a configuration item, but I don't know what it is.

Please help! Thanks!

 
New Post
12/30/2012 4:05 AM
 
Todd,

does the user that runs the associated AppPool (e.g. "IIS AppPool\ASP.NET v4.0") has the necessary permissions in the file system and database?

Also check this: Using Internet Information Services Manager, open Sites, and mark the web site. Double-click "Authentication" (in the IIS section) and check if Anonymous Authentication is enabled. If yes, click Edit, and thange the user identity for anonymous users from the default value (something like "IUSR") by using the other option ("Application Pool Identity").

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
12/30/2012 5:24 PM
 
Thanks, Mike - the user that runs the IIS application pool does have Full Control over the folder permissions for the website. It doesn't need the access to the database as it is an application pool and not a domain\user account.

Everything under the IIS section for the website returns this error:

There was an error while performing this operation.

Details:

File: \\?\C:\ActiveWebsites\ArizonaDeMolay\...

Error:

Which, compared to the Configuration Editor, leads me to believe that the web.config file is corrupted in some way, even though I've checked the file in both Notepad and XML Notepad.

I'm thinking of using another web.config file from a different DNN 7.0 site on the same server, changing the values to match the values for the problem site, and then seeing if that works...
 
New Post
12/30/2012 6:09 PM
 
Well - I was able to do a couple of things...

1) I used a web.config from another DNN site (where there was no issue with IIS 7.5) and changed the values in that web.config to the problem site's values and I was able to get to a point where the Under Construction page came up.

2) I verified that the SQL Database had the correct user and password. I verified the permissions to the file system for the IIS Application Pool was Full Control.

3) After verifying the DNN site was fully upgraded, I reset two configuration parameters (regarding the AutoUpgrade and UseInstallWizard) to false.

I was then able to access the problem site on the new server with no issue. Not entirely sure what the problem was with the old web.config file, but it looks like all is well now.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Moving DNN 7.0 site to IIS 7.5Moving DNN 7.0 site to IIS 7.5


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