Is newsletterstudio not compatible with umbraco 6.0.2
hello
when I want to install the newsletterstudio on the umbraco 6.0.2 I've got this error:
Could not load control: '/umbraco/newsletterstudio/usercontrols/dashboard.ascx'.
Error message: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 135. at System.Data.EntityClient.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, String& keyname, String& keyvalue) at System.Data.EntityClient.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Hashtable synonyms) at System.Data.EntityClient.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms) at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) at System.Data.EntityClient.EntityConnection..ctor(String connectionString) at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString) at NewsletterStudio.Model.ContextFactory.GetInstance() at ASP.umbraco_newsletterstudio_usercontrols_dashboard_ascx..ctor() at __ASP.FastObjectFactory_app_web_dashboard_ascx_2b1ca25b_kvdl1iua.Create_ASP_umbraco_newsletterstudio_usercontrols_dashboard_ascx() at System.Web.Compilation.BuildResultCompiledType.CreateInstance() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
I checked the umbraco database and couldn't find any tables. Are the newsletter studio 1.3.3 not compatible with the lastest umbraco version (6.0.2)?
What database are you using? How does your db connection look?
This: Error message: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 135. at System.Data.EntityClient.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, String& keyname, String& keyvalue) at
Makes me feel it's something wrong with the db. We only support Ms SQL and My SQL (which special instructions).
No it should work, we are just using the same connection string as the rest of umbraco. Are you getting any errors? YSOD? Or in the umbraco_log-table in the db?
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.]
NewsletterStudio.Umbraco.loadSettings.CreateRootNode(XmlTreeNode& rootNode) +21
umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() +67
umbraco.cms.presentation.Trees.BaseTree.Initialize() +154
umbraco.presentation.webservices.TreeDataService.LoadAppTrees(TreeRequestParams treeParams) +155
umbraco.presentation.webservices.TreeDataService.GetXmlTree() +112
umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +62
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
If the installer would have had the permissions set correctly it would have created a section in web.config which would have added the "/config/newsletterStudio.config"-file.
So please try to give full access to web.config and try again.
2019-11-18 11:45:00,686 [P6248/D2/T104] ERROR NewsletterStudio.Umbraco.WebAPI.NewsletterController - Unhandled controller exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at NewsletterStudio.Infrastucture.Services.NewsletterService.Save(NewsletterViewModel vm)
Is newsletterstudio not compatible with umbraco 6.0.2
hello
when I want to install the newsletterstudio on the umbraco 6.0.2 I've got this error:
Could not load control: '/umbraco/newsletterstudio/usercontrols/dashboard.ascx'.
Error message: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 135. at System.Data.EntityClient.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, String& keyname, String& keyvalue) at System.Data.EntityClient.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Hashtable synonyms) at System.Data.EntityClient.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms) at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) at System.Data.EntityClient.EntityConnection..ctor(String connectionString) at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString) at NewsletterStudio.Model.ContextFactory.GetInstance() at ASP.umbraco_newsletterstudio_usercontrols_dashboard_ascx..ctor() at __ASP.FastObjectFactory_app_web_dashboard_ascx_2b1ca25b_kvdl1iua.Create_ASP_umbraco_newsletterstudio_usercontrols_dashboard_ascx() at System.Web.Compilation.BuildResultCompiledType.CreateInstance() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
I checked the umbraco database and couldn't find any tables. Are the newsletter studio 1.3.3 not compatible with the lastest umbraco version (6.0.2)?
Hi!
This should work and has been tested, was it a clean install?
I would check
/ markus
Yes it was.
thanks for your help.
What database are you using? How does your db connection look?
This: Error message: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 135. at System.Data.EntityClient.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, String& keyname, String& keyvalue) at
Makes me feel it's something wrong with the db. We only support Ms SQL and My SQL (which special instructions).
// m
I use Microsoft SQLEXPRESS. My connectionstring looks like:
<add name="umbracoDbDSN" connectionString="serverxy, port;database=DBName;user id=userid;password=password" providerName="System.Data.SqlClient" />
I think standard standard :)...
Yes.. SQL Express should work just fine. Did de section appear in the backoffice? Any errors when loading the section? If you look with ie. fiddler?
No the newsletter section didn't appear. Do you use the umbracoDbDSN connectionstring? All "ns_" tabels are missing... No not yet.
Yes, we use the same connection as the installer does. Very strange and the db was clean at installation?
Yes I had installed umbraco v. 6.0.2 from scratch!
I've installed a new umbraco cms from scratch again and now it works all as expected. I don't know what was wrong. Thanks for your support.
Hi!
Great! Thank you for letting me know!
If you have any questions you know where to find me! =D
// m
Hi Markus,
I have the same problem with umbraco v. 4.11.1 and newsletter studio v. 1.3.3, but I can't install a new umbraco cms from scratch.
Do you have any ideas what to do, or what is related with?
Should I try to install new version of newsletter studio?
Hi!
Since this solved the problem last time:
"I've installed a new umbraco cms from scratch again and now it works all as expected. I don't know what was wrong. Thanks for your support."
I guess that it would probably work again?
As I said, we support MS SQL Server (Express and up) and MySQL but not SQL CE for example.
Hi,
Thanks for you reply.
We can not install a new umbraco cms from scratch. Database is MS SQL Server 2008 R2 SP1, so this seems to be OK.
Do you specify any special characters, that are not allowed in connection string?
Hi!
No it should work, we are just using the same connection string as the rest of umbraco. Are you getting any errors? YSOD? Or in the umbraco_log-table in the db?
/ m
Hi,
I tried several times to install Newsletter Studio on a clean Umbraco 6.0.3 and 6.0.4 installation.
if i look into fiddler:
text/html; charset=utf-8
this is the web view:
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
Any ideas?
Thanks for any suggestion!
Tobias
Hi!
I tid try this "on my machine" and it works... =D
But... let's try to figure out the problem.
1. Anything i the umbraco log? (log table in the db)
2. What version of Newsletter Studio?
3. Does the "dashboard" of the package load? Where you see the headline and a list of newsletters?
4. What happens if you try to "Create a newsletter"?
5. What database and version of that database are you using?
hi,
1. Nothing there...
2. 1.3.4
3. See the screenshot in my prior post
4. YSOD NullReferenceException
5. MS SQL-Server
Hmm...
Same null exception in 4 as in the Fiddler trace?
Do you have the configuration set up correctly? Is there a "/config/newsletterStudio.config" file?
Is there a newsletter studio-section in your root web.config?
I bet this is due to permission-errors and that Newsletter Studio did not have permissions to touch web.config during the install?
There is no newsletterStudio.config file and also no section in the web.config...
Great!
Then thats the problem. Please make sure that your permission settings is correct.
http://our.umbraco.org/wiki/reference/files-and-folders/permissions
The permissions are correct
If the installer would have had the permissions set correctly it would have created a section in web.config which would have added the "/config/newsletterStudio.config"-file.
So please try to give full access to web.config and try again.
/ m
All Folders and the web.config have full access.
I install Umbraco 6.0.4 via Webmatrix and it works. I copied the /config/newsletterStudio.config file and the sections in the web.config.
Now it works, but that isn't a solution...
Hi again!
Hmm, just to verify. Did you make a clean Umbraco 6.0.4-install using WebMatrix and then installed Newsletter Studio? And that worked?
From there you copied over the section-lines to web.config and the newsletterStudio.config-file to the project that you had problems with?
I agree that this is not a good solution but I'm also 99.9% sure that the problem was/is releated to permissions/enviroment-settings.
Good to hear that you finally got it working tough.
// m
Jap, exactly.
This permission thing is a known problem with our hoster...
Ahh I see!
But what did you mean with "Now it works, but that isn't a solution..."?
Is there anything that I can do you improve this or help you out?
// m
Hi,
Had the same error
2019-11-18 11:45:00,686 [P6248/D2/T104] ERROR NewsletterStudio.Umbraco.WebAPI.NewsletterController - Unhandled controller exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at NewsletterStudio.Infrastucture.Services.NewsletterService.Save(NewsletterViewModel vm)
I didn't had the
and
in my root web.config file.
Thank you for the help, Best regards, Pedro
Thanks for sharing!
Sounds like permissions during install - quite a common thing.
Let us know if you have any other issues =D
is working on a reply...