SteveOH

Tag: error

Telerik RadNumericTextBox Parser Error: System.Web.HttpException : Cannot create an object of type ‘System.Type’ from its string representation ‘System.Int64′ for the ‘DataType’ property

by on Feb.01, 2012, under Technology

Last night I ran into an idiotic while deploying an application update into our production environment.  Here’s the full :

.Web.HttpParseException (0×80004005): Cannot create an object of type ‘.Type’ from its string representation ‘.Int64′ for the ‘DataType’ property. —> System.Web.HttpParseException (0×80004005): Cannot create an object of type ‘System.Type’ from its string representation ‘System.Int64′ for the ‘DataType’ property. —> System.Web.HttpException (0×80004005): Cannot create an object of type ‘System.Type’ from its string representation ‘System.Int64′ for the ‘DataType’ property. at System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value) at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode) at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This page was working perfectly on 2 environments and 1 staging environment, and they all had the same version of the controls installed (BIN installed).  But when deployed to the production , the page errors out with this stupid error.

Telerik’s explanation is that the .web.ui.dll and the .web..dll have different versions, but this was not the case as I verified versions were correct, rolled back to the previous DLLs prior to the deployment, etc.  I cleared the .NET temporary file cache, restarted , restarted the web service, re-referenced the controls in the web.config, even tried updating the GAC.  Nothing worked.

I followed Telerik’s instructions (different than above) as well, to no avail.

Since I was working against a deadline for this deploy, my only was to remove the RadNumericTextBox and replace it with a RadTextBox and deal with the validation of the input on the server-side.

Great solution?  No.  A solution at all?  Definitely not.  But I wasn’t about to wait to hear back from Telerik with their generic responses and then start shooting in the dark all over again.

 

Leave a Comment :, , , , , , , , , , , , more...

Ubuntu / Debian Windows 7 Dual Boot System Encryption with TrueCrypt

by on Jun.02, 2011, under Technology

I will be doing this configuration on my test machine very soon since my previous guide (here) is a bit outdated.  For now you can follow the previous instructions and modify them per the instructions below:

From SuperUser:

I’ve done it :) but not exactly like in your link, because of some kind of (bug?) in 2 (tutorial is with “1″ but I’ve 2), specifically in this

title /Longhorn
rootnoverify (hd0,0) makeactive
chainloader (hd0,1)/.mbr
boot

The problem is known and posted on many forums.

My was:

  1. Windows7 partition using truecrypt, selecting Single boot and overwriting Grub2 loader with truecrypt loader
  2. Boot from Rescue CD and install grub2 bootloader NOT on MBR but on /dev/sda3 which is / partition (so truecrypt loader was not overrided)

Now while booting truecrypt bootmenu is shown and if I’d access Win7 I’m entering password, but if I’d enter debian (via Grub2) I hit esc key and then truecrypt loader is searching all other partitions for boot loader and finding Grub2 which resides on /dev/sda3 and load system properly.

I think its the best way to do this for now (until sb find resolution for Grub2 to read /boot/truecrypt.mbr without errors).

1 Comment :, , , , , , , , , , , , , , more...

How Do Others Ace Their Interviews?

by on Feb.23, 2010, under General

February 22, 2010

The interview is an unusual situation: You’re put in a room you’ve never been in, with a person you’ve never met, to talk about a company you don’t work at, in order to persuade somebody that you’ll be excellent at a you don’t have.

No wonder it feels awkward, artificial and anxious.

But a lot of the “mystery” around great job interviewing comes from the fact that we don’t do it that often. Every few years, we’re supposed to magically dust off our interview skills and go out there and shine.

Well, I talk to a lot of job-seekers, hiring managers, and recruiters, and the “secrets” behind great interviews aren’t really that mysterious after all.

So here’s what you need to know for making your job interviews a lot less nerve-wracking and a lot more effective.

Pick three points and stick to them.

Ever watched the politicians on TV? When the host asks them a real zinger of a question, you’ll notice they rarely get flustered. Instead, they reply right off the top of their heads with an answer that seems to be completely coherent and well-crafted.

No matter what the question is, and no matter how impertinently put, the politician has an answer and doesn’t get distracted by the host’s badgering. I can’t say whether that’s good for us voters, but I can tell you it’s deadly effective for giving a great interview.

