Testing DotNetNuke Project with NUnitAsp

A

Avi

Hi all.

I am stuck in testing my project developed in DotNetNuke. I am tetsing
the project with NUnitAsp, a free testing tool for testing the Asp.net
projects. When I compile the project and add its dll to the NUnitAsp,
it searchs for Dataprovider, which comes dynamically in dotnetnuke.

Though my Application is compiled and runs nicely but it gives an error
in NUItAsp as


at DotNetNuke.Modules.TestModule.DataProvider.Instance()
at DotNetNuke.Modules.TestModule.ControllerClass.TestInsert(TestInfo
objInfo) in
C:\Inetpub\wwwroot\dotnetnuke\DesktopModules\TestModule\BLL\TestController.vb:line
14
at NUnit.Test.TestControllerTest.test_Insert() in
C:\Inetpub\wwwroot\dotnetnuke\DesktopModules\TestModule\BLL\TestController.vb:line
35
--TypeInitializationException
at DotNetNuke.Framework.Reflection.CreateObject(String
ObjectProviderType, String ObjectProviderName, String ObjectNamespace,
String ObjectAssemblyName) in
c:\inetpub\wwwroot\DotNetNuke\components\Shared\Reflection.vb:line 56
at DotNetNuke.Framework.Reflection.CreateObject(String
ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName)
in c:\inetpub\wwwroot\DotNetNuke\components\Shared\Reflection.vb:line
45
at DotNetNuke.Modules.TestModule.DataProvider.CreateProvider() in
C:\Inetpub\wwwroot\dotnetnuke\DesktopModules\TestModule\BLL\DataProvider.vb:line
15
at DotNetNuke.Modules.TestModule.DataProvider..cctor() in
C:\Inetpub\wwwroot\dotnetnuke\DesktopModules\TestModule\BLL\DataProvider.vb:line
11



How to come up with this porblem. I tried too much.
 
D

Duane Hookom

I expect there is a forum specifically for asking DotNetNuke questions. This
forum is for MS Access database Reporting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top