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 ...Installation error: A name was started with an invalid characterInstallation error: A name was started with an invalid character
Previous
 
Next
New Post
8/21/2008 12:48 AM
 

Hi,

I installed MSDE on my machine (and use integrated authentication for MSDE), made changes in web.config file to add connection string, and then tried to load http://localhost/DotNetNuke/ page, and it give me this error:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later

A name was started with an invalid character. Error processing resource 'http://localhost/DotNetNuke/'. Line 1, Position 2

<%@ Page Language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.DefaultPage" CodeFile="Defa...
What is wrong with it? Anyone has experienced similar problem?

My machine runs XPSP2, and I am logged on as an non-admin. But I don't think this is the problem. As when I tried to load the page logging as local admin, I got the same error.
 

Anyone has experienced similar problem? Do you know how to fix it? Or where I can get more detailed log?

Thanks.

 
New Post
8/21/2008 1:42 AM
 

It's been awhile but I don't think the .NET framework is registered with IIS on your computer. Did you install IIS on your computer after you'd already installed the .NET framework? If so there's a command that you can run that will register .NET with your IIS. The command is "aspnet_regiis.exe -i". You may have to browse to the location of aspnet_regiis.exe on your computer first (typically C:\Windows\Microsoft.NET\Framework\v2.0.50727)
 

 
New Post
8/21/2008 1:56 AM
 

Thank you very much. That solved the original problem.

Now when I tried to load the page, I got another error. What could be wrong? I am using integrated authentication for MSDE.

Thanks.

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

Login failed for user 'WEIZHENG001\ASPNET'

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 'WEIZHENG001\ASPNET'.

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 'WEIZHENG001\ASPNET'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +204
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +303
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLogTypeConfigInfo() +68
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfo() +108
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfoByKey(String LogTypeKey, String LogTypePortalID) +62
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.AddLog(LogInfo objLogInfo) +72
   DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo objLogInfo) +188

 
New Post
8/21/2008 7:40 PM
 

It looks like you're trying to connect to the SQL database with the ASPNET account on your computer and it doesn't have permissions to. You can either give your machine account permissions in SQL or you can create a SQL user and use those credentials in your web.config.

 
New Post
6/4/2009 3:53 PM
 

I have found a solution for the issue. First follow all the instructions above from the person who mentioned to register .net 2.0 framework with IIS. Second, make sure you have only one connection string active in your .net nuke IIS virtual folder. You can get there by right clicking on your DotNetNuke virtual directory, then go to Properties, then the ASP.NET tab where you can change .net versions, then go down and click the Edit Configuration button, then make sure you remove the connection string that is not needed and just have "SiteSqlServer". This might add a line in your web.config connectionString section saying <remove .........> . You can take it off and just add a <clear/> before your <add name=SiteSqlServer ........ Then just do a http://localhost/DotNetNuke and you should be on your way. Make sure you also had followed the ReadMe.txt in the documentation.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installation error: A name was started with an invalid characterInstallation error: A name was started with an invalid character


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