It’s called “staying on message” and the politicians don’t do it by accident.

Before they go on TV, they write down (or have written down for them) “talking points” that make the key arguments they want to make. And whatever else happens, they make sure to get their talking points across.

So in order to ace your interviews, you’ll want to have your own talking points.

And here’s the truly amazing thing — you don’t even need to come up with them on your own. Unlike the fickle electorate, your target audience will tell you exactly what you need to say! All you have to do is ask them.

When you are setting up the interview, ask the recruiter or HR person: What are the three key things you’re looking for in this position? And why are they important to the company? (If you’re not able to get this question in beforehand, you can still ask it right at the start of the interview.)

They might say this position is for a new initiative, or this role is critical for the implementation of the strategy, or the boss needs an to help assist them in this area.

Whatever the three key needs for the role are, write down beforehand how you can accomplish those needs. Don’t over-practice, just make sure that you know their three needs by heart, and you’ve got a reasonable argument for why you can help them.

Then during the interview, if conversation gets steered away to upcoming spring training or the snow this winter, or Tiger’s apology on Friday, you just make sure that you steer it back to how you can contribute on the three key needs.

Stay on message and when you walk out, your message will stay behind with your future boss.

It’s not about you

If you think about the interview from your future boss’ point of view, the interview is not about you. It’s about how well you fit into his or her needs. If you stick to your talking points above, you’ll avoid one of the most common errors people make in job interviews: talking about themselves without a real purpose.

Yes, you need to discuss your goals, but only in the context of how they match up with what your boss is looking for.

And, yes, you need to discuss your prior performance and successes, but only to the extent that it supports how you match the three key needs the company has for the open position.

A job interview is a sales call — it’s about selling you and your experiences and skills and talent for the role.

It’s not an A&E Biography about ${firstname}, it’s a discussion about the company, their needs, the role, and how well you do, or don’t, fit into the plans.

And it is most especially not a chance for you to get distracted on extraneous topics that may be very important to you, but have absolutely nothing to do with how well you can do the job. Because these topics are very important to you and you’ve been thinking about them a lot, you’ll need to make an extra-special effort to avoid dwelling on them in the interview:

  • How difficult the job search is (ok, yes it is, how is talking about this going to help you shorten your job search?)
  • What your perfect career would be (we’re not here to talk about your perfect career, we’re here to talk about this job and who we should hire for it)
  • The wrong decisions made by your previous boss / company / colleagues (how is this helping you get your next job? It’s not. Avoid.)

If I can be slightly tongue-in-cheek, the rule for job interviews is: “He who talks the least, wins.” If you can get your interviewer talking about their needs, their hopes, and their viewpoints, you’ll be collecting a lot more information about what it takes to get the job. Making your key points can take as little as 10 minutes if you’re strictly on message. Use the rest of your time to find out what else you need to know to make your case.

Have good questions

Even though I’m usually the final person to meet a candidate here at TheLadders, I’m always surprised when people I’m interviewing say they don’t have any questions for me. Sure, you’ve already met four of my colleagues and they’ve answered a lot of the open questions you had about TheLadders, but, really? You have absolutely no good questions for me?

And that’s because asking questions is only 50% about addressing your needs, explaining the role to you, and satisfying your curiosity. The other 50% of asking questions is showing your capability to think critically about the company, the industry, and the role. Use that time to show off your good noodle by asking (brief) insightful questions.

And because I like you, here are ten questions that are good for almost any interview, plus a bonus question that will really make you stand out:

  1. What’s the biggest change your group has gone through in the last year?
  2. One year from now, if I get the job, what will earn me a “gold star”? What are the key accomplishments you’d like to see in this role over the next year?
  3. What’s your (or my future boss’) leadership style?
  4. About which competitor are you most worried?
  5. How do your sales / marketing / / operations work here?
  6. What type of people are successful here? What type of people are not?
  7. What’s one thing that’s key to your success that somebody from outside the company wouldn’t know about?
  8. How did you get your start in this industry? Why do you stay?
  9. What are your best and worst working relationships with other groups in the company?
  10. What keeps you up at night? What’s your biggest worry?

And here’s the bonus, my favorite, and the best way to really demonstrate how much value you’re going to add to your boss’ career:

How do you (Mr. or Ms. Future Boss) get a gold star / big bonus / your boss’ recognition & thanks at the end of the year? How can I best help you do that?

