CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
   Explore    Item Entry    Profile    Invite   History    Resources   SiteMap  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML




Zone: > newsgroup > asp.net forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 7/21/2005 7:47:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 2 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
13 Items, 1 Pages 1 |< << Go >> >|
clearsky
Asp.Net User
Sample module request7/21/2005 7:47:23 PM

0/0

YANBQ ? Yet another newbie question?.

 

Got the pageTitle thing to work, and understand how it works ..ooOO(WHUUUHOOO)

 

Now ? was wondering if some would be so kind to provide a sample ?hello world? project with db support ? and preferably with a simple class maintained in the session

 

This would be a great help, and a very fine start

 

Cheers

DougV
Asp.Net User
Re: Sample module request7/22/2005 1:52:05 PM

0/0

RLyda
Asp.Net User
Re: Sample module request7/22/2005 1:54:42 PM

0/0

clearsky
Asp.Net User
Re: Sample module request7/22/2005 5:27:26 PM

0/0

Thanks RLyda...

Installed and worked like a charm...

 

Although after compiling a empty project called "Clearsky-sample2" (which went fine) i installed the module manually - no problem there aswell...

But when the module should show it get this:

Any Ideas?

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: Could not load type 'clearsky.Sample.SampleView'. ---> System.Web.HttpParseException: Parser Error: Could not load type 'clearsky.Sample.SampleView'. ---> System.Web.HttpException: Could not load type 'clearsky.Sample.SampleView'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text) at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in D:\DNN3\admin\Skins\Skin.vb:line 680 --- End of inner exception stack trace ---

clearsky
Asp.Net User
Re: Sample module request7/22/2005 5:28:11 PM

0/0

Ohh forgot to mention - i use 3.1

RLyda
Asp.Net User
Re: Sample module request7/22/2005 6:43:16 PM

0/0

Are you calling data methods?  Did you create the DataProvider abstract and (presumably) SQLDataProvider concrete classes?
ecktwo
Asp.Net User
Re: Sample module request7/22/2005 8:20:47 PM

0/0

Syntax error in .ascx file.  Probably wrong namespace.
clearsky
Asp.Net User
Re: Sample module request7/22/2005 11:51:02 PM

0/0

Hi ecktwo and rlyda

looked over the code, and can not find any thing wrong...

I have only changed the Sample2Edit.ascx, but the error is in the view code, right? This means i havnt create/completed the dataprovider classes (dont know how, yet)

 

I have packed the source code, and you can grab it here:

www.clearsky.dk/portals/0/sample2.zip

 

Your help is much appriciated

Cheers

ecktwo
Asp.Net User
Re: Sample module request7/23/2005 1:51:41 AM

0/0

Syntax errors are in Sample2Edit.ascx.  Non-html objects need to be declared/registered/referenced.  Whenever you see a lot of template this template that in the error message, it's your .ascx file.
clearsky
Asp.Net User
Re: Sample module request7/23/2005 12:15:46 PM

0/0

Thanks for you time, Unfortuatnaly i dont quite get what you are saying, so i removed all my own code and the Sample2Edit.ascx now looks like this

<%@ Control Language="vb" AutoEventWireup="false" Codebehind="Sample2Edit.ascx.vb" Inherits="ClearSky.DNN.Modules.Sample2.Sample2Edit" %>
<asp:linkbutton id="cmdUpdate" CssClass="CommandButton" runat="server" BorderStyle="None" resourcekey="cmdUpdate">Update</asp:linkbutton>
<asp:linkbutton id="cmdCancel" CssClass="CommandButton" runat="server" CausesValidation="False" BorderStyle="None" resourcekey="cmdCancel">Cancel</asp:linkbutton>
 <asp:linkbutton id="cmdDelete" CssClass="CommandButton" runat="server" CausesValidation="False" BorderStyle="None" Visible="False" resourcekey="cmdDelete">Delete</asp:linkbutton>

and still getting the error..

What do i need to declare, and where?

ecktwo
Asp.Net User
Re: Sample module request7/23/2005 7:01:09 PM

0/0

Missed the following line at the top of the ascx file:
<%@ Register TagPrefix="dnn" TagName="label" Src="~/controls/LabelControl.ascx" %>

When you had this in the body:
<dnn:label id="plEditText" controlname="txtEditText" suffix="" runat="server"></dnn:label>

Some excellent reading here for some more debugging tips:
http://blogs.speerio.net/peerio/Ask+Nik+DNN+Terminology+And+Development+Approaches.aspx
JosRichters
Asp.Net User
Betreft: Sample module request7/23/2005 7:10:11 PM

0/0

Hi Clearsky,

Why don't you start with the FREE tutorials provided by Todd Davies?
You can find then here: http://www.dotnetnuke.com/Default.aspx?tabid=810
I did, and now i'm writing complete modules on my own! Awsome!

Success!

Jos Richters


www.visualdata.nl
"He who pretends to know everything does't know much!" Keep on asking!
clearsky
Asp.Net User
Re: Betreft: Sample module request7/24/2005 12:03:13 AM

0/0

Hi Jos,

These are great tutorials...

Thanks for the link - im on the go now... thanks man

 

And for the rest hwo answered my cry for help - Thanks for your time and energy... Ill be returning shortly with some more quiestions... Hopefully more qualified next time around ;-)

 

You are a great bunch of guys... Thanks again.

 

Cheers

/Stig, Copenhagen, Denmark

 

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



Search This Site:





Other Resources:
Invoking existing web service from WID - ibm.software.websphere ... When I select this XML spy will generate a sample request based on the WSDL?s schema. ... the Business Integration VIEW right click your module and open the ' ...
OmniVision evaluation modules. sample requests. datasheets. technical support. USB downloads ... Request Datasheet: Customer Information ...
Cypress Semiconductor User Module Datasheets. Product Overviews. Product Brochures. Design Kits. C-Compiler ... PSoC through our online training modules available at www.cypress.com ...
OmniVision evaluation modules. sample requests. datasheets. technical ... OmniVision product sample requests, evaluation module identification and full technical support. ...
ProductVision Product Information - PVPaint Module ProductVision's Sample Tracking Module provides a tool to track and manage ... to check the status of a sample request, you can provide a quick and accurate response. ...
IIS.net : Learn IIS7: Sample: Image Watermark Module: Runtime ... ... to IIS 7.0 Managed Modules. Sample: Image Watermark Module. advertise here ... module that watches as requests are served, and if the MIME type of the request ...
WJ Communications - Request Sample WJ Communications, Inc. is a leading designer and supplier of RF solutions serving multiple markets targeting ... or decline requests at its discretion. ...
Integration : Sample Request EZLinkā„¢ OEM Modules. IA OEM-DAUB1 2400. Power Management. IA2505 IA2410 IA211x ... Sample Request. Sales & Support. Sales Representatives. Technical Support ...
 
All Times Are GMT