Login
Register
17-05-2008

Resources for the DotNetNuke Community
Join WebHost4Life.com
Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  HelloWorld Tutorial  Literal follwin...
 Literal follwing of Hellow world tutorial (v3) doesn't work!!
 
imgOfflineirishale
5 posts
Joined
7/25/2006

Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 25 Jul 06 9:46 AM
I'm using Visual studio 2003, and have downloaded the dnn 3.3.3 source.. installed it, have the site working properly, and am attemping to follow the Hello World tutorial.  The problem is, if I follow the instructions literally, I get a slew of errors in the 'task list' in VS  like  'AddHelloWorld is not a member of DotNetNuke.Data.Provider'... and etc.  I'm guessing there's a certain amount of 'you should know this involved'... and while I'm a decent vb.net developer, I've not worked with web projects much at all.  Are there any more pointers/sites that are for the really big 'dummies' out here amongst us?
imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 25 Jul 06 1:52 PM

I'm sure there some piece you're not doing right. This is the most simple tutorial you can find, I cannot imagine something simpler. So please, relax and take your time to understand what you're doing, this is the best way to find the source of the errors and learn.

The DataProvider class is an abstract class. It just defines the contract that any provider has to follow in order to be compatible with that module. So this is what the SqlDataProvider does.

But your problem is that in some place on your module you're referencing a method called "AddHelloWorld" that is not defined on the DataProvider class. Please verify this point, should be a problem with the naming or similar.


Disgrafic.com
imgOfflineirishale
5 posts
Joined
7/25/2006

Re: Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 26 Jul 06 9:56 AM
Ok... tried it again, fresh DNN install, fresh codesmith (the trial version 3.x, I was using freeware 2.6 before), on a different machine even!!! made it up to step '9'.. view control.  When I try to build the project, I get:<<< Unable to write to output file 'C:\Documents and Settings\SCOTT\VSWebCache\LCF-SCOTT\333s\obj\Debug\DotNetNuke.dll': The process cannot access the file because it is being used by another process. >>>
I tried restarting VS, bouncing my webserver... no effect.

So, I went ahead and added the module definitions... and get this when I try to view a page w/ the module in it:  <<<
Error: HelloWorld is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: <% IsEditable %>is not a valid value for Boolean. ---> System.Web.HttpParseException: Parser Error: <% IsEditable %>is not a valid value for Boolean. ---> System.FormatException: <% IsEditable %>is not a valid value for Boolean. ---> System.FormatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at System.ComponentModel.BooleanConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) --- End of inner exception stack trace --- at System.ComponentModel.BooleanConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) at System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value) at System.Web.UI.PropertySetter.AddPropertyInternal(String name, String value, ControlBuilder builder, Boolean fItemProp) at System.Web.UI.ControlBuilder.PreprocessAttribute(String attribname, String attribvalue) at System.Web.UI.ControlBuilder.PreprocessAttributes(IDictionary attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, String sourceFileName, Type& childType) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) 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 c:\inetpub\333s\admin\Skins\Skin.vb:line 468 --- End of inner exception stack trace ---
>>>

I'm hoping somebody has encountered this before :)
imgOfflineirishale
5 posts
Joined
7/25/2006

Re: Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 26 Jul 06 11:05 AM
Ok... I removed all instances of 'IsEditable' from the HelloWorld.aspx code, and it worked.  Trying to figure out what is wrong with it now.
imgOfflineirishale
5 posts
Joined
7/25/2006

Re: Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 27 Jul 06 6:56 AM
ok... I'm banging my head agains the wall now.  The module loads fine now, however if I try to add a message, it inserts a "blank" message entry into the HelloWorld table.  How can I go about debugging what is happening here???
imgOfflineirishale
5 posts
Joined
7/25/2006

Re: Literal follwing of Hellow world tutorial (v3) doesn't work!!
Posted: 02 Aug 06 6:24 AM
Anybody??? Also, I've found if I manually insert records into the HelloWorld table (with the proper moduleid)... it won't show them, either.  What could I have possibly missed?????
  DotNetNuke Development  HelloWorld Tutorial  Literal follwin...
© Vicenç Masanas Terms Of Use Privacy Statement   
.