Why is this question so good? It shows you’re thinking about others, not just yourself. It shows that you want to be helpful and help the boss and the team achieve. And it gets your future boss thinking about how beneficial it is going to be to have somebody like you on the team helping them achieve their goals.

OK, Readers, that’s how you ace the interview. Good luck this week!

I’ll be rooting for you!

Original Article

Leave a Comment :, , , , , more...

Frequently Forgotten Fundamental Facts about Software Engineering

by on Dec.02, 2009, under Academic, Technology

SW Development

 

Robert L. Glass

 

This month’s column is simply a collection of what I consider to be facts—truths, if you will—about . I’m presenting this laundry list because far too many people who call themselves software engineers, or computer scientists, or programmers, or whatever nom du jour you prefer, either aren’t familiar with these facts or have forgotten them.

I don’t expect you to agree with all these facts; some of them might even upset you. Great! Then we can begin a dialog about which facts really are facts and which are merely figments of my vivid loyal opposition imagination! Enough preliminaries. Here are the most frequently forgotten fundamental facts about software engineering. Some are of vital importance—we forget them at considerable risk.

 

Complexity

C1. For every 10-percent increase in complexity, there is a 100-percent increase in the software �s complexity. That’s not a condition to try to change (even though reducing complexity is always desirable); that’s just the way it is. (For one explanation of why this is so, see RD2 in the section “ and .”)

 

People

P1. The most important factor in attacking complexity is not the tools and techniques that programmers use but rather the quality of the programmers themselves.

P2. Good programmers are up to 30 times better than mediocre programmers, according to “individual differences” research. Given that their pay is never commensurate, they are the biggest bargains in the software field.

 

Tools and techniques

T1. Most software tool and technique improvements account for about a 5- to 30-percent increase in and quality. But at one time or another, most of these improvements have been claimed by someone to have “order of magnitude” (factor of 10) benefits. Hype is the plague on the house of software.

T2. Learning a new tool or technique actually lowers programmer productivity and product quality initially. You achieve the eventual benefit only after overcoming this learning curve.

T3. Therefore, adopting new tools and techniques is worthwhile, but only if you (a) realistically view their value and (b) use patience in measuring their benefits.

 

Quality

Q1. Quality is a collection of attributes. Various people define those attributes differently, but a commonly accepted collection is portability, reliability, efficiency, human engineering, testability, understandability, and modifiability.

Q2. Quality is not the same as satisfying users, meeting requirements, or meeting cost and schedule targets. However, all these things have an interesting relationship: User satisfaction = quality product + meets requirements + delivered when needed + appropriate cost.

Q3. Because quality is not simply reliability, it is about much more than software defects.

Q4. Trying to improve one quality attribute often degrades another. For example, attempts to improve efficiency often degrade modifiability.

 

Reliability

RE1. detection and removal accounts for roughly 40 percent of costs. Thus it is the most important phase of the life cycle.

RE2. There are certain kinds of software errors that most programmers make frequently. These include off-by-one indexing, definition or reference inconsistency, and omitting deep design details. That is why, for example, N-version , which attempts to create multiple diverse solutions through multiple programmers, can never completely achieve its promise.

RE3. Software that a typical programmer believes to be thoroughly tested has often had only about 55 to 60 percent of its logic paths executed. Automated support, such as coverage analyzers, can raise that to roughly 85 to 90 percent. Testing at the 100-percent level is nearly impossible.

RE4. Even if 100-percent test coverage (see RE3) were possible, that criteria would be insufficient for testing. Roughly 35 percent of software defects emerge from missing logic paths, and another 40 percent are from the execution of a unique combination of logic paths. They will not be caught by 100-percent coverage (100-percent coverage can, therefore, potentially detect only about 25 percent of the errors!).

RE5. There is no single best approach to software error removal. A combination of several approaches, such as inspections and several kinds of testing and fault tolerance, is necessary.

RE6. (corollary to RE5) Software will always contain residual defects, after even the most rigorous error removal. The goal is to minimize the number and especially the severity of those defects.

 

Efficiency

EF1. Efficiency is more often a matter of good design than of good coding. So, if a project requires efficiency, efficiency must be considered early in the life cycle.

