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 ...The given pathThe given path's format is not supported.
Previous
 
Next
New Post
2/7/2008 1:44 PM
 

DNN version 4.7
New install
When I click Next on this page in the install wizard: Configure Database Connection
I get the error listed below.
I am assuming it has something to do with the database strngs, but am not sure.

web.config has:
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=D:\Webspace\aaaaaa\bbbbbbbbbb\cccccccccccccc.com\www\BSP\App_Data\Database.mdf;" providerName="System.Data.SqlClient" />
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=D:\Webspace\aaaaaa\bbbbbbbbbb\cccccccccccccc.com\www\BSP\App_Data\Database.mdf;" />

Where aaaa, bbbb, cccc are used to sanitize actual domain information.

The screen prior to this error shows:

Server: .\SQLExpress
Filename: D:\Webspace\aaaaaa\bbbbbbbbbbb\cccccccccccccc.com\www\BSP\App_Data\Database.mdf
Which appearrs to be correct.

I have installed earlier versions of DNN before and never ran into this.
NETWORK SERVICE does have write permissions to the appropriate folders.
Any suggestions?

 

Stack Trace:

[NotSupportedException: The given path's format is not supported.]
System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +2726486
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +331
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +105
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +52
System.IO.Path.GetFullPath(String path) +91
System.Data.Common.ADP.GetFullPath(String filename) +31
System.Data.Common.DbConnectionOptions.ExpandDataDirectory(String keyword, String value, String& datadir) +1412401
System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +1710
System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +24
System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +125
System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +56
System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +4
System.Data.SqlClient.SqlConnection..ctor(String connectionString) +21
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +201
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText) +40
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +262
DotNetNuke.Data.SqlDataProvider.TestDatabaseConnection(DbConnectionStringBuilder builder, String Owner, String Qualifier) +109
DotNetNuke.Services.Install.InstallWizard.TestDatabaseConnection() +886
DotNetNuke.Services.Install.InstallWizard.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e) +340
System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 

 
New Post
2/8/2008 8:36 PM
 

im not sure what the error is, perhaps the path is too long. I'd recommend you try the data directory shorthand i.e. AttachDBFilename=|DataDirectory|Database.mdf"


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/16/2008 1:20 PM
 

Did you ever find a solution to this because I'm having the same problem ... using the shorthand approach still gives me the same error ...

 
New Post
7/16/2008 1:39 PM
 

make sure not to use pathnames exceeding usual length and grant full access to virtual user "Network Service".


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/16/2008 2:11 PM
 

I double checked the permissions and I have full permission given to the 'network service' account.  I'm installing on vista.  I changed the connection string again and this is the format that I'm using now:

<add name="SiteSqlServer" connectionString="Data Source=mycomputer\SQLEXPRESS;Initial Catalog=dnn_484;User ID=myuserid;Password=mypwd" providerName="System.Data.SqlClient"/>

but i still get the following error:

System.NotSupportedException: The given path's format is not supported.

When I turn debug on I get this error:

Exception Details: System.NotSupportedException: The given path's format is not supported.

Source Error:

Line 1234:                End If
Line 1235:
Line 1236: connectionString = dataProvider.Instance.TestDatabaseConnection(builder, owner, txtqualifier.Text)
Line 1237: End If
Line 1238:

Source File: C:\inetpub\wwwroot\DNN_484\Install\InstallWizard.aspx.vb    Line: 1236

I'm not sure what the trouble is ... has anyone else run into this?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The given pathThe given path's format is not supported.


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