Web Application Startup Failures - Access is denied#

If you are getting "Parser Error Message: Access is denied: 'Some Assembly'." and "Source Error: < add assembly = < * > / >" sometimes when you are running your web applications it maybe because of index server. Here are some tips to sort it... Easiest being stopping Index Server.

http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

Care of http://blogs.wwwcoder.com/deepak/archive/2004/10/14/885.aspx

9/8/2005 11:37:00 AM (New Zealand Standard Time, UTC+12:00) #    Comments [0]  | 

 

Virtual Server 2005 Playtime#

Well I am about to begin my journey into VS.NET 2005 and SQL Server 2005 using Virtual Server to host my development environment. Here is a quick tip just incase you have some issues getting the server up and running.

When attempting to fire up the Virtual Machine Remote Control (VMRC) Server and you keep getting 'Virtual Server could not start the VMRC server. Another server may be using the selected TCP/IP port.' run the following command to check which application is hogging the tcp/ip port 5900

From Steve Radich blog Permalink
To display the listening ports on a server you can do (From a command prompt):

netstat -ano | find ""

For example the newsgroup post is about virtual server which uses port 5900. You could do:

netstat -ano | find "5900"

This would return something like:

TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING 320

You can then launch Task Manager and find that task ID. If Task Manager doesn't show the process id column then you can (in task manager) go to View - Select Columns - PID (Process Identifier).

Thanks Steve

9/2/2005 1:51:00 PM (New Zealand Standard Time, UTC+12:00) #    Comments [1]  | 

 

Installing the WSE 2.0 Sample Certificates #

If your trying to get the WSE 2.0 samples setup then you will find these links most helpful. I have been using these to get the “AsymmetricEncryption“ sample up and running on Windows 2000 Professional.

http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx

http://hyperthink.net/blog/PermaLink,guid,d453be63-5389-450b-8bae-81113fa188f4.aspx

I also found that on Windows 2000 Professional that there is no "Other People Store" and the advice to use IE to import the Public Portion of the Server key does not work. To get around this I simply added the “Server Public.cer“ to “Current User\Personal“ and the samples work as is with no code changes.

If you attempt to import the public portion cert “Server Public.cer“ to another location i.e. “Current User\Trusted People“ you will get policy errors such as “WSE405: A satisfactory subset of policy assertions that could be enforced for the outgoing message could not be found.“. This is basically caused due to the fact that the certificate specified in your policyCache.config can not be found.

Another handy tip is to ensure you have diagnostics policy tracing set to on, this will generate a “SendPolicy.webinfo“ file in your client bin directory with details of any errors. It will provide you with handy information such as:

<wset:message action="http://stockservice.contoso.com/wse/samples/2003/06/StockQuoteRequest" messageId="uuid:e8c0df94-bc61-4430-bcc6-a97fd4018192" appDomain="AsymEncryptPolicyClient.exe" time="2005-08-18T11:21:53.1093750+12:00">
<wset:compile qname="wsp:Policy" wsu:Id="#Encrypt-X.509" usage="Required" canEnforce="false">
<wset:compile qname="wssp:Confidentiality" usage="Required" canEnforce="false">
<wset:annotation>ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching is set to true in the token manager registered for this token type. A token will be loaded from the token manager and cached for subsequent message enforcement.</wset:annotation>
<wset:annotation>Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion from the token manager registered for this token type.</wset:annotation>
<wset:annotation>Could not find a security token.</wset:annotation>
<wset:annotation>Looking for a satisfactory token in the current message's token collection...</wset:annotation>
<wset:annotation>Looking for a satisfactory token in policy enforcement token cache...</wset:annotation>
<wset:annotation>ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching is set to true in the token manager registered for this token type. Attempting to use the previously cached token...</wset:annotation>
<wset:annotation>Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion from the token manager registered for this token type.</wset:annotation>
<wset:annotation>Could not find a security token.</wset:annotation>
</wset:compile>
</wset:compile>
</wset:message>

8/18/2005 11:14:00 AM (New Zealand Standard Time, UTC+12:00) #    Comments [0]  | 

 

BizTalk Deep Diving#

Well I am one of the lucky first one hundred people to attend the Quick Learn BizTalk 2004 Deep Dive training. John Callaway runs the course and has done a fantastic job putting the content together. If you can get on a course that isn't sold out I totally recommend it.

Go check out Scotts Woodgates blog for feedback from partners that have attended to date http://blogs.msdn.com/scottwoo/archive/2005/04/28/413101.aspx

http://www.quicklearn.com/deepdive.htm

4/22/2005 11:20:00 AM (New Zealand Standard Time, UTC+12:00) #    Comments [0]  | 

 

Background Configuration Display#

On a course I saw this very cool SysInternals tool being used on the class desktops that display the systems configuration information. Very nifty, new and cool, very geeky. Check it out.

http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml

4/21/2005 5:55:00 PM (New Zealand Standard Time, UTC+12:00) #    Comments [0]  | 

 

All content © 2010, Nikolai Blackie
On this page
This site
Calendar
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 1.8.5223.2

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: