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 ...Tips for installing DNN in shared hostingTips for installing DNN in shared hosting
Previous
 
Next
New Post
5/10/2008 12:32 PM
 

Hi everybody.

After having several problems, migrating DotNetNuke from my local system to an ISP with shared hosting/medium trust,

I have come up with some usefull info.

First don't try to install it from the ISP website using the /install/install.aspx script when your ISP has assigned a custom user to the IIS application pool for your DNN application. This is not possible because the install script checks to see if user ASPNET has sufficient rights, while in your configuration ASPNET user is not used and the install script will not continue. You can probaply check if this is the case, in the control panel that let's you change file access rights of your webfolders, mostly it is described as:  ASP.Net worker process .

You can use Microsofts Database Publishing Tool to create an exact copy of your database using a single SQL script, this is handy when you are not able to restore your own SQL backups, which is very common in shared hosting.

You can download it here: http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A

Further, don't forget to set the right file and folder permissions of your freshly created IIS Virtual Directory, and set the ASP.NET version to 2.0.

If you find yourself in a situation that you get redirected to some URL on http://localhost  you need to open the table PORTALIAS in your SQL manager, and change the alias of the first row, so it matches your new location.

And last, if you did all this but you get a situation in which opening your new site, creates IIS to go into a inifinite loop in which it keeps opening to same page, but never showing it's content, this probaply means that your ISP did not install the AJAX Library.

What you do is, remove the file 'system.web.extensions.dll'  from your BIN/ folder, and ask your ISP to install this file:

http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en

This doesn't create any safety issues, it just installs this DLL into the Global Assembly Cache, and your site will finaly work in a shared hosting, medium trust configuration.

Greetings,

René Vaessen.

 
New Post
5/12/2008 10:29 AM
 

Very good collection of information!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/20/2008 1:21 PM
 

I have the same symptoms you described "And last, if you did all this but you get a situation in which opening your new site, creates IIS to go into a inifinite loop in which it keeps opening to same page, but never showing it's content, this probaply means that your ISP did not install the AJAX Library.

What you do is, remove the file 'system.web.extensions.dll'  from your BIN/ folder, and ask your ISP to install this file:

http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en" in this post and I still get the same symptoms.

I have recycled the IIS web site and application pool on the server.

I did find a warning in the application event log on the server that has entries in the stack that point to directories as they exist on my localhost.  The database I am pointing to in the web config is the same database I used when I installed on my localhost. Is that a problem or am I missing something else.

Clyde


Clyde
 
New Post
5/20/2008 3:09 PM
 

Hi..

While I wrote this first post, I succesfully fixed this problem you have quoted, on my local development system.

Just removing the .dll was enough to stop the infinite loop and make DNN work as it is supposed to.

But I was still waiting on my ISP, to reinstall the AJAX library, to make sure it is also installed in the Global Assembly Cache.

A day later, I received a message from this ISP, that the problem was solved, and that they checked that the DNN website was up and running.

But..!   On their system, it did not work without the .DLL in the bin\ folder of my application. So they copied it from their GAC to my BIN\ folder, and only from that moment on, it all worked.

I hope this helps you.

Greetings,

René.

 
New Post
5/21/2008 9:34 AM
 

I copied the System.Web.Extensions.Design.dll and the System.Web.Extensions.dll into my bin directory after renaming the original one from DNN, recycled the app pool, the website as well and I am still encountering the same symptom.

Also still got the SQL error with the stack trace referencing "D:\NetProjects... path which is on my localhost" as you can see below my server path should be "C:\WebSites\QualDNN\Website\ "

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 5/21/2008 7:16:20 AM

Event time (UTC): 5/21/2008 1:16:20 PM

Event ID: 516c537b0e6640238f8b6d11e83a7712

Event sequence: 11

Event occurrence: 1

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/440241048/Root-1-128558490843716250

Trust level: Full

Application Virtual Path: /

Application Path: C:\WebSites\QualDNN\Website\

Machine name: DHWINFONETQ1

 

Process information:

Process ID: 2288

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

Exception type: SqlException

Exception message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

The statement has been terminated.

 

Request information:

Request URL:

Request path:

User host address:

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 6

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)

at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)

at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)

at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)

at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)

at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues)

at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.PurgeLog() in D:\NetProjects\DNNPortal\Library\Providers\LoggingProviders\Provider.DBLoggingProvider\SqlDataProvider.vb:line 195

at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.PurgeLogBuffer() in D:\NetProjects\DNNPortal\Library\Providers\LoggingProviders\Provider.DBLoggingProvider\DBLoggingProvider.vb:line 509

at DotNetNuke.Common.Initialize.LogEnd() in D:\NetProjects\DNNPortal\Library\Components\Shared\Initialize.vb:line 302

at DotNetNuke.Common.Global.Application_End(Object sender, EventArgs e)

 

 


Clyde
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Tips for installing DNN in shared hostingTips for installing DNN in shared hosting


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