NK-Inc.com
PDF Programming Tutorials

PDF Programming Tutorials

Programming Dynamic PDF forms using FDFToolkit.net

Tags: , | Categories: Web Presence Posted by NicK on 8/17/2008 3:57 AM | Comments (0)

We recently ran into a situation where a client was unable to use the FDFToolkit.net 2.0 component on a remote server. It worked fine on the testing server.

The error was:

System.Security.SecurityException: That assembly does not allow partially trusted callers

I looked up the error, and found out how to allow the server to trust our component.

SOLUTION: 

Since we have the source to our component, as well as the iTextSharp component all we had to do is make some minor changes and recompile.

We opened our sources, and inserted the following line into the AssemblyInfo.vb files for both FDFToolkit.net and iTextSharp:

< Assembly: System.Security.AllowPartiallyTrustedCallers() >

And we made sure the component has the full version information hardcoded in the assemblies.

< Assembly: AssemblyVersion("2.0.0.0") >

Recompiled both components, and the error message dissapeared.

Here's a link to iTextSharp & Partially Trusted web hosts solution: 

http://www.jwc3.net/2008/07/itextsharp-will-not-run-in-partially.html

Tags: , | Categories: Web Presence Posted by NicK on 8/6/2008 2:26 PM | Comments (0)

I recently had a project, using ASP.net 2.0, and manually submitted the site to Yahoo!, MSN, Google. The whole domain placed well on Google, and MSN, but, it seemed we were lacking placement on Yahoo!'s search engine results.

We purchased a paid subscription to Yahoo! Submit express, $50 per domain per year, to diagnose the problem, but we were still lacking hits. I ran a search at Yahoo! for the whole site, it came up with the correct titles, but, the descriptions were not our META descriptions, they were just random text from the content of the pages. I looked at our META information from the HTML page, and the server side META tags were creating an extra parameter, "ID", since it was set to runat="server". I was doing this so I can control the TITLE, DESCRIPTION, and KEYWORDS from within the modules.

Anyway, I fixed the problem, by creating each META tag on the page itself, instead of loading it from the code behind.

The site is now ranking very well on Google, MSN, as well as Yahoo!

Useful links:

 

Tags: , | Categories: Web Presence Posted by NicK on 7/28/2008 3:07 AM | Comments (0)
Search Engine Web master tools
Other Web Master Tools

 

The most useful tools would be the Meta Anayzer, in conjunction with Google Tools. The Meta Analyzer can ultimately inform you if the web site content and meta information are not relevent. Google's web master tools can easily help determine help submission to Google.

Yahoo's paid submission is good, but I recommend only submitting the home page. Yahoo's paid submission crawls your url every two days, and it costs $50 per url / per year. Yahoo's tools allow you to see your web page's META information as Yahoo sees it. This is useful if your site isn't being crawled correctly. You can submit a maximum of only 5 urls per domain using Yahoo's paid submission.

Live's free submission tool, and Google's submission tool allow you to submit a site map, but Live's site map submission only allows you to submit a sitemap XML url in your home directory of your domain.

Beware, over use of keywords can lead to penalized rankings. Use keywords in normal sentences, and do not bloat your TITLE tag with multiple instances of one keyword. Use only one keyword instance in the TITLE. Overuse of keywords, whether in the body or META data, can cause search engines to lower your rankings. Also, make sure all your keywords are listed in the description, and body content of your web page.