Tag | IIS Posts

I had to resort to using the web installer as the CS MSI installer didn't work (threw error stating it could not find MDAC 2.7 or above - even though I'm running XP Pro SP2 which has the MDAC components built into it - duh!). Download CS 2 web install & unzip. Edit Installer\default.aspx - modify the line: bool INSTALLER_ENABLED = false;so the installer is enabled eg: bool INSTALLER_ENABLED = true; Using IIS admin, create virtual dir (eg 'cs') pointing to the 'web' dir beneath the installation. ...
The new SharePoint Adapter is now included with the install of BizTalk. Typically, in a production environment, the SharePoint site you will be interfacing with is not the same as any of the BizTalk servers. When reading through the documentation, installing the adapter webservice on a remote machine is not very apparent. Easy enough, just run the BizTalk install on the SharePoint box you might say. Well, it's almost that easy, but not quite. The first road block is the install wizard won't even ...
Not so long time ago I had a task to import messages from our NNTP Server to a sharepoint list. Importing itself is not difficult procedure - the problem is that then it is using a standard wss object model it substitutes process credentials instead of the credentials of the message author. As a result after importing - all messages has the same author, and, obviously it's not the thing that I was looking for. Below is example, the c# procedure which first I tried to use - private void AddListMessage(SPWeb ...
First thing you need to do is to make sure that IIS's security is not going to be blocking your calls to the BTSHTTPReceive.dll. To do this goto your IIS manager and click on the Web Service Extension node and right click it and 'Add a new Web Service Extension'. Now browse to the location of BTSHTTPReceive.dll (by default installation its in <drive>:\Program Files\Microsoft BizTalk Server 2006\HttpReceive\ folder). Also remember to check the 'Set extension status to Allowed' checkbox. It is ...
The following error may occur when trying to run/debug an ASP.NET 2.0 web app, when the web server is not configured properly: "Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information." This is usually caused because of one or both of the following problems: The directory the web app resides in has not been registered as a web application. The correct ...
Authentication and Access Control Diagnostics 1.0 (more commonly known as AuthDiag) is a tool released by Microsoft aimed at aiding IT professionals and developers at more effectively finding the source of authentication and authorization failures.These users have often seen behavior from Internet Information Services (IIS) that doesn't seem appropriate or random when users authenticate to the IIS server. The complex world of authentication types and the various levels of security permissions necessary ...
After installing WordPress (WinXP, IIS 5, MySQL 5.0.21, PHP 5.1.4) and going through the install, after logging in for the first time I got the error: "Directory Listing Denied". This was because IIS had not been configured to look for a default document called "index.php". To fix: Go into IIS admin Right click on the root dir where wordpress resides Select the Documents tab Click on Add... Enter index.php and click OK. Then you should just need to refresh your WordPress page in the browser. HTHTim ...
Well, technically its just day 2, but counting the UG Summit, Wednesday is Day 3. I blogged a bit earlier about the night before, so this is more of a recap for today in general. I was really looking forward to Derek Hatchard's talk on Open Source vs Team System for testing and building, but I heard he had a bout of the flu so it was cancelled (I saw him around later on in the day, so I hope you're feeling better man). Instead, I checked out Beth Massi's talk on datasources and databinding. Great ...
Ever get the following error? “It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.” And of course you don't want to spend all day going through the IIS MMC dialog boxes on a web server with a large number of applications. I put together a script to dump the script mappings which will tell you what the site is configured to run by looking at the ...

If your having trouble installing Trend Micro Client Server Messaging Suite 3 for SMB (Well more having trouble logging into the Dashboard, recieving an error message regarding activeX) make sure HTTP compression is turned of in IIS and make sure you remember to do an iisreset after you have turned it off...

If you need more info feel free to contact me, apologise for the quick post, have to get to bed am driving to sydney in 3 hours for CeBIT :D YAY!!!

table of contents Introduction. 3 Context. 3 Adapter Communication Patterns. 3 Implementation. 4 Design Time. 4 Runtime. 8 Registration. 9 Case study. 10 Conclusions. 10 Introduction So when actually you will think of writing a custom adapter? There are various BizTalk adapters developed by third parties that could be leveraged in your integration project. But what happens if the adapters available do not support the functionality that your solution requires? What if you have your own custom server ...
Welcome to my new blog, I will be posting information on items such as VB Scipting, .NET Development, Windows 2003 Server Troubleshooting, IIS Troubleshooting, and BizTalk, as well as what ever else I feel like. 
The marketing gurus at Microsoft singlehandedly support a half dozen Starbucks franchises, no doubt, as they prime their adrenaline pumps to concoct Yet Another Plug (YAP) for the virtues of the .NET Framework. "Write more functionality with 80% less code!", they shout. As a heartfelt idealist, I take these claims seriously, so I have been looking for evidence to support the yapping. Recently, I achieved a wondrous breakthrough that will cheer the Redmond lads and lassies and leave the Java crowd ...
When I debugging function that retrieved active directory properties, Visual Studio 2005 debugger show them as a collection , but not as an individual values. So I wrote function, copied from GetPropertyList function from LDAP, IIS and WinNT Directory Services article written by klaus_salchner [Conditional("DEBUG")] public static void PrintDirectoryEntryProperti... entry, string sComment) { // loop through all the properties and get the key for each foreach ...
This error (m_safeCertContext is an invalid handle.) occurs when you try to access a client cert (or a member of the cert) from a ASP.NET 2.0 application developed using VS2005 eg: X509Certificate cert = new X509Certificate(Request.Cli... certSerial = cert.GetSerialNumberString(); The error is thrown because no valid certificate is found. This can be caused by either: A problem with the cert. A common reason for this in a development environment is one of the cert properties ...
Live from Redmond! is a series presented to you directly by Microsoft product teams! No marketing hype -- just the technical details that you want to hear and need to know. Stay ahead of your peers by attending this exclusive series. #inetalive {background-color:#F1F1F1;} TD.DARK {BACKGROUND-COLOR:#ddd; font-size:1.5em;} Date Description April 12th5:30 pm PDT Crossbow – Building WPF and Windows Forms hybrid applicationsMike HenderlightWondering how to take advantage of the power of the next ...

A few times when I re-start debugging of my ASP.NET application from VS 2005 I received

"Unable to start debugging on the Web Server. The operation has timed out".

I had to restart IIS to fix the error. Not sure what causes this.

How many web casts can you take in a month. Here are 2 web cast series facilitated by INETA. One of them is done by UG leaders and the other one is done by products guys from Redmond. INETA Live! is a series brought to you primarily by user group leaders around the country that have exceptional material they believe would be good to share with other user group leaders. Don't miss these if you are interested in growing your own user group. Check out INETA page for this oneLive from Redmond! is a series ...
Localstart.asp is a default page on IIS installations. This page is protected by IIS using basic authentication. The problem with this is that if I am able to bruteforce the password, I know the password for the admin on the local box. This can be very bad since the attacker now knows the admin's password. If the box enables any network services, this is almost fatal. Even if this particular box does not have any network services, the attacker has an idea of how the admins is making up passwords. ...
Intermittent Web Services Error I have a proxy class that performs a large number of calls on a web service. It fails intermittently with the following error: System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protoco... ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protoco... (String methodName, Object[] parameters) ...
So Microsoft has posted this article for those who want to deploy Push email but this is interesting that I've noticed this today almost immediately after going through an online discussion with some of the security team at my end that has seen us decide (read - me capitulate under overwhelming numbers??) to try using Nokia's Intellisync to achieve push email. OK, I'm gutted, and not just because I've spent so much spare time over the last 9 months or so trying to line this up but the reality of ...
Out of the box, basic web project deployment is taken care of as soon as web port is configured in BizTalk application and MSI is exported. When running, this MSI will create web directory under default IIS web site and copy all files found in this directory on the build server. Now, what if we want to change physical location of web directory to be different from the build server, or limit set of files that must be deployed, or deploy precompiled web project (by source files get deployed)? There ...
As you may have read in a previous blog entry, several months ago I migrated my organization's existing .NET 1.x projects from Visual Source Safe to Subversion. As expected I ran into a few snags along the way, and one of which I'm thankful I encountered. It turns out that ASP.NET projects in VS.NET 2003 will not open if a directory exists with a name that begins with a period, as in “.svn”. This is bad because subversion clients use “.svn” hidden folders to manage items under ...
As promised in my previous post, here are the steps I executed to migrate .NET projects in VSS to Subversion: NOTE: These instructions will not migrate the file history from VSS. If you're interested in putting this history in Subversion, see the vss2svn project. Additionally, these instructions assume you've installed the Subversion server software, and you have a subversion client running on your workstation. DISCLAIMER: If these instructions don't work for you, don't blame me - though, I'd be ...
I install the Asp.NET 2.0 framework on a WinXp pro box. When I bring up the property page of a virtual directory, for some reason, I can't see the ASP.NET tab where you can config the asp.net version to either 1.1 or 2.0 So I have to use the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) to config my virtual directory to use asp.net 2.0 framework! The MSDN article is a pretty good help on this issue: http://msdn2.microsoft.com/... ...
It has been a long time since I blogged. The reasons- *ahem* laziness , procastrination etc etc. but now i am determing to get this going, as i am diving into some hardcore programming. As a starting note, I noticed that when you have a secure site hosted on an IIS 6.0 server, if you try to move from a non secure part of the site to secure site(i.e., from http to https) you might get your URLs appended with :80 . for example, http://www.xyz.com might become https://www.xyz.com:80/ which would give ...

Unless you run a lot of custom web applications on your SharePoint Portal there should not be any need for caching ISAPI extensions as SharePoint pages are handled by its own SharePoint services ISAPI filter (stsfltr.dll).

Enabling the cache ISAPI extensions would slow down SharePoint as this causes many unnecessary application extensions to be loaded into memory for all IIS web requests.

Windows Server 2003 Security Roberta Bragg 4 stars (out of 5) This book covers a wide range of security topics: authentication & authorization application security NTFS security and EFS (encrypting file system) active directory public key infrastructure remote access, IPSec, & SSL patching and support backups auditing & monitoring Three types of information are covered: background on how security technologies work, how to implement security, and management processes. The book works best ...
While working on MS SQL Reporting Services, I came accross IIS Report Pack a set of 12 Sample Reports for Reporting Services. The Microsoft SQL Server Report Pack for Internet Information Services (IIS) is a set of 12 Microsoft SQL Server 2000 Reporting Services reports that works with a sample database of information extracted from Microsoft Internet Information Services (IIS) log files. This database can be populated with your own data using the Log Parser included with the IIS 6.0 Resource Kit. ...
I have been busy working on an ASP.Net 2.0 application for deployment to what has up until now been 1.1.x IIS server only. I used the new Publish to Web feature. I thought “sweet” it is much simpler than some around the world deployment steps I had to go through before due to the nature of my work's network and my (lowly) permissions. After depoloyment, I go to test the site, and it fails when readinig the config file. At fist I assumed the network guy had not installed 2.0 frame work ...
Okay I got the sample to work. Some of the issues I ran into had nothing to do with the poor documentation. Not. Any for those of you like me that needs more spoon feeding here it goes. Okay here is what the sample does. Simply consume a secure web service that is signed using X 509 certificate. So use the WSE 2.0 SP3 to sign your web service. Then test it with a test harness that progmatically sends the client information back to the web service. If you don't it should fail. Now go to the BizTalk ...

This one is a tweak to ensure that you are able to Administer your ASP.NET 2.0 web-site *without* installing Visual Studio 2005 on your IIS Server.

How to use Web Site Administration Tool without installing VS 2005

What Happen? Recently in our company me and my colleage converted our ASP.NET application from v1.1 to v2.0. The conversion process was as smooth as apple-pie, and as soon as everything checks out just fine on our development machines(winxp), we decided to upload the app. to our testenvironment(win2k3). After the upload, we noticed that some of the images stopped stopped showing up. “STRANGE”. The first thought that crossed our minds was: WTF ?!? Requesting a normal .gif file resulted ...
Some customers of our application have ISA Server that requires Proxy Authentication. When ASP.NET applcicationed called external web services (e.g. Google APIs) it caused the error: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). In .Net 1/1.1. it was required to set in code myProxy.Credentials = CredentialCache.DefaultCred... . Now in .Net 2. there is a new defaultProxy ...
I've been working with Membership Providers for quite some time and have gone ahead and used Membership Providers in a few internal project. However, I've just come accross a requirement which is particularly interesting (and Valid, to be honest). Here it goes - The Users need to be authenticated using integrated windows authentication. However, everything other than the authentication (their roles, groups, permissions etc. is maintained seperately in a custom database) and I need to use Membership ...
Manchmal habe ich den Eindruck dass es länger dauern kann eine Web-Anwendung zu installieren als sie zu implementieren :-) Es geht um folgendes Szenario: - IIS 6.0 mit Integrierten Windows Authentifizierung- SQL Server Verbindung mit Trusted Connection (SSPI) um das Eintragen der Credentials in die web.config zu vermeiden. Eigentlich ganz harmlos, oder? Man lässt die Anwendung in einem Application-Pool laufen, ordnet einen "low-priviledge" Benutzer dem Application Pool zu, und trägt ...
I have a Windows 2003 Server notebook I use for development. I have a dozen or so IIS 6 sites, and recently decided to place WSS on here for use with BizTalk Server 2006. Alas, the woes of WSS and hostile take-overs!!! I installed WSS on the Default Web Site, added all of my exclude paths in WSS for the sites I needed to continue hosting/developing, and ran into the infamous “Trust” and “Session State” issues. In summary I made the following modifications to resolve these ...
VS2005 can drag its heels, even just opening an innocent SQL script into the IDE can cause delays of around 20 seconds on my reasonably fast PC. I've not been able to resolve all these issues, but I do have 2 performance tips that can help generally (and I'll add more as when I find any!) Turn off HTML errors in the IDE if you don't need them. Goto Tools->Options, and then expand "Text Editor", "HTML", and click "Validation". Turn off "Show Validation". Favour IIS for your web apps rather than on-disk ...
This post discuss about general ASP.NET 2.0 application and page framework. Application Location Options- With ASP.NET 2.0 you have the options to create an application with followings: File System – uses Visual Studio 2005 development server Local IIS – uses IIS as web application server FTP Site Remote Site Page Structure Options – ASP.NET 2.0 provides two paths fro structuring the code of your application. Code Inline Model – All the code contained in a single aspx file ...
Many of us are aware that ASP.NET 2.0 provides a Website Administration Tool from where we can manage the settings for the web application.However, we can also manage the website settings from the IIS - Virtual directory settings.Steps1. Click "Start" and select "Run"2. Type "inetmgr" and press "Ok" or Hit "Enter"3. IIS Control Panel Opens.4. Expand the appropriate nodes to navigate to the Virtual directory of your application.5. Select the Virtual Directory and Right Click and select "Properties".6. ...
With the limitations of IIS, many of us face the headaches of switching between web sites many times. IISAdmin.Net is a good utility tool which enables you to create, manage and switch between multiple WebSites with IIS on Windows XP. This overcomes the limitation of working with only one website on XP-IIS combination.i.e. on XP-IIS there can only be one WebSite and there can be multiple application inside it. where as in IIS 6.0 on Windows 2003/2000 multiple Websites can be configured with multiple ...
Visual Studio 2005 introduced a new model for developing ASP.NET Applications without requiring an IIS on the development machine. (In fact it has been for some time with WebMatrix, Cassini Webserver etc., but this is the full fledged Visual Studio Product that has come out with this feature). When we create an ASP.NET application using Visual Studio 2005 and try to run the application, we can momentarily notice the small Icon that comes in the Right bottom corner of the system. It is actually the ...
I've always been a HUGE promotor of using tools to drive process and when TFS Beta 3 was released I was one of the first ones who decided to lay hands on it and give it a shot. I've never been able to make it work however, untill today! I went through the whole cycle of having setup detect missing pre-requsites multiple times (the price you pay for not having the patience to read the documentation :) ). Here's the process I followed this time: I started off with installation of IIS - followed by ...
You may receive the error "The request failed with HTTP status 401: Access Denied." when trying to access a Webservice from your ASP.NET Application. This normally indicates that Anonymous access has been disabled for the Webservice. Also, when you try to step into the webservice using the Visual Studio debugger, "Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicates that debugging has not been enabled on the server. See help for more information" ...
IIS 6.0 includes health monitoring for IIS worker processes (w3wp.exe). Unfortunately, from a .NET developer's perspective, this isn't very useful, and is actually less useful than the health monitoring done by ASP.NET when using IIS 5.0. IIS 6.0 can monitor for several unhealthy conditions: too much memory consumption, excessive CPU usage, and non responsiveness (failure to echo pings). There is also this concept of orphaning, where the unhealthy process isn't terminated, it just isn't sent any ...
In my inaugural post, I described a problem I had with a WebMethod erroring out instantly on the client, accompanied by a puzzling message in the Event Log, regarding viewstate. On a whim, on that site, I decided to “publish” the website from within VS 2005 to a separate directory. I set up another virtual directory within IIS to point to that directory, loaded up the site and IE, and all my WebMethod calls were working! From IE6, that is. From FireFox, none of the calls work on the published ...
With the new version of ASP.NET 2.0, I've been quite impressed with the variety of training material that is available to use to learn. There's webcasts, online tutorials, video lessons, online books, virtual labs and books from Wrox or Microsoft. There's nothing like getting your hands dirty after you learn something new and work on a small project to make sure what you learned works for you. For me, I like the Wrox books to learn new things. Presently, I've been reading Beginning ASP.NET by Chris ...
I am writing this after a failed initial attempt to install Microsoft Business Scorecard Manager Evaluation Kit. My problems started because I tried to fly by the seat of my pants using the 5 DVDs that should have combined to form a usable BSM environment. Unfortunately, not quite everything you need is included and part of my problems had to do with the use of evaluation software. Also, there are still some legacy requirements left over from the original development of BSM that used SQL Server 2000 ...
First, sorry for delaying this for few hours, you'll know the reason behind this later in this post. As you might or might not know, I couldn't sleep last night, hey, man. It's the MDC! However, I believe today started for me at 6:15 AM when I finished my dressing, and called 2 geeks to awake. I later went to Ramsis ( a famous district in greater Cairo), and waited for the rest of the gang, ArabTeam2000 ! :-D. We were just 8 of us that we put ourselves in a couple of taxies and moved ahead to the ...

Here is a link to the PPT of my presentation: [updated with a link to SQL Mobile IIS Set up Instructions]

http://miss.coba.usf.edu/SQL Mobile Feb 4th 2006.ppt  or http://miss.coba.usf.edu/SQL%20Mobile%20Feb%204th%202006.ppt

Thank you all for coming and please email any follow up questions to: campusKoder (at) hotmail (dot) com