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 ...Installing in a web site in hosting providerInstalling in a web site in hosting provider
Previous
 
Next
New Post
9/30/2008 2:32 AM
 

I contacted my host provider. They helped me with the database restoring. Then, i had new error:

 

Login failed for user '****'. Server Error in '/' Application.
------------------------------
*Login failed for user '****'.* *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.Data.SqlClient.SqlException: Login failed for
user '****'.

*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:*

[SqlException (0x80131904): Login failed for user '****'.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject) +428
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection) +65
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) +117
System.Data.SqlClient.SqlConnection.Open() +122
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection
connection, String spName, Boolean includeReturnValueParameter,
Object[] parameterValues) +233
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection
connection, String spName, Boolean includeReturnValueParameter) +343
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String
connectionString, String spName, Boolean includeReturnValueParameter)
+175
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String
connectionString, String spName) +45
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String
connectionString, String spName, Object[] parameterValues) +207
DotNetNuke.Data.SqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +92
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32
PortalID) +43
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +75
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String
PortalAlias) +16
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3384
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s,
EventArgs e) +1018
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +75

------------------------------

 

At first , i thought the problem was about the user roles. So, i added all roles for the user. But the error is still on.

So, the "movie" continue :)

 
New Post
9/30/2008 9:34 AM
 

It sounds like to me that your SQL Server Connection string isn't right in your web.config.  Please note that there are actually two places where you put a SQL connection in.

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
9/30/2008 3:02 PM
 

I checked many times the web.config. It seems all proper there. Its something from the SQL Server, but i am not sure what is it. I sended email again at the hosting provider for help, and i am waiting now for answer.

 
New Post
10/1/2008 2:10 AM
 

Here is the answer from the hosting provider:

"We checked the database permissions. It seems this is a coding issue.

You may be trying to use a reference variable who's value is Nothing/null. When the value is Nothing/null for the reference variable, that means it is not actually holding a reference to an instance of any object that exists on the heap.

You either may not have assigned something to the variable, not created an instance of the value assigned to the variable, or may have set the variable equal to Nothing/null."

===================

A coding issue? Then, how the same code is working perfect on the local development machine?...

Please, someone to help me, cause i want to see my web site online :). Anybody to know something about that?

 
New Post
10/1/2008 3:13 AM
 

Here is the last:

======================
Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: BC30560: 'DataProvider' is ambiguous in the
namespace 'DotNetNuke.Modules.HTML'.

Source Error:

Line 40:
Line 41: ' singleton reference to the instantiated object
Line 42: Private Shared objProvider As DataProvider = Nothing
Line 43:
Line 44: ' constructor
Source File: C:\Domains\domain\wwwroot\App_Code\HTML\DataProvider.vb
Line: 42

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installing in a web site in hosting providerInstalling in a web site in hosting provider


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