alex-klock / razor-mediator-4-tridion

Automatically exported from code.google.com/p/razor-mediator-4-tridion
1 stars 4 forks source link

Razor config imports with publications attribute does not work and break all razor templates #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add tbb with razor helpers to imports section of 
Tridion.ContentManager.config
2. Make sure that you add publications attribute 
<add import="tcm:80-34567-2048" publications="020 Global MySite Design" />
3. Enable includeConfigWhereUsed in importSettings section
<importSettings includeConfigWhereUsed="true" ...
4. Open any Razor Template in any publication

What is the expected output? What do you see instead?
Expected output is to see Razor Template item and source code without any 
errors and be able to use my helpers.
I see error: Invalid OLEVERB structure (screenshot attached)
In Tridion Event Viewer I found many instances of this error:
RazorContentHandler: Error in ExtractReferences: Timeout expired.  The timeout 
period elapsed prior to obtaining a connection from the pool.  This may have 
occurred because all pooled connections were in use and max pool size was 
reached.

What version of the product are you using? On what operating system?
Product version 1.3.3.1
SDL Tridion SP1 HR1

Please provide any additional information below.
It is impossible to open any Razor Mediator template after such configuration.

Original issue reported on code.google.com by Stanisla...@gmail.com on 21 Jan 2014 at 1:38

Attachments: