CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 8/16/2005 9:14:53 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
ganymade
Asp.Net User
Cannot add a new module definition??8/16/2005 9:14:53 AM

0/0

hello
I try to add a new module definition.
I got error message "Input string was not in a correct format."
when I typed the "New Definition" field.

What should I do for handling this situation?

ozonic
Asp.Net User
Re: Cannot add a new module definition??8/16/2005 9:51:45 AM

0/0

I know that this is not the exactly answer - but hopefully it will provide some insite into DotNetNuke Errors.

When you get an error message like this - it is really difficult to pinpoint. Another famous one is object reference not set to an instance of an object - ot the elusive - type integer cannot be converted to DBNull.

The way I solve generic error messages like this - is to follow logical steps to try and pinpoint the error. The problem is that no matter how good you get - you can never be sure what the exact issue is- because the description is so generic can the issue in question - could be anywhere in the business logic - or the data access layer.

So here is what I would consider doing

Step 1. What file are you trying to access - typically a custom module has 3 files - settings.ascx , moduleName.ascx(view) , moduleEdit.ascx(your edit ascx)

Step 2. Open this ascx and go to the code behind page load event - and comment out any lines that are calling a function in the controller.vb

Step 3. Load the page again - and see if you at least get a display without error. - If you do - you can start pinpointing the error message.
If not then you can try to see if their is something in the design view - that is causing the conflict - and a lot of the times this could be from a repater control - or something other than pure HTML - make sure your asp controls have ID's and runat server attributes.

Step 4. You can now look at the code and make sure it all routes correctly through the controller.vb - and that the correct info object has been defined (beyond the scope of this article)  - and then check that the code is going to the dataProvider - with the correct must override constructors - and the correct function return values.

Now - make sure that if you are making any structural changes - you remove the module Project reference in your dataProvider project. Drop it - then rebuild just the project - then add it again to the SQLDataProvider as a reference.
This is important - else you will have compiler issues.

Step 6 - check to see if the build paths are correct for both projects - this is another great basic issue - some people(like me)  overlook.

Step 7 - if everything is flowing - check the Stored Proc - you might have overlooked something small and its not returning data - or there is a logical problem of some kind.

Hope this helps.

jeremy
jjohns09
Asp.Net User
Re: Cannot add a new module definition??8/16/2005 11:43:02 AM

0/0

I find this more often than not to be attributed to not supplying a numeric value for Default Cache Time.

Jeff


http://www.bestmodules.com - Modules, Skins & Skin Objects
majorworkload
Asp.Net User
Re: Cannot add a new module definition??8/16/2005 8:46:47 PM

0/0

The Cache field HAS TO have a value, so if you dont want it to Cache, then put a zero in there.

This essentially makes the Cache a required field.

