Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Dotnetnuke module development
Previous Previous
 
Next Next
New Post 3/30/2006 6:58 PM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: Dotnetnuke module development 

see my post:

http://forums.asp.net/1142102/ShowPost.aspx



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 4/4/2006 3:41 AM
User is offline Pragasan Naidoo
10 posts
10th Ranked


Re: Dotnetnuke module development 

Hi Adef

I tried  everything and failed. I have started from scratch again and again. I even downloaded the source code and have checked everything. Now it comes back to the same error.

A critical error has occurred.
Exception has been thrown by the target of an invocation.

I have checked that the database tables and stored procedures have been created. I am using sql server 2000 and visual studio 2005. I also want to know that when the website is built should the dll YourCompany.Modules.GuestBook in the bin folder. At the moment when i build the website i cannot find any traces of YourCompany.Modules.GuestBook dll's in the bin directory folder.

Please help!

 

 

 

 

 
New Post 4/4/2006 12:53 PM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: Dotnetnuke module development 
Modified By Michael Washington  on 4/4/2006 2:53:55 PM)

You will not see a .dll. The new asp.net 2.0 compilation process doesn't create one.

1. If you delete the pages and folders you created, does the DotNetNuke website work?

2. Download the code from the link provided on the tutorial and use that as a guide.

3. You can also upload the PA (after you delete the pages and folders you created for the module). If it still doesn't work then the problem is your DotNetNuke site not the module.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 4/5/2006 5:21 AM
User is offline Pragasan Naidoo
10 posts
10th Ranked


Re: Dotnetnuke module development 

Hi Adef

I managed to get the module to work. The problem had something to do with the YourCompany_GuestBook table which i had to create manually. When i did create this table exactly to your specification in the tutorial  and saved it as YourCompany_GuestBook , i noticed it was the only table in the dotnetnuke database that did not have a (dbo) extension appended to it. For example : Vendor (dbo), UsersOnline (dbo).  I downloaded the source for the tutorial and found the  01.00.00.SqlDataProvider script.

I then deleted the YourCompany_GuestBook table which i initially created and ran the following part of the script in dotnetnuke sql command prompt.

 

IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}YourCompany_GuestBook]') and OBJECTPROPERTY(id, N'IsTable') = 1)

DROP TABLE {databaseOwner}[{objectQualifier}YourCompany_GuestBook]

GO

CREATE TABLE {databaseOwner}[{objectQualifier}YourCompany_GuestBook] (

[ID] [int] IDENTITY (1, 1) NOT NULL ,

[ModuleID] [int] NULL ,

[Name] [nvarchar] (50) NULL ,

[Email] [nvarchar] (50) NULL ,

[Message] [nvarchar] (250) NULL ,

[DateEntered] [datetime] NULL

) ON [PRIMARY]

GO

ALTER TABLE {databaseOwner}[YourCompany_GuestBook] ADD

CONSTRAINT [PK_{objectQualifier}YourCompany_GuestBook] PRIMARY KEY CLUSTERED

(

[ID]

) ON [PRIMARY]

GO

 

After i ran the script a table with YourCompany_GuestBook (dbo) appeared in the dnn database and the module worked fine. I know i managed to get the module to work, but i don't understand how.

Why is it that when i created the table manually it did not work and it did not have the extension (dbo).

Can you enlighten me on this!

 

Kind Regards

 

 

 
New Post 4/5/2006 7:04 AM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: Dotnetnuke module development 

I am glad you have it working and more importantly thank you for posting the solution.

The problem appears to be that you were not logged in as "dbo" (Data Base Owner) when you created the tables. I will update the tutorial to remind people to look for this.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Dotnetnuke module development
 


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.

 


Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com
Easily Build DNN Solutions with XMod
XMod makes it easy to build news articles, house listings, custom feedback forms, product reviews and much more - without programming
www.DNNDev.com
Software Development and Integration with DNN
HNP Solutions focuses on the pragmatic use of technology and process to meet an organization's business objectives. HNP Solutions employs seasoned Enterprise and Solution Architects, Delivery Managers and QA & Business Leads. Our capabilities range from project assessments & recommendations, design & code reviews, to full program implementations. We also work with organizations in need of senior staff augmentation purposes in the areas of Enterprise and Solution architecture.
www.hnpsolutions.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP