problem about dotnetnuke-Collection of common programming errors


  • Tom
    c# asp.net iis dotnetnuke
    My app is supposed to create a structure of folders during execution in which it will create, store and process the files generated at run time. This system has been tested in a desktop application and works fine. Now I am trying to use this in a C# asp.net webforms DNN project but it does not as per expectation.When I debug the project the directories are created at the following location the reasons for which I do not understand(but the application executes fine):C:\Program Files\Common Files\

  • Tiega
    iis-7 dotnetnuke wkhtmltopdf pechkin
    i have tried to install wkhtmltopdf with Pechkin as dll in the DNN “bin” folder. But when i upload the pechkin.dll DNN crashes. I tried to upload the System.Drawing and System.Net dlls because i hope this was only a reference error. But nothing changed.I hope someone here tried this too an can help me.Kind RegardsTiega

  • ThinkingStiff
    email dotnetnuke sendmail send dotnetnuke-module
    I’m trying to send an email in a DNN module I’m making. However, though it doesn’t crash the email isn’t being sent. I think it has to do with the From Email I’m attempting to use. I’m not 100% sure what email I should be using for the from which is the first parameter.Protected Sub Submit_Click(sender As Object, e As EventArgs) Handles Submit.ClickDotNetNuke.Services.Mail.Mail.SendEmail(“support@localhost”, “[email protected]”, “EmailTest”, “Hello world!”) End Sub

  • ShaunOReilly
    dotnetnuke
    I do not get this problem.The other issues mentioning this redirect problem is related to portal aliases and full/med trust levels, etc.I have a .net 4 Classic pool pointing to the recently upgraded DNN install.Previous version was 5.xxxx, and now I have upgraded to 7.0.5All the current cms pages work. When I go to the admin section, and in there choose page management, or host setting in the host section, then I get this problem.I know dnn is slowly going down the MVC path, although I still see

  • 1110
    asp.net svn debugging tortoisesvn dotnetnuke
    I have one project with a few sub projects in it. A few projects contain dotnetnuke modules. And I have committed this project to SVN repo. But now when I checkout version from SVN I have to manually copy module project to dotnetnuke/desktopModules directory. I am trying to find some shorter way for this :(I follow solution from this question DotNetNuke and Subversion guidelines , but have no luck. I added nant.build file to my project with dotnetnuke modules. Navigate to it from command line an

  • Jeroen
    iis-7.5 dotnetnuke
    I’m getting the following error when attempting to run DotNetNuke 7.1 from IIS. Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error:Line 572: //first call G

  • asif-007
    asp.net url-routing dotnetnuke dotnetnuke-7
    We are trying to implement Custom URL routing through Global.asax, for our custom built module. but we are getting a 404 file not found error.Here is the Global.asax code:<%@ Application Inherits=”DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication” Language=”C#” %> <%@ Import Namespace=”System.Web.Routing” %> <%@ Import Namespace=”System.Web.Compilation” %><script runat=”server”>public class CategoryRouteHandler : IRouteHandler{public IHttpHandler GetHttpHandler(Req

  • MKDNNTeam
    c# telerik dotnetnuke blob radgrid
    I’m pretty new to working with Telerik controls, and I’ve received zero response on the Telerik forums in regard to this, but a friend recommended Stackoverflow, so I hope someone can help.In short, I’m a .NET programmer who is currently developing modules for use within DotNetNuke. For the module I’m currently working on, I’m displaying data in a Telerik RadGrid. One of my columns contains a LinkButton which when it’s clicked needs to run a function that retrieves a BLOB from my database and

  • Brian Hinchey
    dotnetnuke
    I am working on my first DotNetNuke website and there is a requirement for all the custom module functionality I am developing to be available with JavaScript disabled.However, when I create a module that contains a simple submit button, i.e.<input type=”submit” />, DotNetNuke displays a critical error with JavaScript turned off but works as expected with JavaScript turned on.When I attach to the running process using Visual Studio, the unhandled exception is thrown from admin/Skins/Nav.as

  • Theresa
    iis razor dotnetnuke
    I am trying to add a webpage to a website that has already been put on IIS 7.5. I have scoured the internet in search of a solution trying to change the .config file, adding the dll files. The webpage runs fine when I run it as its own website but will produce errors when I setup its’ own url off the already established website. Here is the error:”The value for the ‘compilerVersion’ attribute in the provider options must be ‘v4.0’ or later if you are compiling for version 4.0 or later of the .N

  • David Neale
    asp.net iis dotnetnuke stress-testing wcat
    I have a ubr file setup to stress test an internal DotNetNuke site with WCAT:transaction {id = “Intranet Home Page”;weight = 1000;cookies{clear = true;}sleep{delay = rand(“1″,”500”);}request{url = “/”;statuscode = 401;}request{url = “/”;authentication = ntlm;username = “mydomain\\accountname”;password = “password”;statuscode = 200;}close{ method = reset;} }When running this (wcat.wsf -run -clients localhost -s myserver -t test.ubr -f settings.ubr -x) I simply get lots of error 50

  • Heather
    c# asp.net dotnetnuke
    I’m trying to add Forum module to my Web Site , so I add dlls, components and modules and :<%@ Page Title=”” Language=”C#” MasterPageFile=”~/Site.master” AutoEventWireup=”true” CodeFile=”Forum.aspx.cs” Inherits=”Forum” %><%@ Register TagPrefix = “Nuke” TagName = “Forum” Src = “~/DesktopModules/Forum/Forum_Container.ascx” %><asp:Content ID=”Content1″ ContentPlaceHolderID=”HeadContent” Runat=”Server”> </asp:Content> <asp:Content ID=”Content2″ ContentPlaceHolderID=”MainC

  • Kusum
    dotnetnuke
    I have a dnn website which I have configured as secure. After making it secure whenever I access secure pages of host menu, it throws error and I am unable to access host secure pages.Please help me ASAP!Error Details :Method: DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings StackTrace: Message: System.Exception: Unhandled Error: —> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(In

  • Ankit
    dotnetnuke dotnetnuke-module
    After I upgrade my dot net nuke version from 6.01 to 7.10 ,all things are working find but after admin login can not use some functionality like page edit,add new module.All the times it throws same errorSystem.Exception: Unhandled Error: —> System.ArgumentException: Item has already been added. Key in dictionary: ‘UserInfo’ Key being added: ‘UserInfo’ at System.Web.Http.WebHost.HttpControllerHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.

  • roadsunknown
    .net iis7 dotnetnuke
    Error logs in a DotNetNuke (DNN) site are filling up with errors like that of below. Are these important? They appear to be 404 related, but why would they be causing a general exception as 404s are being handled by iFinity Url Master. Is there a way in DNN to stop reporting on them?General Exception AssemblyVersion: 6.2.0 UserID: -1 UserName: ActiveTabID: 678 ActiveTabName: 404 RawURL: /Portals/Portals/0/favicon.ico AbsoluteURL: /404.aspx AbsoluteURLReferrer: UserAgent: Mozilla/5.0 (compatible;

  • Srinubabu Ravilla
    dotnetnuke
    I am placing the nested web application inside DNN. When i am running nested dnn site from IIS it is throwing the following exception how could i solve this issue?   Server Error in ‘/DNN/Sample’ Application.   Object reference not set to an instance of an object.   Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   Exception De

  • Derek ????
    javascript jquery dotnetnuke
    I am trying to get sliding images (see the code excerpt underneath):if(this.slidesCount > 1){// navigate “in” or “out”this.$slider.find(‘nav > span.sl-prev’).on(‘click.slitslider’, function(event){Uncaught TypeError: Object [object Object] has no method ‘on’Failed to load resource: the server responded with a status of 400 (Bad Request)I am getting above two errors in JavaScript. How can I solve the problem above? Thank you in advance.

  • 1110
    javascript jquery asp.net dotnetnuke dotnetnuke-module
    I have created custom DNN module that should use some JQuery plugins. I loaded plugins fine. But getting error:Uncaught TypeError: undefined is not a function imagesloaded.js?cdv=18:93 Uncaught TypeError: Object [object Object] has no method ‘imagesLoaded’ Masonry:755 GET http://dnn7site/jquery.min.map 404 (Not Found) Masonry:464 GET http://dnn7site/resources/shared/scripts/jquery/jquery.min.map 404 (Not Found)And I think that this is because JQuery is not imported in my custom module. I include

  • 1110
    jquery asp.net jquery-ajax webforms dotnetnuke
    I am trying to invoke method from code behind via jquery.ajax… but nothing happens, no error’s just methood is not invoked. Maybe important to note I use DotNetNuke. jQuery(document).ready(function () {jQuery(window).scroll(function () {if (jQuery(window).scrollTop() == jQuery(document).height() – jQuery(window).height()) {InfiniteScroll();}});function InfiniteScroll() {jQuery.ajax({type: “POST”,url: “LoadItemsHandler.aspx/GetData”,data: “{}”,contentType: “application/json; charset=utf-8”,data

  • James Campbell
    c# asp.net javascript dotnetnuke
    I have an LinkButton control which I need to add a c# method to. Currently when I use parse control and add the control to the page it changes the call to javascript and I get undefined. I figure a way around this would be to define a javascript function that would call the c# method from the code behind, but I cannot figure out how to do this. Specfically when a linkbutton is clicked I need javascript to pass the ID of the linkbutton to a C# method.I have tried this:foreach (Control Control in

  • Alex Ritter
    asp.net facebook dotnetnuke meta-tags facebook-comments
    I have added the Facebook comments plugin to dynamic pages on my site, and I am attempting to set up administration of those plugins by adding the associated meta tags to their pages. My site uses the CMS dotnetnuke.I went to the page’s settings – under advanced – and added the appropriate meta tag information. However, upon saving, administration is not enabled on that page.I ran the page through the wc3 validator, and the following error related to that meta tag was produced:Error Line 11, Col

  • Matt
    asp.net vb.net class interface dotnetnuke
    I’ve made an interface called ApprovalEvent in a separate file with the namespace myproject… I’ve also made a class called PurchaseOrder… it’s also in the same namespace, just in a separate file. Whenever I try to make PurchaseOrder implement ApprovalEvent it always says that ApprovalEvent is undefined…How can I make the class recognize that the interface exists but is in a different file?Here’s some code: File #1Namespace myprojectPublic Interface ApprovalEventFunction getDetails() As Str

  • zack
    sql sql-server database dotnetnuke
    I am new to Dot Net Nuke. I downloaded and tried to install it onto Windows Server 2008. It installs to the point where it starts running scripts for the database. I choose SQL Server 2005/2008 as the database and put in the correct Database name and connection string with the correct credentials as well. It however fails after running a few scripts and says “undefined…FAILURE NULL NULL”. I fail to understand this error. Any help guidance is much appreciated.Thanks.

  • Andrzej Doyle
    asp.net ajax iis6 dotnetnuke http-status-code-302
    The DNN application I develop has this familiar problem in the deployment env (Win 2003/IIS 6). From all resources I’ve searched only one came close to my situation. i.e this request returning 404 instead of 302 I get.Common suggestions like aspnet reinstallation, web.config settings, removing ‘verify file exists’ in IIS handler settings are all tried with nor results.Any Clues?

  • SOLDIER-OF-FORTUNE
    jquery internet-explorer content-management-system web-browser dotnetnuke
    Is it possible to display different content within a CMS (DNN) based on the browser the user is using? For example, IF IE 7 then display content 1IE7 doesnt like image maps that well and id rather just show the user a static image of the flow chart i have made.<!–[if IE 7]> Special instructions for IE 7 here <![endif]–>I would like to code some jquery to delete contents of the div class within the content pane (for that page, so checks for the file extension process.aspx) and then

  • zforx
    asp.net jquery dotnetnuke
    I am developing Dnn modules and I am using jQuery in some modules, I add the jQuery reference to the top of the each ascx file, by the way when user add multiple modules to the page it references every time when modules are added, this situation gives some errors, when I remove the reference from the module which is bottom of the other module which both use jQuery, they work good, is there a way to prevent multiple reference the jQuery ? I mean if it is referenced on the page befeore it won’t re

  • nick
    asp.net windows-8 dotnetnuke windows-server-2003 internet-explorer-10
    I have a DotNetNuke site, and today a customer called in and said it wasn’t working on IE 10. Specifically the login and register links weren’t working, but they do in compatibility mode. I took a look on our test windows 8 machine and saw that it was failing because __doPostBack was undefined. I’ve been searching for a fix for the last 6ish hours, and what I’ve been able to find is that apparently the IE10 user agent is covered in the ie.browser file and that I should install this hotfix and re

  • GopinathGuru
    ASP.NET jQuery JSON dotnetnuke
    my JSON response is like this { “items”:[{“s”: “2”,”f”: “host”,”m”: “hi.. “}, ] }   I wrote the following code to read the JSON data. but not getting the any value. alert box also not working. If any one please inform me where I did mistake …   $.ajax({  url: “ChatHandler.aspx?action=chatheartbeat”,cache: false,dataType: “json”,success: function (data) {  $.each(data.items, function (i, item) {  if (item) { // fix strange ie bug  chatboxtitle = item.f;  alert

  • Nimantha Prasad
    dotnetnuke dotnetnuke-6
    Yesterday my project working without any issue.But today i added Webservice file to my code..then i received this error…After that i remove webservice file..BUT still problem there.this is a RUN TIME error..Compiled successfully.Error is : Could not load file or assembly ‘DotNetNuke.DNNMenuNavigationProvider’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))Exception Details:System.IO.FileLoadException: Could not load file or assembly ‘