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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsInnerException: Keyword not supported: 'initial catalog'InnerException: Keyword not supported: 'initial catalog'
Previous
 
Next
New Post
6/20/2013 4:02 PM
 

Hi,

I installed Razor reports on one DNN 705 and used razor scripts that works fine.

I took the same scripts to another DNN 705 installation and got InnerException: Keyword not supported: 'initial catalog'

Any idea about this?

Thanks,

Yehuda


Yehuda Tiram
AtarimTR
AtarimTR
972-2-5700114   |   972-54-4525492   |    http://www.atarimtr.co.il
 
New Post
6/20/2013 4:05 PM
 
Forgot to add that the error said that line in the script was
@foreach (var row in db.Query(selectQueryString))

And that same line of code gives the error in every script I tried (_UserList.cshtml for example)

Here is the full error :

InnerException: Keyword not supported: 'initial catalog'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.SqlServerCe.SqlCeConnectionStringBuilder.GetIndex

StackTrace:

Message: System.ArgumentException: Keyword not supported: 'initial catalog'. at System.Data.SqlServerCe.SqlCeConnectionStringBuilder.GetIndex(String keyword) at System.Data.SqlServerCe.SqlCeConnectionStringBuilder.set_Item(String keyword, Object value) at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value) at System.Data.SqlServerCe.SqlCeConnectionStringBuilder..ctor(String connectionString) at System.Data.SqlServerCe.SqlCeConnection.set_ConnectionString(String value) at WebMatrix.Data.DbProviderFactoryWrapper.CreateConnection(String connectionString) at WebMatrix.Data.Database.<>c__DisplayClass15.b__14() at WebMatrix.Data.Database.get_Connection() at WebMatrix.Data.Database.EnsureConnectionOpen() at WebMatrix.Data.Database.d__0.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WebMatrix.Data.Database.Query(String commandText, Object[] parameters) at ASP._Page_DesktopModules_RazorModules_RazorHost_Scripts_GolfRenewalUserList_cshtml.Execute() in d:\hostingspaces\huldacoi\hulda.co.il\wwwroot\DesktopModules\RazorModules\RazorHost\Scripts\GolfRenewalUserList.cshtml:line 18 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at DotNetNuke.Web.Razor.RazorEngine.Render(TextWriter writer)

Yehuda Tiram
AtarimTR
AtarimTR
972-2-5700114   |   972-54-4525492   |    http://www.atarimtr.co.il
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsInnerException: Keyword not supported: 'initial catalog'InnerException: Keyword not supported: 'initial catalog'


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