Skip to main content

Posts

Showing posts from 2011

Add network Share Printer in Windows that using differen version of Windows

Here is the step-by-step description 1) Share Permissions  1. On explorer, go to C:\windows\system32\spool\PRINTERS  2. Right click, Properties  3. Sharing tab  4. Advanced Sharing  5. Check "Share this folder"  6. Permissions  7. Grant everyone Full Control  2) NTFS Permissions  1. On explorer, go to C:\windows\system32\spool\printers  2. Right click, Properties  3. Security tab  4. Edit  5. Add  6. Advanced  7. Find Now  8. Choose "NETWORK"  9. OK  10. Grant NETWORK Full Control  read here for details  see u next time

MVC 3 Razor Engine with Hosting Server

hi all, i got trouble at first when try to upload my existing website to shared hosting my site is working fine in my local, the CS at my hosting said something wrong with my web.config.. the error something like "401 - Unauthorized: Access is denied due to invalid credentials or " which is not clear enough what is wrong so after 6 days searching finally found something that very useful u need to add under namespace in ur root web.config u can look at here to read it more..see the comments see u

Could not load file or assembly error in VS 2010 and CR

when u received this kind of error "Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified." try to add this to your .config file (usually app.config) PS: don't forget to remove extra space after " see u

Default Series in SAP Business One 8.8

in my company we have below 30 users and they don't have permission to change the default series so a SuperUser is needed to change it each month.. if u same with me then u can use this tool, it set "default" series based on Period Indicator in respective Document and User's Branch hope u can understand what i mean :D for development: i'm using SBO 8.8 DIAPI and .NET Framework 4 Download PS: comments are welcome

Document Numbering in SAP Business One 8.8

well, in my company it is a burden task to create Document Numbering in SBO because in each Document we need to create 4 version for each period month (48 series for each) well i decided to create this tools to help me creating one..i hope it will help others too for development: i'm using SBO 8.8 DIAPI and .NET Framework 4 PS: comments are welcome and sorry my documentation is not good..if anyone intrested to create one..i'll be more than happy :D Download

Get Referenced Assembly in C#

sometime i need to get my referenced assembly so i can determine which property should i use (related to SAP Business One) i used this code to determine which SQL Version should i use Assembly EntryAssembly; EntryAssembly = Assembly.GetEntryAssembly(); foreach (AssemblyName Name in EntryAssembly.GetReferencedAssemblies()) { if (Name.Name.ToString() == "Interop.SAPbobsCOM") { switch (Name.Version.ToString()) { case "8.8.0.0": myCompany.DbServerType = BoDataServerTypes.dst_MSSQL2008; break; default: myCompany.DbServerType = BoDataServerTypes.dst_MSSQL; break; } } } see u

Crystal Report 2010 - Failed to load database information

"Failed to load database information" error when i try deploy my program with CR 2010 using TTX file as report definition this is because there is missing .dll, call "CRDB_FIELDDEF.DLL"..u need to manually copy the file to "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder then the report is loading again it said that TTX is old tech but i'm still using it because i don't need to connect the report to any DB, but until i found new one to replace :D check this link to read it [EDIT 25 Jan 2011] i think i'll using ADO.NET Dataset next time :D until then