Wednesday, July 4, 2007

dtSearch on Sitecore

If u are running a Sitecore installtion with master and slave server u don't wan't the slave server th have a master database installed. And the thing is when u have dtSearch installed it dosen't work without a master database.
Well there is a work around(still testing this).

Open the connection config file and add this line:

<connections serverName="127.0.0.1" prefix="sc" user="user" password="password">

<extranet>data source=$(serverName);initial catalog=$(prefix)Extranet;user
id=$(user);password=$(password);Connect Timeout=30</extranet>
<web>data source=$(serverName);initial catalog=$(prefix)Web;user
id=$(user);password=$(password);Connect Timeout=30</web>

<!-- Copy the web connection and change it to master -->

<master>data source=$(serverName);initial catalog=$(prefix)Web;user
id=$(user);password=$(password);Connect Timeout=30</master>

</connections>


And in the web.config file:
<!-- web -->

<database id="web" singleInstance="true" type="Sitecore.Data.Database, Sitecore.Kernel">
<param desc="name">$(id)</param>
<securityEnabled>true</securityEnabled>
<dataProviders hint="list:AddDataProvider">
<dataProvider ref="dataProviders/main" param1="$(id)">
<disableGroup>publishing</disableGroup>
<prefetch hint="raw:AddPrefetch">
<sc.include file="/App_Config/Prefetch/Common.config"/>
<sc.include file="/App_Config/Prefetch/Web.config"/>
</prefetch>
</dataProvider>
</dataProviders>

<proxiesEnabled>false</proxiesEnabled>
<proxyDataProvider ref="proxyDataProviders/main" param1="$(id)"/>
<cacheSizes hint="setting">
<children>1000KB</children>
<credentials>1000KB</credentials>
<data>200MB</data>
<items>100MB</items>
<parents>1000KB</parents>
<paths>5000KB</paths>
</cacheSizes>
</database>

<!-- Master: Copy web database and change the id to master -->
<database id="master" singleInstance="true" type="Sitecore.Data.Database, Sitecore.Kernel">

<param desc="name">$(id)</param> <securityEnabled>true</securityEnabled>
<dataProviders hint="list:AddDataProvider">
<dataProvider ref="dataProviders/main" param1="$(id)">
<disableGroup>publishing</disableGroup>
<prefetch hint="raw:AddPrefetch">
<sc.include file="/App_Config/Prefetch/Common.config"/>
<sc.include file="/App_Config/Prefetch/Web.config"/>
</prefetch>
</dataProvider>
</dataProviders>
<proxiesEnabled>false</proxiesEnabled>
<proxyDataProvider ref="proxyDataProviders/main" param1="$(id)"/>
<cacheSizes hint="setting">
<children>1000KB</children>
<credentials>1000KB</credentials>
<data>200MB</data>
<items>100MB</items>
<parents>1000KB</parents>
<paths>5000KB</paths>
</cacheSizes>
</database>


That will do the trick with the dtSearch to make it work on a slave server. But u do this on your own risk.

Friday, June 15, 2007

Finetune rocks!

Short entry this time. I added my playlist on my blog. So while reading my entry's u can listen to some finetunes :D

Oh yeah, Guitar Hero III video clips:
http://gameplayer.se/videoplayer.php?video=7062

And a final complain... I'm still missing DreamScene on my Vista!!!

Monday, May 28, 2007

Where is my DreamScene?!!

"Where is my DreamScene?" it's question I'm looking for an answer. I bought Windows Vista Ultimate 64-bit last week.
After all vista updates was installed I've noticed that DreamScene was on of the updates that wasn’t available. I know it's still a beta but what the hell!
Is it because I'm running on a 64-bit version?

If someone is reading this and know the answer please write a comment :)

Well I can't complaint. I got the full vista and not the release candidate.

Tuesday, May 15, 2007

Wii + Sitecore = Damn Right

It's been a while since I wrote. Many things have happened. I finally got my Nintendo Wii. One of the first things I tried out was to connect to the Internet trough the Opera reader on the system. I thing was for sure it was very smooth to surf on the Internet. Then I thought "Why not try it on a CMS system?". I was really surprised how compatible Sitecore is. It was easy to work on it. But not all CMS system works with the Opera reader. EPi server was not compatible. But u can't get it all....or can u?

Sunday, March 11, 2007

VBScript Error

Finally I found a way to install iTunes on my vista.
Vista for some reason dosn't register VBScript. What you have to do is first of all find where vbscript.dll is, mine was in C:\Windows\System32, but I think it changes dependant on your version. Next you need to go to start -> accessories and the right click on command prompt and click "run as administrator", next type "cd C:\Windows\System32" (replace the dir if its differnt for you) and then type "regsvr32 vbscript.dll". It should then confirm that vbscript has been registered and everything should work.

Friday, January 19, 2007

EPi + Vista = nice

Finely I got my EPiServer to install on my computer. What can I say the first impression was, it works, sweet! But when I logged on to the editor mode, well I can say it didn't look so good. EPi got some stuff to do. The layout was horrible the same with the templates. But I'm not that disappointed.
I talked with guy that works at EPi and he recommended me the IE7 hot fix.
I'm not going to give up, so close now.

And the tip for today is: Shutdown the UAC in vista. Makes thing easier for you :)

Tuesday, January 16, 2007

EPi + Vista = ?

Well, who said it would be easy to install a CMS on windows vista? Well it's not.
I tried to install EPi Server 4.60 on my computer and I got stuck right the way. The problem is I had to install the IIS 6 and allow VB.script to work on my Vista. Not so hard. Then I had to install SQL 2005 and upgrade it to sp1. Well here is the messy part.
After installing SQL 2005 and downloaded the sp1 from windows update. I went on to installing it. Well the whole computer froze. Not a big thing. Rebooted Vista and tried again. The same thing! Startded download from msdn. I downloaded to 76% and then nothing else happened for the next 2 hours. I restarted the download and the same thing there.
Damn, so today at work I copied it from my workstation. So after installing the SQL 2005 and sp1, I was ready to install EPi.
Started the installation, followed the steps. When I got to locate the license. What do you know. The ip-address on my computer had change.
Crap! So I surfed to EPi's website to register a new license file. So, here is the funny part. I can't find the registration form to receive the license file. After the redesign on there website I can't find anything. So I gave up.

What have I learned from this, well EPi + Vista = EPi's website, it's hard to find stuff.

Good start on my first blog. And the irony is that on Wednesday to friday I'm going on EPi developer course. If I'm lucky I probably know where to find the license file :)

Tuesday, January 9, 2007

It's about time!

Well it's new year and it's time to get serious.
This my first blog and it's about time.
Short about me. I work as developer in Sweden at company called MetaMatrix // Interfolio.
My main task is to work with web application and CMS.
Framework: asp.net 1.1 and asp.net 2.0.
CMS: Sitecore and EPi Server

So why this blog. I asked my self that. The main thing is to share what I know and learn more about programming.

Well thats really a short presentation about me.

Until next time.....

cms and stuff - new iPhone :)