Apparently this is considered a bug, and will be fixed in an upcoming release.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
VBA Developer's Handbook Authors: Ken Getz, Mike Gilbert, Pages: 1104, Published: 2001
Object Oriented Programming 10th European Conference, Linz, Austria, July 8 - 12, 1996 ; Proceedings: Object-oriented Programming. 10th European Conference, Linz, Austria, July 8-12, 1996. Proceedings Authors: Pierre Cointe, 1996 ECOOP (10, Linz, Pages: 501, Published: 1996
Commerce Server 2000: Building Ebusiness Solutions Authors: Gopal Sreeraman, Safari Tech Books Online, Pages: 652, Published: 2002
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Pro VB 2005 and the .Net 2.0 Platform Authors: Andrew Troelsen, Pages: 1034, Published: 2006
Access 2003 Bible Authors: Cary N. Prague, Michael R. Irwin, Jennifer Reardon, Pages: 1464, Published: 2003
Algebraic Methodology and Software Technology: 5th International Conference, AMAST '96, Munich, Germany, July 1-5, 1996 : Proceedings Authors: Martin Wirsing, M. Nivat, Pages: 641, Published: 1996
Database Systems for Advanced Applications: 13th International Conference, DASFAA 2008, New Delhi, India, March 19-21, 2008, Proceedings Authors: Jayant R. Haritsa, Kotagiri Ramamohanarao, Ramamohanarao Kotagiri, Vikram Pudi, Pages: 713, Published: 2008
Weaving a Program: Literate Programming in Web Authors: Wayne Sewell, Pages: 556, Published: 1989

Web:
Cannot add a new module in 3.1 - ASP.NET Forums Cannot add a new module in 3.1. Last post 06-11-2005 5:55 PM by dcurry. 6 replies. Sort Posts: ... Click on Add Definition - then the following happens: ...
Can't create a new module using CodeModuleManager ... Can't create a new module using CodeModuleManager - BlackBerryForums.com : Your Number One BlackBerry Community ...
Joomla! • View topic - Can't create new Component page or Module? to create a new component page or module and add it to the main menu. ... Post subject: Re: Can't create new Component page or Module? ...
Can't open "Create Module Definition" page when 3.5 assemblies ... Can't open "Create Module Definition" page when 3.5 assemblies loaded ... Clicked on Create Module Definition to make sure the new install ...
Support Forums: Cannot create new project/module - J2ME ... Clicked on "New Project" or "New Module" and nothing happened. I've rebooted/ restarted several times. Looking in the log reveals this: ...
Can't add custom module - help please > DotNetNuke Forum, DNN ... I am able to create a module definition in DNN and link it through to my control . Unfortunately when I try to add the control to a web page ...
IIS 7.0: Walkthrough: Creating a Request-Level HTTP Module By ... Create the module-definition file to export the RegisterModule function:. In Solution Explorer, right-click Source Files, point to Add, and then click New ...
module definition add in DNN 3.1 - ASP.NET Forums You cannot create a new Module with the same name." A : Delete the existing module definition and then try to Add a new module definition. ...
web show 0.65 can not add google video embed [Support Forums ... You cannot add new polls. You can vote in polls. ... [XOOPS Modules Support forums], -- Module usage questions, -- Module troubleshooting ...
silverfrost.com :: View topic - error 404 - Cannot find definition ... error 404 - Cannot find definition for MODULE NM_LIB ... References---->add reference. At this stage I added the dll file in the 'checkmate'---->win32 ...

Videos:
Using Groups and Groupings in Moodle How to use Groups and Groupings in Moodle 1.9 "Moodle is a course management system - a free, Open Source software package designed ... all » using ...
This Week At NASA 1-18-08 This Week At NASA ... MESSENGER FLYBY -- JHU/APL This image of Mercury was the first transmitted by NASA's MESSENGER spacecraft as it made the first...
Cwejman vco-2rm,AS modular synth VCO+LFO and TR-606 here in the video i did a simple patch using just the output of the ring modulator from the Cwejman vco-2rm, the Analogue Systems VCO controlled by t...
2007 T-REX MODIFIED - UNBELIEVABLE! I own a '07 REX - Charcoal Grey. I bought it in Oct of '06. Up until about 2 weeks ago, I had NEVER driven it. Not once. In fact, I never even test ...
Assistive Vision Technology for the Blind: Recognizing Objects in the Grocery St Google Tech Talks September 5, 2006 Serge Belongie
An Introduction to SQLite Google TechTalks May 31, 2006 Richard Hipp ABSTRACT SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQ...
EarningsCast - Google Q2 2006 Earnings Call in Full. EarningsCast creates Podcasts of Company Earnings Calls. You can see the full complement at http://www.earningscast.com. This is the Q2 2006 Google e...
Who is Jesus anyway ? Christian Prince הנוצרالاسراء والمعراج Obaid Karki An Outcast Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Urban Talkshow Guru. Unaffi...
Computers versus Common Sense Google TechTalks May 30, 2006 Douglas Lenat Dr. Douglas Lenat is the President and CEO of Cycorp. Since 1984, he and his team have been constructi...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....




Search This Site:










rss feeds

login problems with multidomain app

login control problem

setting up password authentication system...

cookie problem

web form layout

logo file types

modules into compiled webparts

how to get basic authentication credentials

loginstatus control and return url

href from portal to store(commerce kit) using parameter?

module to dubplicate modules on different tabs

forms authentication - detecting when a user is not permitted

adding cssclass attribute to contentplaceholder

localization of install page

treeimages problem. "that is a easy problem but i don't know solve"

desperate - please help

membership class - adding properties to a new user

accessing remote file share from .net service

specifying tcp port for mssql connection in web.config

dropdownlist problem onselectedindexchanged

codesmith & dnn 2

la\orange county dnn usergroup

hyperlink imageurl does not show

pages not loading using asp:menu and web.sitemap

activeforums 2.0 is now available!

unalbe to use web deployment project

vwdee not displaying properly

personalization data cleanup

two cookies for a site good idea or bad?

 
All Times Are GMT