EF2. High-order language (HOL) code, with appropriate compiler optimizations, can be made about 90 percent as efficient as the comparable assembler code. But that statement is highly task dependent; some tasks are much harder than others to code efficiently in HOL.

EF3. There are trade-offs between size and time optimization. Often, improving one degrades the other.

 

Maintenance

M1. Quality and maintenance have an interesting relationship (see Q3 and Q4).

M2. Maintenance typically consumes about 40 to 80 percent (60 percent average) of software costs. Therefore, it is probably the most important life cycle phase.

M3. Enhancement is responsible for roughly 60 percent of software maintenance costs. Error correction is roughly 17 percent. So, software maintenance is largely about adding new capability to old software, not about fixing it.

M4. The previous two facts constitute what you could call the “60/60″ rule of software.

M5. Most software development tasks and software maintenance tasks are the same—except for the additional maintenance task of “understanding the existing product.” This task is the dominant maintenance activity, consuming roughly 30 percent of maintenance time. So, you could claim that maintenance is more difficult than development.

 

Requirements and design

RD1. One of the two most common causes of runaway projects is unstable requirements. (For the other, see ES1.)

RD2. When a project moves from requirements to design, the solution ’s complexity causes an explosion of “derived requirements.” The list of requirements for the design phase is often 50 times longer than the list of original requirements.

RD3. This requirements explosion is partly why it is difficult to implement requirements traceability (tracing the original requirements through the artifacts of the succeeding lifecycle phases), even though everyone agrees this is desirable.

RD4. A software problem seldom has one best design solution. (Bill Curtis has said that in a room full of software designers, if any two agree, that’s a majority!) That’s why, for example, trying to provide reusable design solutions has so long resisted significant progress.

 

Reviews and inspections

RI1. Rigorous reviews commonly remove up to 90 percent of errors from a software product before the first test case is run. (Many research findings support this; of course, it’s extremely difficult to know when you’ve found 100 percent of a software product’s errors!)

RI2. Rigorous reviews are more effective, and more cost effective, than any other error-removal strategy, including testing. But they cannot and should not replace testing (see RE5).

RI3. Rigorous reviews are extremely challenging to do well, and most organizations do not do them, at least not for 100 percent of their software artifacts.

RI4. Post-delivery reviews are generally acknowledged to be important, both for determining customer satisfaction and for process improvement, but most organizations do not perform them. By the time such reviews should be held (three to 12 months after delivery), potential participants have generally scattered to other projects.

 

Reuse

REU1. Reuse-in-the-small (libraries of subroutines) began nearly 50 years ago and is a well-solved problem.

REU2. Reuse-in-the-large (components) remains largely unsolved, even though everyone agrees it is important and desirable.

REU3. Disagreement exists about why reuse-in-the-large is unsolved, although most agree that it is a management, not , problem (will, not skill). (Others say that finding sufficiently common subproblems across programming tasks is difficult. This would make reuse-in-the-large a problem inherent in the nature of software and the problems it solves, and thus relatively unsolvable).

REU4. Reuse-in-the-large works best in families of related systems, and thus is domain dependent. This narrows its potential applicability.

REU5. Pattern reuse is one solution to the problems inherent in code reuse.

 

Estimation

ES1. One of the two most common causes of runaway projects is optimistic estimation. (For the other, see RD1.)

ES2. Most software estimates are performed at the beginning of the life cycle. This makes sense until we realize that this occurs before the requirements phase and thus before the problem is understood. Estimation therefore usually occurs at the wrong time.

ES3. Most software estimates are made, according to several researchers, by either upper management or marketing, not by the people who will build the software or by their managers. Therefore, the wrong people are doing estimation.

ES4. Software estimates are rarely adjusted as the project proceeds. So, those estimates done at the wrong time by the wrong people are usually not corrected.

ES5. Because estimates are so faulty, there is little reason to be concerned when software projects do not meet cost or schedule targets. But everyone is concerned anyway!

ES6. In one study of a project that failed to meet its estimates, the management saw the project as a failure, but the technical participants saw it as the most successful project they had ever worked on! This illustrates the disconnect regarding the role of estimation, and project success, between management and technologists. Given the previous facts, that is hardly surprising.

ES7. Pressure to achieve estimation targets is common and tends to cause programmers to skip good software process. This constitutes an absurd result done for an absurd reason.

 

Research

