EventLog Capacity Adjustment

Some applications write info to the eventLog, if eventLog is not adjusted properly you mayget the following error message while trying to write there: “Eventlog is full”. Then do the following to change the logging capacity.1) Open ControlPanel > Administrative Tools > EventLog2) Right click on the category that is located at the left side […]

How to Add a Product Variant

referance1: http://msdn.microsoft.com/en-us/library/aa546033.aspxreferance2: http://ravikk.spaces.live.com/blog/cns!F348D7145D1BE6C2!411.entryQuoted from ref1:private static void AddVariant( CatalogContext context, string variantId, string catalogName, string productId){ // Get the product family from the catalog. BaseCatalog baseCatalog = (BaseCatalog)context.GetCatalog(catalogName); ProductFamily productFamily = (ProductFamily)baseCatalog.GetProduct(productId);

// Add the variant to the product family. productFamily.AddVariant(variantId);

// Set the properties for the variant product. productFamily.Variants[variantId][“Color”] = “Green”; }


Violation of PRIMARY KEY constraint ‘PK_OrderForms’.

http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/898b5886-cb62-44d6-b64b-de719faf5b84Above we see a nice thread about the following problem:Error occurs while “Error on basket.SaveAsOrder()”Violation of PRIMARY KEY constraint ‘PK_OrderForms’. Cannot insert duplicate key in object ‘dbo.OrderForms’

How to sell downloadable products on a commerce site?

Very nice debate on commerce sites which sell downloadable products.http://www.webmasterworld.com/forum22/386.htmhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/5a664e62-b94e-4691-95be-8cc325d49274

Secure Connection string


cannot find DSC_Attribute_Add stored procedure, or DSC_Attribute_Update

While installation of DotShoppingCart site some stored procedures cannot be created on Sql Servers which have Turkish_CI_AS collation. While trying to add new attributes to the site it complains “cannot find ‘DSC_Attributes_Add’ stored procedure”. Same problem exists for DSC_Attribute_Update sp. I have inspected the installation script of the db and found the case sensitivity error.


Snippet Compiler for C#

http://www.sliver.com/dotnet/SnippetCompiler/ Cool tool…

Also there are more utilities at http://www.sliver.com/dotnet/index.aspx

A tiny exe that creates EventSource in EventLog


http://www.techcontent.com/TG70315FAQ.htmHOWTO: Troubleshooting the “Event Message Not Found” MessageEventLog.WriteEntry Method (String, EventLogEntryType, Int32, Int16, Byte[])Eventcreate.exe application and another thread for the fix

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogApplication Create a new key at this level by the following name: Mileage Efficiency CalculatorNow within this key, add a new string value and set its name to EventMessageFile and set […]