Barter Co

August 12, 2009 by Joe Bailey   Comments (0)

the barter, of, our, to, Barter Co

Projects

About Barter Co

  • The Barter Company (TBC), with offices in Georgia, Florida, and South Carolina, was founded in 1996. It is a recognized leader in the barter industry and is the largest and fastest growing barter exchange in the Southeast.
  • TBC is headquartered in Atlanta, Georgia and has over 8,000 square feet of office and showroom space. Our team of highly-trained professionals has over 50 years combined experience in the barter industry.
  • Through our barter network, TBC uses state-of-the-art technology to facilitate our clients,  buying and selling needs.
  • TBC has developed, throughout the country, reciprocal agreements with other barter exchanges

To visit Barter Co, please go to http://www.barterco.com

 

replace is an unknown xslt function

August 1, 2009 by Joe Bailey   Comments (0)

replace is an unknown xslt function, use the, for, function, the, use

I'm working client side and found that I couldn't use the replace function in the xslt value arguments. For all of those looking for a workaround, you can use the translate function. To find out more, please visit http://www.w3.org/TR/xpath#function-translate

 

What is my mail server's IP address?

August 1, 2009 by Joe Bailey   Comments (0)

Every once in a while, I'll send an email to a client of mine with Yahoo email and I receive an error message. The error message is below. What I found out is that I have to report it to Yahoo and they may clear me. Not sure how long this will take or even if it will work, so I'll find out soon enough.

So, to file the complaint, I was sent to this Yahoo address for 421 errors: http://help.yahoo.com/help/us/mail/defer/defer-06.html

Once there, I filled out some information, mostly about the email. But, one thing hung me up for a little while. How to get my mail server's IP address. It only took a minute, so here's how to get your mail server's IP address.

1. In Windows, click on Start | run
2. Type in the text cmd then click on the OK button.
3. You should now see a small black window with white text.
4. In that box, type in ping mail.yourdomainname.com (fill in yourdomainname.com with your domain name)
5. Hit enter
6. If this works, you will see the IP address of your mail server.
7. To close the window, type in the words exit, then hit enter.

Here's the error message:
Could not deliver message to the following recipient(s):

Failed Recipient: xyz@yahoo.com
Reason: Remote host said: 421 Message from (xyz) temporarily deferred - 4.16.50. Please refer to http://help.yahoo.com/help/us/mail/defer/defer-06.html

-- The header and top 20 lines of the message follows --

Received: from IMAIL2 [1.1.1.1] by x.x.x with SMTP;
Wed, 12 Mar 2008 07:21:52 -0500
Received: from syx [1.1.1.1] by x.x.x with ESMTP
(SMTPD-8.22) id AB9C0D58; Wed, 12 Mar 2008 06:16:44 -0500
From: "person a"
To: "'person b'"
References: <010401c8839a$1f5b2b90$5e1182b0$@bailey@bluecreekweb.com> <551043.95195.qm@web53004.mail.re2.yahoo.com>
In-Reply-To: <551043.95195.qm@web53004.mail.re2.yahoo.com>
Subject: RE: New Order
Date: Wed, 12 Mar 2008 07:16:43 -0400
Message-ID: <000001c88432$8dfe1790$a9fa46b0$@bailey@bluecreekweb.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0001_01C88411.06EC7790"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AciDoLveNFKaJDfJSpGamAweiCoPMgAkcCdg
Content-Language: en-us
X-Declude-Sender: joe.bailey@bluecreekweb.com [97.80.142.6]
X-Declude-Spoolname: Dbb9c02210000d12b.smd
X-Declude-RefID:
X-Note: Outgoing Scanned by IMail.GlobalWeb.net 4.3.64
X-Scan: Score [0] at 06:16:52 on 12 Mar 2008
X-Fail: Whitelisted
X-Country-Chain:

This is a multipart message in MIME format.

 

CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement

August 1, 2009 by Joe Bailey   Comments (0)

How did I get this? I forgot to put the () at the end of a response.end while in c#. I'm slipping every once in a while. At the current time, I'm switching back and forth between VB.NET, C#, classic ASP and Cold Fusion. Sometimes, I forget where I am :)

 

A severe error occurred on the current command. The results, if any, should be discarded.

August 1, 2009 by Joe Bailey   Comments (0)

severe error message

Error message:
A severe error occurred on the current command. The results, if any, should be discarded.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: A severe error occurred on the current command. The results, if any, should be discarded.
A severe error occurred on the current command. The results, if any, should be discarded.

Error Message in DB:
The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security context. This scenario is not supported. See "Impersonation Overview" in Books Online.

Solution:
Implement coding workaround, non-dba issue.
Issue: Web.config setting for connection strings "Connection Reset" does not work for newer versions of .NET2.0. This issue starts once .NET 2.0 SP1 or greater is installed on the application server machine. You'll have to change your code where you are impersonating someone.

Immediate solution:
In your web.config database connection string turn off pooling, Pooling=false;

 

An error occurred on the server when processing the URL. Please contact the system administrator

August 1, 2009 by Joe Bailey   Comments (0)

IIS 6, error messages

Ok, have a client. The live site is running fine. I went to develop locally on a new laptop running IIS 6. Browsed through the site locally, then hit the following error message:An error occurred on the server when processing the URL. Please contact the system administrator.
I couldn't figure it out, and why did I see this generic message. To resolve it took some time, but here's what I found:

  1. Open up IIS 6
  2. Choose your site. I have multiple sites set up on different ports
  3. Look at the "IIS Home" for this site.
  4. Double click on the ASP icon
  5. Expand "Debugging Properties"
  6. Change "Send errors to browser" = true
  7. Reload your page.

Here's the new error:
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/xyz/zzz.asp, line 4

The Include file '../1243.asp' cannot contain '..' to indicate the parent directory.

I tried to make a quick fix with some other options, but it didn't work. Again, it's another setting in IIS 6. Here's the workaround.

Here's the reason: By default, the Parent Paths option is enabled in IIS 5.0, but it is disabled by default in IIS 6.0.

http://support.microsoft.com/kb/332117

Note: I could not recreate the steps below. For me, I had to go back to the ASP Icon and look under the category "Behavior." There I found the option to "Enable Parent Paths."

WORKAROUND
To resolve this problem without changing the application: 1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
2. Double-click your computer name in the left pane, and then double-click Web Sites.
3. Locate the Web site and directory that houses the ASP application.
4. Right-click the application site or directory, and then click Properties.
5. Select Home Directory, and then click Configuration.
6. Click Options, and then click to select the Enable Parent Paths check box.
7. Click OK two times.

 

Combining Multiple Blogs

July 30, 2009 by Joe Bailey   Comments (0)

Combining Multiple Blogs

Latest News

Every month or so, I get the urge to create a blog. After all, it only takes a couple of minutes, it's too easy. As with every blog, I've added Google Analytics and Google Adsense just to see what will happen. Well, I haven't kept up with those blogs on a daily basis, but I consistently receive visitors. So, I've made a couple cents here and there. Then it dawned on me, if I combine them into one blog, will that increase my visitors and page views? So, that's the latest thought. I'll test it out and see what happens.