HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem creating C# modules in Visual Studio 2005Problem creating C# modules in Visual Studio 2005
Previous
 
Next
New Post
10/13/2006 4:48 AM
 

Hi

I have followed those step to create module in visual studio 2005 for c# but I always get Exception when trying to create provider from DataAdapter class

http://vladan.strigo.net/Default.aspx?TabId=76

objProvider = (DataProvider)Reflection.CreateObject("data", "BlankModule", "");
(My default namespace is BlankModule)

The error I receive is following

{"Value cannot be null.\r\nParameter name: type"}

It´s very strange because I have tutorial project written in c# which is working in my Portal, and which I have been following to code my project.

Any Ideas

Regards

 
New Post
10/13/2006 5:06 AM
 

It seems correct. Something I have noticed (no matter which development method that you are using) is that any error will cause other errors to appear. So that code that is correct may throw an error if you have another error. If you have other errors, fix them first and rebuild.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
10/13/2006 5:33 AM
 

Hi Micheal

Thanks for your response, the problem is that my projects builds without any errors, I receive this error when I debug my module when it loads with some call to my Controller class

Regards

Jón Sveinsson

 
New Post
10/13/2006 5:43 AM
 
Try putting the name of the Assembly as the last parameter:

objProvider = (DataProvider)Reflection.CreateObject("data", "BlankModule", "<Assembly Name>");
 
New Post
10/17/2006 7:40 AM
 

Hi

I tried that, but still the same

Anyone

Regards

Jón Sveinsson

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem creating C# modules in Visual Studio 2005Problem creating C# modules in Visual Studio 2005


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

r2integrated
Telerik JustCode Free
Exact Target Exec Alert

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.