Cannot not find DB

Jul 24, 2010 at 9:10 AM

Hi,

I download source code try to run application EventSourcing-Simplified. However, there are define DB name in connection string Initial Catalog "DDDSampleCQRS", do we need to create new DB in local Sql Server ? If so what about table, does system create table itself into "DDDSampleCQRS" DB. I Cannot understand "reset your database before using booking/tracking UI."?

 

Thank you,

 

 

 

Regards and Meeta,

Bhagi Raj Limbu

Coordinator
Jul 25, 2010 at 12:00 PM

The existance of DB is mandatory, but all the tables in the database are created automatically when you hit "Reset database" button in application menu (after application starts).

Jul 27, 2010 at 1:15 AM

Hi Szymon,

 

Thank you very for your reply, I hit "Reset database". However, it throw an error "The specified schema name "domain" either does not exist or you do not have permission to use it." Does it require special permission? or do i required to create any other object in database.

 

 

Thank you,

 

 

Regards and Meeta,

Sailung Limbu

 

 

 

Coordinator
Jul 27, 2010 at 6:24 AM
Oh, I am sorry. Schemas must be created manually, I forgot to tell you. You have to create schema "reporting" and "domain" in the database and (hopefully) everything will work fine.

Szymon

2010/7/27 sailunglimbu <notifications@codeplex.com>

From: sailunglimbu

Hi Szymon,

 

Thank you very for your reply, I hit "Reset database". However, it throw an error "The specified schema name "domain" either does not exist or you do not have permission to use it." Does it require special permission? or do i required to create any other object in database.

 

 

Thank you,

 

 

Regards and Meeta,

Sailung Limbu

 

 

 

Read the full discussion online.

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

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

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings 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


Jul 27, 2010 at 4:00 PM

Hi Szymon,

Thank you very much, it works after i add "domain" and "reporting" schema. However, i still got error in "DDDSample-CQRS-EventSourcing-Simplified" application. When i Click on Booking Button, it throw and exception "The current type, NServiceBus.IBus, is an interface and cannot be constructed. Are you missing a type mapping?" when program runs in following lines of code " return (IController)ServiceLocator.Current.GetInstance(controllerType);"

I try in another application "DDDSample-CQRS-EventSourcing", However it show "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" message and cannot further process.

 

Any idea?

 

Thank you,

 

Regads and Meeta,

Bhagi Raj Limbu

Coordinator
Aug 10, 2010 at 4:48 PM
Hi

Sorry for such a late answer.

The "The current type, NServiceBus.IBus, is an interface and cannot be constructed. Are you missing a type mapping?" error can be caused by another error happening before. Because DI container is set up in global.asax on application start, when there is an error during this startup procedure, it never gets finished and IBus interface is not registered. Try to restart webserver and tell me what is the very first error you get when running application.

The second one could be related to hosting NServiceBus in web environment. As for me, restarting a web server usually helped.

Szymon

2010/7/27 sailunglimbu <notifications@codeplex.com>

From: sailunglimbu

Hi Szymon,

Thank you very much, it works after i add "domain" and "reporting" schema. However, i still got error in "DDDSample-CQRS-EventSourcing-Simplified" application. When i Click on Booking Button, it throw and exception "The current type, NServiceBus.IBus, is an interface and cannot be constructed. Are you missing a type mapping?" when program runs in following lines of code " return (IController)ServiceLocator.Current.GetInstance(controllerType);"

I try in another application "DDDSample-CQRS-EventSourcing", However it show "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" message and cannot further process.

 

Any idea?

 

Thank you,

 

Regads and Meeta,

Bhagi Raj Limbu

Read the full discussion online.

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

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

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings 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


Aug 12, 2010 at 3:47 PM

Hi

After i try another sample application "DDDSample-CQRS", however, i got two errors. First, error occur when initialize after "Home Controller", a controllerType is always "Null".

 

http://img138.imageshack.us/img138/7506/initializeerror2.jpg

 

Similary, after i click book new cargo arrangement. It throws an error when publishing events.

 

 

Could you help me out, what is reason behind of this errors?

 

thank you,

 

Regards and Meeta,

Bhagi Raj Limbu