Database Does Not exist

Apr 28, 2009 at 3:53 PM
Hi I think I have succesfully installed and edited slam.config but when I go to ativate I get an error stating the database does not exist

I have created the database

on server ITS01SR232
Database name X64_Sharepoint_Slam

I have the following line in my slam.config

add

 

Name="SLAM" ConnectionString="Database=X64_Sharepoint_Slam;Data Source=ITS01SR232;User Id=admin6;Password=XXXXX" />

any ideas?

 


Many thanks

Matt  
Developer
Apr 28, 2009 at 4:01 PM
What does it say when you go to Configuration -> Validate ?  If the connection fails it will provide the exception message to you on the screen (and probably a more helpful one than on Activation).

-Brian
Apr 28, 2009 at 7:42 PM

Hi Brian

Thanks for quick response, that did give me more information which enabled me to work out what was going wrong and I think I am on the right track now, just got to set up the lists now. Just a quick question on the site section for the slam.config if the site is the top level site where I have installed SLAM do I just use the site’s name or does it need the full path such as http://portal/group/technical or just technical in this case?

Many thanks


Matt

From: brjenkins [mailto:notifications@codeplex.com]
Sent: 28 April 2009 17:01
To: Matt Benson
Subject: Re: Database Does Not exist [SLAM:54734]

From: brjenkins

What does it say when you go to Configuration -> Validate ? If the connection fails it will provide the exception message to you on the screen (and probably a more helpful one than on Activation).

-Brian

Read the full discussion online.

To add a post to this discussion, reply to this email (SLAM@discussions.codeplex.com)

To start a new discussion for this project, email SLAM@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

This message has been virus scanned by Webroot and is virus free.

The information contained in this e-mail message is intended for the named recipients only. It may contain privileged and/or confidential information and if you are not the addressee, you may not copy, distribute or take action in reliance on it. If you have received this message in error, please notify the sender immediately and delete this email. Any personal views and opinions expressed in this e-mail message are the sender's own and do not necessarily represent the views and opinions of Cranswick plc or subsidiary companies. Cranswick Plc, 74 Helsinki Road, Sutton Fields Industrial Estate, Kingston upon Hull, HU7 0YW. Registered in England and Wales No 1074383
Developer
Apr 28, 2009 at 7:52 PM
If http://portal/group/technical/ is the path to the root site of a site collection then you do not need to specify the Site attribute for a List (or you leave it blank).  If it is not the top site collection (in terms of the web application) it is recommended that you specify the SiteCollection attribute of the DataMapping node for that site collection.  So if http://portal/ is your web application then you have a managed path called /group/ with "technical" then being a site collection your DataMapping node would have SiteCollection="group/technical" in it.  This is not strictly necessary if you are not configuring SLAM to work with any other site collections in your web application and you are managing SLAM from that site collection such that you are always going to /group/technical/_layouts/SLAM/... instead of say http://portal/_layouts/SLAM/... If you have multiple Data Mappings without SiteCollection attributes set it will likely not behave the way you want it to because it will only ever load types from the firsrt DataMapping in such a case.  It is better to think of a missing or blank SiteCollection value as indicating the top level site collection.

Hopefully that answers your questions.

-Brian
Apr 28, 2009 at 7:56 PM

Thanks Brian that sounds pretty clear will give it a go tomorrow, I will ultimately be using it on many sites underneath technical so think your explanation will suffice

Thanks again


Matt

From: brjenkins [mailto:notifications@codeplex.com]
Sent: 28 April 2009 20:53
To: Matt Benson
Subject: Re: Database Does Not exist [SLAM:54734]

From: brjenkins

If http://portal/group/technical/ is the path to the root site of a site collection then you do not need to specify the Site attribute for a List (or you leave it blank). If it is not the top site collection (in terms of the web application) it is recommended that you specify the SiteCollection attribute of the DataMapping node for that site collection. So if http://portal/ is your web application then you have a managed path called /group/ with "technical" then being a site collection your DataMapping node would have SiteCollection="group/technical" in it. This is not strictly necessary if you are not configuring SLAM to work with any other site collections in your web application and you are managing SLAM from that site collection such that you are always going to /group/technical/_layouts/SLAM/... instead of say http://portal/_layouts/SLAM/... If you have multiple Data Mappings without SiteCollection attributes set it will likely not behave the way you want it to because it will only ever load types from the firsrt DataMapping in such a case. It is better to think of a missing or blank SiteCollection value as indicating the top level site collection.

Hopefully that answers your questions.

-Brian

Read the full discussion online.

To add a post to this discussion, reply to this email (SLAM@discussions.codeplex.com)

To start a new discussion for this project, email SLAM@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

This message has been virus scanned by Webroot and is virus free.

The information contained in this e-mail message is intended for the named recipients only. It may contain privileged and/or confidential information and if you are not the addressee, you may not copy, distribute or take action in reliance on it. If you have received this message in error, please notify the sender immediately and delete this email. Any personal views and opinions expressed in this e-mail message are the sender's own and do not necessarily represent the views and opinions of Cranswick plc or subsidiary companies. Cranswick Plc, 74 Helsinki Road, Sutton Fields Industrial Estate, Kingston upon Hull, HU7 0YW. Registered in England and Wales No 1074383