| Perfil de FiredancerFiredancingFotosBlogListas | Ayuda |
|
|
04 noviembre Crystal Report LOGON FAILED Error In Visual StudioImage via Wikipedia For developers who, like me, had set out on the wrong footing, the solution to the LOGON FAILED issue with Crystal Report in Visual Studio is non-trivial. MSDN has comprehensive tutorials here - http://msdn.microsoft.com/en-us/library/ms225570.aspx . All the best! 03 junio Oracle 11g: Unable to start emctl Oracle Enterprise Manager service on WindowsQ: I was not able to start the Oracle 11g Enterprise Manager service. This happened after renaming my computer and although I reconfigured Oracle and my network settings (eg hosts file) for the new computer name it was not enough to get it working. Basically, the Oracle Enterprise Manager service could not be started on the Windows Services management console. Alternatively, running ‘emctl start dbconsole’ on a command prompt did not do it either. Checked for solutions on the Internet and found that several others had faced the same problem too. A: Checking the log file OracleDBConsoleORCLsvc.log (in the oracle_home\computername\sysman\log directory) I found that Oracle had exited with a certain numeric exit code. The log further referred to the log file OracleDBConsoleorcl.nohup which contains a lot more detail on what happened. In my case, the log file told me that the Java runtime could not find a particular directory (applib) and bombed the startup process. Finding a similar directory elsewhere (which actually contained another log file), I copied it over to where Oracle was looking for it, and this got the EM working again. Lesson learnt: The OracleDBConsoleorcl.nohup log file contains a wealth of details about the Oracle Enterprise Manager service. It’s helpful to refer to it in solving problems of not being able to start the Oracle Enterprise Manager. Related articles by Zemanta10 mayo Looking For New Technologies?Adoption of the right and relevant latest technologies is key to survival in the increasingly competitive world. Here’s a place to fast forward into the technological future: Technorati Tags: Adoption,survival,world,Here,Technologies29 abril Wordpress 2.7 – Blank Page
28 abril .Net Repeater ControlHere are some short notes on how to use the .Net Repeater Control. TemplatesThe Repeater Control consists of the following subcomponents:
Place codes and HTML elements in these templates to render complete DataRepeaters. Binding DataData is bound through the DataSource property and the DataBind method. Valid data sources implement the ICollection, IEnumerable or IListSource interfaces. Implementation
15 abril SQL Server - @@IDENTITY, SCOPE_IDENTITY, and IDENT_CURRENTHere’s a quick note and reference point for programmers who are forgetful, like me.
1. @@IDENTITY returns the last identity column value generated for any table during the current session regardless of whether the number was generated within the scope of the current stored procedure or not – Any table, current session, any scope 2. SCOPE_IDENTITY() returns the last identity column value generated for any table during the current session and within the current scope only – Any table, current session, current scope 3. IDENT_CURRENT(‘tablename’) returns the last identity column value auto-generated only for the current table regardless of session and scope – Current table, any session, any scope I use SCOPE_IDENTITY to return identity values due to the following explanation from SQL Server 2008 Book Online - “For example, there are two tables, T1 and T2, and an INSERT trigger is defined on T1. When a row is inserted to T1, the trigger fires and inserts a row in T2. This scenario illustrates two scopes: the insert on T1, and the insert on T2 by the trigger. Assuming that both T1 and T2 have identity columns, @@IDENTITY and SCOPE_IDENTITY will return different values at the end of an INSERT statement on T1. @@IDENTITY will return the last identity column value inserted across any scope in the current session. This is the value inserted in T2. SCOPE_IDENTITY() will return the IDENTITY value inserted in T1. This was the last insert that occurred in the same scope. The SCOPE_IDENTITY() function will return the null value if the function is invoked before any INSERT statements into an identity column occur in the scope.” Books Online further cautions that the value returned by these functions may be untrue if the INSERT operation has ended with an error - “Failed statements and transactions can change the current identity for a table and create gaps in the identity column values. The identity value is never rolled back even though the transaction that tried to insert the value into the table is not committed. For example, if an INSERT statement fails because of an IGNORE_DUP_KEY violation, the current identity value for the table is still incremented. “ 05 abril How To Create and Inherit From A Base Web User ControlThis is a tricky situation.The kind that we turn to runestones to unravel. Problem - You can create a base User Control in a Windows Form project. Then, you can create another User Control that is inherited from the first quite easily by choosing Add New Item/Inherited User Control from your Solution Explorer (right click your project to get this menu). You cannot do the same for a Web User Control. Now, why do you want to do this? Well, you’ll want to do this for the same reason you’ll want to create a base class in any other situation – you may wish to embed commonly used attributes and methods into the base class. Then, when you create sub-classes that inherit from it, you only need to write codes for pieces of specialized work that differ from the common functionalities. Solution – The solution is actually quite simple. Follow these steps -
I got this solution from a response to a question. Technorati Tags: ASP .Net DotNetNuke Web User Control Inheritance Object-Oriented Programming Runes Runestones 04 abril Checklist On Initiating A New DotNetNuke Module ProjectTechnorati Tags: DotNetNuke programming What do you do when you have a request for a new DNN module? These are my recommended first actions to take:
My recommendation is not to delay taking these steps even if you are busy. You are only ready to code when you have completed these steps properly. From my experience, when I delay taking these steps and the time to start coding creeps up on me, I find that sometimes I am taken by surprise that some of these things for the new modules do NOT work. Common problems, for some ghostly reason or another, are
And then I wish I had taken these assurances well in time. checklist-initiating-dotnetnuke-module-project 01 abril Microsoft SQL Server Error 3154If, like me, you are used to restoring databases by right-clicking the database in your SQL Server Enterprise Manager and then selecting Tasks/Restore, it may get a bit sticky when you try to restore a different database over another database.
Problem: When you do the above, you get an Error 3154, even after you have chosen the WITH REPLACE option on the Restore/Options tab. Solution: Do NOT attempt to restore the database by right-clicking on the particular database name over which you wish to restore, instead right click on the Databases node in SQL Server Enterprise Manager, then choose Tasks/Restore Database. On the General Tab, make sure you choose the name of the database you wish to restore over and on the options tab, choose the WITH REPLACE option. ![]() Powered by ScribeFire. 29 marzo Unable to compile DotNetNuke 3.9 IFrames moduleYou may wish to fully qualify all references to DataProvider in the Iframes module to DotNetNuke.Modules.IFrame.Data.DataProvider These are unlike references to DataProvider in the other modules which refer to DotNetNuke.Data.DataProvider (in DNN 3.9 you may wish to fully qualify them as well for a successful compile). You should successfully compile your DNN 3.9 website after making these changes: Adding non-VB modules to DNNProblem: I had this error compiling my DotNetNuke 3.9 website - The file 'x' and 'y' use a different language, which is not allowed since they need to be compiled together. 1. In the web.config file, add the line <add directoryName="yourDirectoryName" /> to the section <codeSubDirectories>. For example, the section in my web.config file looks like this <!-- register your app_code subfolders to generate granular assemblies during compilation --> 2. Then, refresh your App_Code folder. The folders added to the above section should now have changed folder icons to reflect that they are special folders. Powered by ScribeFire. 19 marzo A Handy HTML Tag Reference17 marzo List of useful development toolsHow to catch DBNulls from .Net SQLRowsThere's plenty of discussion on this out there. A Try..Catch block worked best for me. Since the error is thrown from the SQLRow innards, Convert.IsDBNull etc does not work. Dim strRes As String = "" Dim a As New SqlDataAdapter("SELECT * FROM CMN_Settings WHERE SettingKey = '" & pKey & "'", Config.GetConnectionString("SiteSQLServer")) Dim d As New DSCommonEntities.CMN_SettingsDataTable a.Fill(d) If d.Rows.Count > 0 Then Dim r As DSCommonEntities.CMN_SettingsRow r = d.Rows(0) Try strRes = r.setingValue Catch e As Exception strRes = "" End Try End If Return strRes ![]() Powered by ScribeFire. A Compilable DotNetNuke 4.9 Provided on an "as is" basis, this is my working copy and although the DNN core had not been modified, it includes additional and developmental skins and modules. 14 marzo Taskpool & XULRunnerTaskpool is a great, small application that helps you organize a to-do list and keep track of time spent on the to-do items. It runs on XULRunner, a revolutionary platform developed by the Mozilla community for executing lightweight XUL applications. See more sample XULRunner-based applications here. 12 marzo Script.NET, S#, Zero footprint .NET Forms applicationsA very interesting find on scripting! Here's a sample program by Piter. And here's a very extensive article on creating a zero-footprint, web-deployed, Windows Form application. ![]() Powered by ScribeFire. 09 marzo Microsoft .Net Provider Classes - The OriginA number of provider classes are provided by the Microsoft .Net platform. Sometimes it is useful to understand the logic behind these provider classes in order to understand the implemented framework. Here is an article that went back all the way to .Net Framework 1.1 when the Provider classes were being mooted out, which gives a good feel about the thinking behind these classes and the way they were implemented. Here is an example of a Provider class that is commonly used in .Net website. Technorati Tags: Microsoft .Net Provider Model ![]() Powered by ScribeFire. 19 mayo How to install DotNet NukeSometimes, finding an effective guide isn't easy. Here's one - http://www.installationwiki.org/DotNetNuke Technorati Tags: DotNetNuke |
|
|