New Posts New Posts RSS Feed: Runtime Error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Runtime Error

 Post Reply Post Reply
Author
Sakar SR View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Jul-2010
Location: India
Posts: 39
Post Options Post Options   Quote Sakar SR Quote  Post ReplyReply Direct Link To This Post Topic: Runtime Error
    Posted: 17-Jul-2012 at 12:14am
The following error pops up while i run my windows desktop  application. The file is packed with spoon virtual studio.
It is single tire application, all the *.dll files are packed in the spoon virtual studio. Even the MyApp.exe.config is packed.

please help to over come this issue.




Have a nice day
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 17-Jul-2012 at 12:18pm
Hi Sakar,

We're not familiar with Spoon Virtual Studio and so we can't give any advice on how to use Spoon Virtual Studio with DevForce.

But based on the exception, it seems like your config file is not being discovered. The debug log should indicate whether this is true or not. See http://drc.ideablade.com/xwiki/bin/view/Documentation/log#HTheDebuglog.

As the exception suggests, another option is to implement IDataSourceKeyResolver. This route doesn't require any config file. See http://drc.ideablade.com/xwiki/bin/view/Documentation/data-sources#HDynamicconnectionstrings.
Back to Top
Sakar SR View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Jul-2010
Location: India
Posts: 39
Post Options Post Options   Quote Sakar SR Quote  Post ReplyReply Direct Link To This Post Posted: 17-Jul-2012 at 10:41pm
Hi DenisK,

Thank you for the explanation.

Has you mentioned after viewing the trace file, in spoon virtual environment, the myapp.exe.config file is not discovered.

Please kindly, explain how to use IDataSourceKeyResolver in my work.

Have a nice day and good health




Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 18-Jul-2012 at 9:52am
Back to Top
Sakar SR View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Jul-2010
Location: India
Posts: 39
Post Options Post Options   Quote Sakar SR Quote  Post ReplyReply Direct Link To This Post Posted: 19-Jul-2012 at 4:24am
Hi DenisK,

Thank you for the help.

Goodby, have nice day.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down