| Perfil de GregGreg Olsen - Yellow Duck...FotosBlogListas | Ajuda |
|
23 de julho GUID - How many combinations are there?Well I have used GUID's (globally unique identifier) before in a number of applications and found today on MSDN the total amount of possibly combinations and thought - this is quite interesting. The number is HUGE!
Question: How many GUID combinations are there?
Answer: There are 122 random bits (128 – 2 for variant - 4 for version) so this calculates to 2^122 or 5,316,911,983,139,663,491,615,228,241,121,400,000 possible combinations. You can find this referenced below if you ever need to know this information to inform your System Analysis, Project Manager or basically anyone wanting to know more about GUID's.
http://msdn2.microsoft.com/en-us/library/Aa446557.aspx >> See the bottom of the page for the statistics.
Yellow Duck Guy
Greg Olsen 09 de julho List all your databases on your server with T-SQLWell if you would like to list all the databases on your Microsoft SQL Server then you can simply use this T-SQL piece of code below (tested with Microsoft SQL Server 2005): PRINT 'List of all databases within your server:' Enjoy! Yellow Duck Guy 07 de julho How to ALWAYS show Solution within Solution Explorer with Visual Studio 2005Well yesterday I started another Visual Studio 2005 project. I created the project and all looked good. I then noticed my Solution (.sln) was not showing in the Solution Explorer with Visual Studio 2005. I remember I had this issue before and needed to remember how I enabled this in the view. So after hunting around in the Options section from the File menu I found it. Before: After: How to enable: If you want to always show the solution in the solution explorer, do the following: Hope this helps! Yellow Duck Guy 02 de julho Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'Well I got this error last week on my ASP.NET 2.0 Web Application im currently developing and thought what is happening here? I haven't hit this error before?
THE ERROR:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login' Source Error:
Line 120: public security_login_aspx() { COMMENTS: So I thought I would do some googling on the issue and stumbled across it within my search and it seems im not the only one who has hit this.
From reading a number of posts and Microsoft feedback (see: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102543) it does relate to the naming of the objects during compilation.
SOLUTION:
Be careful when naming aspx pages! To get around the issue I simply changed my Login.aspx to SignIn.aspx because I figured I had no controls or objects to clash with this name. I republished and BINGO! no longer do I have the error - all fixed. It seems though you are best to use the class name within your codebehind page (.cs) file and also change the inherits attribute in the aspx page (HTML View) to match.
The Web Platform and Tools Team at Microsoft have placed feedback of the following (using the URL above):
If you have used a Page that effectively uses a codebehind classname that is the same as say the Login control, that is Login, e.g. your page was called Login.aspx, then when you pre-compile (publish) the web site as an updateable web site, the aspx is retained and tries to compile against a type called Login in the code behind. It does not resolve to be that in the codebehind assembly
Try using a classname for your codebehind and defined in the inherits that does not clash with a type in System.Web, e.g. LoginPage, or qualify the class and therefore the inherits statement with a namespace, e.g. <%@ page ... inherits="theNs.Login" %. namespace theNs { public partial class Login : System.Web.UI.Page { .. } } Many Thanks Hope this helps you if you get this error. If you need anymore clarification then feel free to post a comment with your question. Yellow Duck Guy 01 de julho Custom Lookup Dialog for Microsoft Dynamics CRM 3.0"Stunnware has developed an add-on for Microsoft Dynamics CRM 3.0, the Custom Lookup Dialog." ( http://www.stunnware.com )
Well I thought I would give a mention for Stunnware's Custom Lookup Dialog for Microsoft Dynamics CRM 3.0.
This great add-in allows for custom lookup dialogs within CRM 3.0.
I have used this recently on a customer CRM 3.0 to NAV integration project to great success so I do recommend you try it out if you need to do any custom lookups.
"The custom lookup dialog allows you to filter the items displayed in the lookup dialog but includes a lot of additional functions as well." I have just received notification from Michael Höhne via email that version 1.4.1 is available for evaluation download. I have received the full copy from Michael for update to my customers install.
The Stunnware.com site is maintained by Michael Höhne, a developer located in the area of Munich, Germany. Michael promotes this site very well and regularly updates the site.
Evaluation to try:
To find the download files, look on the top left and click on the button named "Download Sample Files"
Try it now!
Yellow Duck Guy
Greg Olsen
|
|
|