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.
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.