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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  dnn 3.2.2 opening in vs
Previous Previous
 
Next Next
New Post 1/3/2006 2:13 AM
User is offline Johannes Findorf
3 posts
www.cryos.dk
10th Ranked


dnn 3.2.2 opening in vs 
Hi

I would like to make my own module to DNN, just to show myself that I can do it. I downloaded the source of dnn 3.2.2, extracted it, configured ISS and run the install script. After that I opened the localhost/dotnetnuke/DotNetNuke.sln. Then VS displays an error that it cant find: ..\dotnetnuke\Providers\CachingProviders\BroadcastPollingCachingProvider\Providers\SQLDataProvider\SQLDataProvider.vsproj

I have looked in the dnn 3.2.1 source, but could not find it there, where can I get it?

If I rebuild the project now, I get 17 build errors!! Is it normal to release source that has this many errors or am I missing something?

The guide to make my owne module I follow are this: http://www.15seconds.com/issue/050505.htm does anyone have a more up to date version guide?

Best regards

Johannes Findorf
 
New Post 1/4/2006 12:09 AM
User is offline Hans-Peter Schelian
468 posts
www.schelian.com
8th Ranked


Re: dnn 3.2.2 opening in vs 

First, it is not necessary to recompile the DNN source for creating your own module, the only thing you must do is to make a reference in your project (class library == dnn module) to the dotnetnuke.dll.

But if you like to do it, you must open the solution from the folder and not from the web server.

You write you opened the localhost/dotnetnuke/DotNetNuk.sln.

Open the solution file from C:\DotNetNuke\DotNetNuke.sln.

Would you like to develop the module from scratch ?

I would suggest, that you download the templates from DNNJungle, this is much more easy.

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post 1/4/2006 7:20 AM
User is offline Johannes Findorf
3 posts
www.cryos.dk
10th Ranked


Re: well, one step at a time... 
Hi agina

I followed your tip and has now made a hello world module based on codesmith and vs.NET templates from DNNJungle (nice job from the jungle).
Both projects (my module and the dal) can build with no errors (from time to time I get an error with write premissions to the VScasche, after restarting VS it is ok again).

When I have inserted my module at the DNN module defenition page, I try to insert it at a test page. Here I get an error:
A critical error has occurred.
MinMax persistance type of cookie requires a ModuleId

If I look in the log file of DNN, I get 3 errors from one view of the page:
1/4/2006 5:10:58 PM   Page Load Exception   host     AssemblyVersion: 03.02.01; Method: DotNetNuke.UI.Utiliti ...
AssemblyVersion: 03.02.01
Method: DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax
FileName: C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\components\Shared\ClientAPI.vb
FileLineNumber: 156
FileColumnNumber: 32
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 54
ActiveTabName: Min side
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 8728990f-fa8f-441e-bf5d-127549fbfbb5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: MinMax persistance type of cookie requires a ModuleId
Message: DotNetNuke.Services.Exceptions.PageLoadException: MinMax persistance type of cookie requires a ModuleId ---> System.Exception: MinMax persistance type of cookie requires a ModuleId at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) in C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\components\Shared\ClientAPI.vb:line 156 at DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) in C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\admin\Containers\Visibility.ascx.vb:line 256 at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: JOHANNES
1/4/2006 5:10:58 PM   Module Load Exception   host     ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.02.01
Method: System.Web.UI.UserControl.get_Request
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 54
ActiveTabName: Min side
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 32957076-4ee1-4196-b0f4-48f0016e974b
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.UI.UserControl.get_Request() at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() in C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\components\Modules\PortalModuleBase.vb:line 272 at DotNetNuke.UI.Containers.Title.CanEditModule() in C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\admin\Containers\Title.ascx.vb:line 121 at DotNetNuke.UI.Containers.Title.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\admin\Containers\Title.ascx.vb:line 101 --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: JOHANNES
1/4/2006 5:10:58 PM   Module Load Exception   host     ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.02.01
Method: System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 54
ActiveTabName: Min side
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 0450713f-bfe2-4874-9078-71beec7c4905
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: External component has thrown an exception.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: External component has thrown an exception. ---> System.Web.HttpException: External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an exception. at System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString) at System.Web.Compilation.BaseCompiler.GetCompiledType() at System.Web.UI.UserControlParser.CompileIntoType() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) 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:\Documents and Settings\Johannes Findorf\Dokumenter\Cryos\dotNetNuke\installation\DotNetNuke_3.2.1_Source\admin\Skins\Skin.vb:line 466 --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: JOHANNES

Any suggestion on how to get rid of it? I have run the HelloWorld Module Tutorial twice, with the same result (I have not reinstalled DNN inbetween, I hope that is not necessary).

Thanks
Johannes

 
New Post 1/4/2006 8:55 AM
User is offline Hans-Peter Schelian
468 posts
www.schelian.com
8th Ranked


Re: well, one step at a time... 

One question:

What happens if you try to access localhost/dotnetnuke without using your development environment ?

Your problem sounds that DNN ist not working correctly.

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post 1/5/2006 12:18 AM
User is offline Johannes Findorf
3 posts
www.cryos.dk
10th Ranked


Re: well, one step at a time... 
I can access my dnn with no errors (at http://localhost/dotnetnuke), only if I insert my module on a page, the error appears.

johannes

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  dnn 3.2.2 opening in vs
 


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.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

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