RES1. Many software researchers advocate rather than investigate. As a result, (a) some advocated concepts are worth less than their advocates believe and (b) there is a shortage of evaluative research to help determine the actual value of new tools and techniques.

There, that’s my two cents’ worth of software engineering fundamental facts. What are yours? I expect, if we can get a dialog going here, that there are a lot of similar facts that I have forgotten—or am not aware of. I’m especially eager to hear what additional facts you can contribute.

And, of course, I realize that some will disagree (perhaps even violently!) with some of the facts I’ve presented. I want to hear about that as well.

Robert L. Glass is the editor of Elsevier’s Journal of Systems and Software and the publisher and editor of The Software Practitioner newsletter. Contact him at rglass@indiana (dot) education; he’d be pleased to hear from you.

Reprinted from IEEE Software, vol. 18, no. 3, 2001, pp. 112, 110–111.

1 Comment :, , , , , , , , , , , , , , , , , , , , more...

[SOLVED] Microsoft SQL Server 2008 x64 Error: 15401

by on Nov.17, 2009, under Technology

I recently came across this within an Active Directory Environment where I attempted to add a domain user account to x64.

As you may see on the internet, the is in fact related to SID, but in my situation it was not the SSID of the user, but of the actual .  The instance of 2008 x64 is running in VMWare Workstation 7 and was created by cloning another VM.  This, of course, makes them identical, such that changing the computer name only results in what ‘appears’ to be disparite systems.  In a workgroup this shouldn’t be an issue, but once Active Directory is introduced, it gets wacky.  AD relies on SID’s, and thus, acts unpredictably when 2 machines / users / groups have the same SID.  This is further exagerated when SQL is involved, since it creates and / or stores its own SID for the user.

Here are the steps I followed to solve this issue:

  1. Remove the server running SQL Server from the domain.  Reboot.
  2. Verify the AD Computer Account has been deleted for the (on a domain controller).
  3. Run newSID.exe (found here) and change the SID of the server running SQL Server to a new random SID.  Reboot.
  4. Add server back to the domain and verify the account is created within AD.

Once I did all that, the user added with ease.

Good luck.

4 Comments :, , , , , , , , more...

Cannot upload large files into SharePoint v3

by on Jul.04, 2009, under Technology

1. Use Notepad to open the Web application Web.config file. By default, this file is in the following folder:

SharePoint Services 3.0
C:\Inetpub\Wwwroot\Wss\VirtualDirectories\ VirtualDirectoryFolder

2. Add the following section at the end of the web.config file in the respective site:

  <.webServer>
 <>
  <requestFiltering>
   <requestLimits maxAllowedContentLength=”1073741824“/>
  </requestFiltering>
 </security>
</system.webServer>

Where the number is in bytes.  This amount would allow you to upload 1024 MB (1 GB) and was calculated as follows (1024 B / KB * 1024 KB / MB * 1024 MB / GB).

Note This code sets the value of the maxAllowedContentLength property to 52428800. Therefore, the maximum file size of an uploaded file is 52428800 bytes. However, set the value of this property so that it is larger than the file that you are trying to upload. Also, set the value of this property so that it is larger than the maximum file upload size that you have configured in SharePoint. If you do not, users will not receive an message that they are exceeding the size limit if they try to upload a file that is larger than the maximum file upload size that you have configured in SharePoint.

Leave a Comment :, , , , , , more...

Ubuntu / RoundCube WebMail Domain Mismatch Issue – Internet Explorer – ERROR: Your Browser Does Not Support / Accept Cookies

by on May.16, 2009, under Technology

Introduction

When the domain in the URL of your RoundCube instance and the domain the page is actually being rendered from are different are different, you will recieve an odd message – your browser does not support cookies – from RoundCube.  My set up has an iFrame from one Domain redirecting to another, where RoundCube sits.  Why did I do that? Because the actual domain is ugly and my client requested the web login to their be the same as the actual domain their emails come from.

FireFox and Chrome allow the login to work fine, but not IE.

However, Internet Explorer does not allow cookies from a 3rd party domain (the second one in the iFrame) to be downloaded, and silently deletes them – measure I suppose – it is widely documented.  The only way to get around this is to modify the headers sent to notify the browser that the mismatch is intended.

