Problem installing Sitefinity 4 custom module - module

I'm posting this here since I didn't get any support from the sitefinity forum.
I created a new SiteFinity 4.0 project and added the Meeting module from the Intranet Starter Kit. Here's what I did:
Added reference to Telerik.Sitefinity.StarterKit.Intranet.Meetings.dll
Registered the module ()
Registered the widget
The widget appears in the toolbox under the Custom section but I dont see the Meeting link under the Content top menu.
Am I missing something? Any sort of help would be greatly appreciated.

when registering the module, try setting the StartupType to OnApplicationStart. then after adding the module, restart your website by saving the web.config. This restarts the Sitefinity application and causes the module to be installed.
I hope this was helpful!

Related

Error "Unable to load one or more of the requested types" on Telerik ASP.NET MVC Project

I start with Piranha for a week now, after read the documents and questions here I still can't solve the problem, so I post it here. Please help me. (I'm using Visual studio 2013 Update 2, Piranha 2.2.4)
I tested Piranha on the template project. Everything is fine, now I create a Telerik ASP.NET MVC Q3 2014 project and follow the "Getting started" tutorial to add Piranha to an exist project. I got this error message (I also applied this issue https://github.com/PiranhaCMS/Piranha/issues/277)
http://pastebin.com/1B0WNA2V
When I remove Piranha and Piranha.MVC reference and add references from source project I get this error
http://pastebin.com/17CSziUK
Please help me. Thanks a lot
Piranha CMS uses MEF to import extensions into the framework. There's been issues before that some other projects don't play to nice with MEF, maybe the Telerik stuff you're using has this issue.
There's a fix coming in 2.3 where you can tell the framework to only scan the Piranha assemblies for extensions which would probably fix your issues. I'll see if I can deploy a patch for this!
Regards
HÃ¥kan

'Application' is not a member of 'My'

I'm trying to add a Splash Screen to my form, but I'm getting the error -
'Application' is not a member of 'My'.
I've done some research and came across two possible solutions, but neither of them have worked for me.
Splash Screen Error "'Application' is not a member of 'My'." The answer here suggests ticking the 'Enable Application Framework' option in the Project settings, but that option is greyed out.
The 'My' Namespace in a VB.NET Application is Missing Members. This answer suggests that I need to add a Reference to the Project in the Project settings, but doing this does not fix the error.
Can anyone please suggest what I can do to solve this problem? Thanks.
That's a known issue for me. Open .vbproj file and change where it says
<MyType>Empty</MyType>
to
<MyType>WindowsForm</MyType>
We tried the suggestion above but it did not work for us with a Class Library in Visual Studio 2013.
After investigating another project that worked, we found that changing to using "Windows" instead of "WindowsForm" enabled that functionality
<MyType>Windows</MyType>
I recently ran into this issue as well. The solution in my case was that I had created a .NET Core app, rather than a .NET Framework app.
Copied my code into a new Framework app and it worked just fine.

The type initializer for 'PayPal.Manager.ConfigManager' threw an exception >Paypal SetExpressCheckout

for some reason I am getting an error "cannot read config file" when trying to set the SetExpressCheckout, I have copied across the web config settings, but for some reason I cannot read them, the error isn't very helpful other than what I have mentioned.
I am using mvc4, and to be honest I have had a problem reading the web.config in the past..
any suggestions would be much appreciated.
Just looked at this... thought it might help someone. Looked at the Inner Exception, saw it was looking for the Log4Net dll... so I gave it to the app and hey ho. It worked.
I had a similar problem and ended up getting both the core and merchant sdk source from GitHub. Change the SpecificVersion=True to False for the log4net reference in the core sdk and re-build it. I also re-targeted both for .net 4.0 so I re-built the merchant sdk with a reference to the new core sdk. Import both of these new dll's to your main project and you should be good to go. I had to change the config in 1 place for the section handler.
<section name="paypal" type="PayPal.Manager.SDKConfigHandler, PayPalCoreSDK"/>
since the Assembly name does not have the underscores if built from source (vs downloaded or added via NuGet).
A bit of explanation:
I was already using log4net version 1.11 before adding the sdk. The sdk was looking specifically for version 1.10. these 2 versions have a different public key, so 'simple' binding redirection won't work. If you have a reference to a different version of log4net (for example using ninject logging extensions requires min version 2.11 so these 2 ninject and the paypal sdk, are incompatible off the shelf).
so the root of the problem was actually caused by the dll version issues but manifested as a Configuration exception. check the inner exceptions and see what you get.
ok, just a quick update, I think it must be something to do with MVC, I have created a new empty asp project, copied the sdk config details across, created the same function call as I have in my mvc code, and called it from a simple asp button... and it works ??
does anyone have any ideas why I am getting an error in an mvc4 project, and not in a simple asp project ??
any help or ideas would be much appreciated.

How can i solve the error while deploying the webpart into the sitecollection?

While deploying the webpart into the site collection using central administration wizard ,I am receiving the error like this.
Error: Cannot add the specified assembly to the global assembly cache: System.Web.DataVisualization.dll.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 0faee23c-f6f0-4frr-8463-2ef5fdc8bfc4
can anyone tell me how to solve the problem?
That assembly is part of the MS Chart Controls. They may not be installed on your server. Try installing them first and then re-deploy your webpart. The controls can be downloaded here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14422
You may also need to do an IISRESET to release open handles to the assembly.

Error whilst publishing Sitefinity4 project

I'm trying to deploy a Sitefinity 4 project. I have the main web app project, and two external class libraries. I've tried to publish, and ive tried using a web deployment project, however both times it complains about missing references, like:
The type or namespace name 'Sitefinity' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
It is always referring to a line of code in one of the class libraries. Do i need to add the assemblies to the app.config file?
Any ideas greatly appreciated.
Josh recently wrote two blog posts for installing Sitefinity on IIS. Maybe those could help you. Depending on whether you are deploying on IIS6 or IIS7:
Installing Sitefinity on IIS6
Installing Sitefinity on IIS7