Email Domain: emailDomain.com
Web Domain: webDomain.com
RoundCube URL: webDomain.com/webmail
IMAP Server: .emailDomain.com
Redirects: emailDomain.com redirects HTTP traffic to webDomain.com, emailDomain.com redirects SMTP traffic to webDomain.com

NOTES: emailDomain.com is basically just an alias. 

If you try to login through webDomain.com via RoundCube (actually type in webDomain.com/webmail) it will work, the cookies will match up and everyone will be happy.

If you try to login through emailDomain.com (which will open up webDomina.com/webmail in an iFrame) it will not work with Internet Explorer 7 or 8.

I added the following line of code to the first line of code (after the comments) within the index.php file.

file: /var/www/webmail/index.php (please note that webmail is where RoundCube is installed)

header(‘P3P:CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”‘);

1 Comment :, , , , , , , , more...

Microsoft Windows Server 2008 – Disk is Read-Only / Write Protected

by on May.13, 2009, under Technology

I recently installed a new into my running .  Everything worked fine, until I rebooted.  I tried to copy a file to the disk and recieved an that the drive, in my case E:, was write protected.  I don’t know how or why that happened, but the is fairly simple.  The steps are as follows:

  1. Open a command prompt (ie. Start > Run > cmd) with administrative privledges
  2. Type in the command: diskpart
  3. Run the command: list disk
  4. Look for the disk number that’s having the .  In my case I have a drive, a RAID 5 configuration (1 logical drive) and then the new drive, so it was DISK 2.  I will continue to use it in the example but note that yours may differ.
  5. Select the disk using the following command: sel disk 2
  6. Enter the following command: ATTRIBUTES DISK CLEAR READONLY
  7. Exit diskpart with the command: exit

Then test by copying a file or folder to the drive.  It should be fairly instantaneous, but worst case you may have to reboot (I did not, however).

That’s about it.  It would be interesting to know WHY this happened, but then again, does it really matter?

Good luck.

15 Comments :, , , , , , , , , , , more...

Ubuntu Mail Server – PostFix, DoveCot, RoundCube Authentication Error

by on May.11, 2009, under Technology

I’ve been dealing with this for the past 2 weeks, trying to authenticate to my IMAP (dovecot) over SSL (SASL). I continuously received errors for IMAP authentication. AtMailOpen did not work (and I cannot get it to authenticate correctly). So I tried RoundCube, which looks like a good mesh of functionality and aesthetics.

RoundCube installed great – easy and straight forward. Here is the error I received:

IMAP Error: Authentication for @thelambdas.com failed (LOGIN): “a001 NO Authentication failed.”

Warning: Cannot modify header information – headers already sent in /var/www/webmail/program/include/rcmail.php on line 951

There is very little to no solutions out there.  So I had to play with the configuration file and each argument, one by one (file: main.inc.php in the config directory).

Leave the username_domain field blank.  My , apparently, doesn’t require the full address, only the user name, for authentication.

From:
$rcmail_config['username_domain'] = ‘example.com’;

To:
$rcmail_config['username_domain'] = ”;

This solved the , and I’m able to log in using ONLY the user name (ie. username, not username@example.com).

Good luck.

6 Comments :, , , , , , , , , more...

How to Fix Windows Server 2008 Boot Loader

by on Mar.29, 2009, under Technology

If the boot loader to your machine gets corrupted or deleted for whatever reason, it really is a painstaking to get it fixed.  The boot loader to my machine got deleted somehow while I was resizing partitions.  After scouring the web, I could not find anything on rebuilding the boot loader for Windows .  All I could find were instructions to restore a Windows boot loader, but luckily, the process for is similar.

If you are getting a “bootmgr is missing” upon startup or something similar, repairing the boot loader will probably the .

Due to the lack of recovery tools on the 2008 installation CD, the boot loader must be rebuilt manually.

For this guide, I’m going to assume your installation has a drive letter of C:.

Insert the Server 2008 installation CD into your DVD-ROM.  Restart your computer and boot from the CD.

Choose to your computer, then open the command prompt.

At the command prompt, use the following commands:

c:
cd boot
bootsect /nt60 c: /force /mbr
bootrec /rebuildbcd

After using the “bootrec /rebuldbcd” command, you will be prompted to accept a Windows installation.  Accept the installation, then wait for the process to finish.  Once it’s done, reboot your comptuer and you should have a boot loader ready to go.

Leave a Comment :, , , , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!