Tag | IIS Posts

Step 1 - Install assembly to the GAC

Step 2 - Add to Safe Controls in Sharepoint's web.config

Step 3 - Upload .dpw file into Sharepoint

Step 4 - Restart IIS (might not be needed, but just to make sure)

This *should* be all you need to do...for some reason I'm still hitting up with some errros though...

D

My customer has a requiirement for simple wizard style (ie Next>>Next) navigation Typical Example would be to enter details for a purchase order header, then to press "Next" and the user is taken immediately to the window for adding lines. Investigation I found number of ways to manipulate the navigation options of a SharePoint edit form page these being: 1) You can add a source querystring parameter to the url of the first page. This allows you to enter details for the header and then get ...
Some Sharepoint and Front Page folks will no doubt be rejoicing over a beta that was quietly released last Tuesday afternoon. Front Page Server Extensions are now available for Vista and Longorn Server. I thought that perhaps this could open the door to developing ASP.NET 1.1 apps on Vista using Visual Studio 2003, so I decided to do a quick test. You see, VS2005 is very versatile as to how it can open webs, but when Visual Studio 2003 opens a web site, it can only use FPSE. And the lack of FPSE ...
I've tried to investigate slow load of UpdatePanel. It works quick enough in FireFox, slow in IE 7 and even more slower in IE6. I found a few related links: In production make sure that <compilation debug="false"> is in your web.config(tip from http://forums.asp.net/threa... Delayed load with an UpdatePanel and similar post. The top 10 mistakes when using AJAX recommends do not put everything in a UpdatePanel. "Are you making these 3 common ASP.NET AJAX mistakes?" suggest to use ...
At my Calgary Code Camp presentation on ASP.NET, the subject of compression came up. We were talking about the benefits of using CSS adapters to reduce the amount of markup that gets sent over the pipe and someone in the audience commented that IIS compression was also something that had worked well for them. I found this excellent post on Scott Forsyth's blog talking about how to enable it in IIS 6, and its not as trivial as simply clicking a checkbox. There's edits to the Metabase that need to ...
The team over at IISinformation.com has a great article on how to setup / configure compression on IIS 6.0

http://www.iisinformation.com/content/IIS60CompressionWalkThrough.aspx
Just about to start into JP Boodhoo's presentation on Monorail, which I'm actually very intrigued ot hear about. My session went really well, I'm pretty happy about it. I messed up on having too many folders with trial projects around...stalld the presentation for a bit...but I was able to get past it and we had some great discussion. Thanks to everyone that came out to my session! I brought up the use of CSS generated controls, and someone in the audience brought up how IIS 6 has an option (apparantly ...
1. Implement Forms Authentication and Authorization in Web.config <system.web> <authentication mode="Forms"/> </system.web> <location path="<filename or relative path of the folder>"> <!--e.g. PublishedFiles\Category1, or PublishedFiles\Category1\fi... <system.web> <authorization> <deny users="?"/> <allow users="*"/> </authorization> </system.web> </location> 2. Ensure that there is an entry for .htm/.html in IIS ...
I have a .Net remoting application, that often reports System.Runtime.Serializatio... "The input stream is not a valid binary format. The starting contents (in bytes) are: xx-xx-xx ..." There area few threads about this error(e.g .Re: Error passing a large variable as a parameter to a remote method and Remoting / Serialization problem trying to Migrate to .NET 2.0 ) As it is correctly noted in the posts, IIS sends back an error message as plain text that the binary formatter ...
If you're running Visual Studio 2005 (with SP1), Vista, and IIS 7, you might have problems using your IIS Server. I got a nasty message: "You Must be a member of the administrator's group on the local computer to access IIS metabase ..." I found several sites with instructions, but they did not solve the problem, until I got to mvolo.com where he's addressing some other issues. However, steps 1, 2, and 3 solved my problem. If you run into the same error and can't use IIS 7 localhost, Turn on the ...
If not, why not? You have a wimpy server that can't handle the increased load or you just enjoy slowing down your end user experience? As Jeff Atwood explains here and here, running HTTP Compression is like getting free bandwidth. We get a 66% reduction in file size for every bit of text served up on our web site-- including all the JavaScript, HTML, and CSS-- by simply flipping a switch on our web server. The benefits of HTTP compression are so obvious it hurts. It's reasonably straightforward to ...
It took me a while to come to this blog post from Bart. He wrote a very simple and easy to understand article on how you can invoke a workflow engine from a IIS / Self Hosted WCF service. This is very useful from the layered architecture perspective since most service-oriented systems will not have the presentation layer calling the workflow engine directly. More often than not (depending on the complexity of the system), you will want to inject a communication service layer in the middle to handle ...
I have finally turned my previous post in to a new article on Code Project. This article provides a definitive way to determine which version of IIS is installed, what IIS subcomponents are installed, and also if ASP or ASP.NET has been registered with IIS. This article provides a single class that encapsulates the various methods required for determining this information ...
A friend from the London .NET users group, Peter Ibbotson, on hearing that I had started looking into Cruise Control .NET for continuous integration said that before doing anything I should look at Zi Makki's blog about CIFactory, a master setup tool for creating a source code tree complete with various tools such as SubVersion, NCover, NDepends all hooked into CruiseControl.NET with NAnt as the build script automating the processing. Well, I've just spent a challenging but very satisfying day and ...
I've been recently looking for a way to expose web services without IIS (directly from my windows service). I found two ways of doing that: Windows Communication Foundation Web Service Enhancements 3.0 The first one (WCF) requires change of my application architecture so I decided to try the WSE 3.0; It can be downloaded from here: Web Services Enhancements (WSE) 3.0 for Microsoft .NET. I followed those steps: Step 1. I created an ordinary Web Service that looks like this:[WebService(Namespace = ...

If you haven't already download and install the Service Factory it really reduces the time taken to build and publish your WCF services to IIS letting you concentrate on implementing business logic. Unfortunately it doesn't come with any refactoring functionality.

 

A plea out to all those who are using ASP.NET AJAX with sites on IIS7, either under Vista or Longhorn Server: I've been battling a strange issue with ASP.NET AJAX on IIS 7 running under Vista. It's a site that was upgraded from RC1 to RTM, and works great under IIS 6. Have troubleshot it enough under IIS 7 to determine that if the AppPool has the Managed Pipeline Mode set to "Integrated", it fails, and if it's set to "Classic", it works perfectly. The error I'm getting is one that was common during ...
Here are a few scripts / stored procedures that most of the BizTalk newbies would love to know. These scripts are very useful in a development environment to clean up your MessageBox and Tracking databases. To clean up the MessageBox First create the stored procedure bts_CleanupMsgBox by running the sql script found in <BizTalk Installation Folder>\Schema\msgbox_cl... against your MessageBox database(BizTalkMsgBoxDb). Note that your BizTalkMsgBoxDb database will already have a dummy ...
Thank God I don't have to install Visual Studio 2003 onto Vista. Well, that may be a bit premature. I have to make sure that debugging and the like will still work. But I don't see why it wouldn't. So yes, it does turn out that you can work on .NET 1.1 projects in Visual Studio 2005 with a couple of project templates called "Everett Compiler". The Everett Compiler project templates include Console Application and Class Library templates that use a custom MSBuild .targets file that directs the compiler ...
[reposted] I'm one of the few people who doesn't use MSN Search nor the Google Search toolbar but I happened across the IFilter.org web site today. It's maintained by Scott Stonehouse, who I went to University with, and he created it when he couldn't find ifilter information in a single spot. Apparently the IFilters will work with IIS Index Server, Sharepoint, SQL Server, and Windows Indexing Service and are used to index file formats in addition to the default types. So if you're looking to index ...
Yesterday I needed to implement (quickly) a mechanism of dynamic invocation of a web service. I called a Web Service using HttpWebRequest and gathered the response stream. I didn't know the description of the WS (WSDL) in design time. I added some configuration mechanisms to my application tha allow me to change the invoked web service without necesity of recompilation (I will show only the mechanics of WS invocation). How did I invoke this: Step 1. My Web Service looks like this: [WebService(Namespace ...
Many of you that have been working with and paying attention to Exchange 2007 already know this - the new SMTP protocol has been re-written from the ground up as a separate component that is no longer dependent on IIS. Here is some more detail from DepLarge.doc - a guide on deploying Exchange 2007 in a large environment from Microsoft. New SMTP Transport Stack In Exchange 2007, the SMTP protocol is provided by the Microsoft Exchange Transport service (MSExchangeTransport.exe). In earlier versions ...
Possible Cause:- When you install IIS AFTER .NET 2.0 framework, the rights of the ASPNET user had not been set correctly. Resolution Repair (Uninstall if repair does not work for you) .NET Framework 2.0 Simply run the following from command line to reset the IIS registry settings for aspnet user. Usually framework directory for .Net Framework 2.0 resides under C:\WINDOWS\Microsoft.NET\Fr... References:- http://support.microsoft.co... http://forums.microsoft.com... ...
[IIS6] For IIS6 my recommendation is to use the IISCNFG.VBS script to export IIS configuration for your application once configured correctly on one server and then use the same script to import the configuration onto other servers in the farm. In fact, IISCNFG.vbs can be used to export the entire configuration for your server and allow you to restore (using /import) onto another IIS6 server, stripping the machine-specific encryption out of the metabase and instead encrypting with a password that ...
IISreporter 2.0 is now available. Go and download (www.iisreporter.com/dl). The free standalone version allows you to monitor the connections on your local IIS server. You can install on as many servers / machines you would like. A new IISreporter Command center version will be released in the next 2 weeks. I have closed the source code, but the older version v1.7 is still available at sourceforge.net (source) or download at iisreporter.com. The new version of IISreporter.com has been re-written ...
I have spent TWO(2) DAYS on this stupid error:An exception of type System.Security.Principal.I... was thrown. Additional exception information: Some or all identity references could not be translated.when reinstalling Microsoft Office SharePoint Server 2007 (MOSS 2007). Well, scouring to the ends of Google-land, I didn't find a solution. From what I found never included #3 step below. I finally figured that problem out myself. For all with this error:1. Delete/Remove all SharePoint ...
You may have encountered an error when trying to run a Cache Refresh from within a Business Management Application such as the Catalog Manager or when trying to run a Commerce Server Staging Project with Refresh Cache enabled on one of the following resources (Catalog, Marketing or Orders). Some of the errors logged to the event log could include a 404 error. Where is this SiteCacheRefresh.axd file that is being requested when a Cache Refresh is executed. The answer is that there is no such SiteCacheRefresh.axd ...
We have an ASP.NET application in production(running IIS6 on Windows 2003 server) that sometimes has ".NET Runtime 2.0 Error Reporting" due to exceptions in background threads. We wanted to ignore the errors(while we will fix the cause) and specified <runtime> <legacyUnhandledExceptio... enabled="true" /> </runtime> in application web.config(as it is suggested in MSDN). Unfortunately it didn't help- ASP.NET application still keep restarting, which causes "session expired" behavior.I ...
If Windows Communication Foundation .svc files show up in your browser as the textual content of the file rather than launching your service on XP SP2, (e.g. you get <@ServiceHost ...etc...>) your IIS Metabase may have been corrupted by previous beta installation of WCF. Download the CleanIISScriptMaps utility from the .netfx3 website and run it to fix the problem. Get it here: http://wcf.netfx3.com/files... Thanks to the blog entry of Wenlong Dong for this ...
Recently, someone sent me an email about my post on using managed code to detect the installed Framework versions and services packs. The posts were really just pointers to my article on The Code Project, but it did bring up an interesting topic. The question at hand really boils down into two separate issues: How to detect if Internet Information Services (IIS) is installed. How to detect if ASP and/or ASP.NET is registered with IIS. The best way to detect if IIS is installed is to look for the ...
All I can say is, "Wow!" I just looked at my blog and realized that I posted 34 posts for last month. I'm sure some of you may not think this is a large amount, but for me it represented the single busiest month of blogging since I started almost a year ago. I don't know how busy I'll be blogging this month, but I know I will be busy. Here is my current list of projects (outside of real work, that is): Update my File Downloader component with asynchronous download support. Update my Framework Version ...
I often get questions from .NET developers on where they should host. If they should go with a dedicated server or virtual server. The major issue that developers have is the price. A shared hosting site is much cheaper than a Server. The advantages of the server are due to the ability to modify the settings of IIS and also the framework and security around applications. To get around that there are a few options. Many times a hosting provider gives the user a control panel to allow the end user ...
One of error I received while configuring "Windows SharePoint Services Adapter" for BizTalk Server 2006 is as follows - Error Msg - "The website selected is not configured with the expected ASP.NET version. The expected version is 2.0, the actual version is 1.1 (CWssadacfg)". I had both versions (1.1 & 2.0) installed on my box. When I opened IIS Manager to check the version of the selected website - I could not see the ASP.Net tab where you select the default framework version to be used for ...
My newest project at work, as a Web System's Analyst has been to evaluate, aquire, install and configure a Web Application for tracking Issues or Problems provided by Computer Services for 150 to 200 users. IssueTrak 7.0 by Global Support Software is a Web App consisting of SQL Server, Stored Procs, Active Server Pages, CSS, scripting. When you aquire IssueTrak, you also need SQL Server 2005 with the Management tool so you can manage the database, run scripts, and create and schedule jobs. I customized ...
We all know by now that .Net has a garbage collector, and have hopefully also learned about the 2 modes of GC and the proper use of Dispose() and object finalization. Great! So we took care of early as possible release of resources and maybe take advantage of some object pooling or some other memory reuse. Now we go ahead and write a whole bunch of code, but when we fire up performance monitor we see that the % time in GC is high, or spikes a lot, or that the application has occasional “hangs” ...

The first time you go debugging classic ASP scripts on IIS7 you'll just get errors that say "An error occurred on the server when processing the URL. Please contact the system administrator".

To see the real error, go to MMC and load the IIS Manager snap-in and go to your website. Double click on "ASP" in the Features View tab, drill down into Debugging Properties and change "Send Errors To Browser" to true.

Self signing SSL for IIS Many people have emailed me about how to setup and ssl on their development environment or internal sites without paying for a certificate. Here are the steps to secure your local IIS server (windows 2003) with a self signing ssl. You will need to download the IIS 6.0 Resource kit from Microsoft - http://www.microsoft.com/do... Install just the selfssl (or everything if you want to use the ...
Scenario I was trying to implement the requirement to use Kerberos to sign and encrypt the messages to and from a web service which was generated using the WSE 2 Web Service Publishing Wizard to expose a BizTalk Orchestration as a web service. Problem I had this all setup as I expected to work. The SPN and everything seemed correct but when I called it I kept getting the following error message: System.Web.Services.Protoco... Server unavailable, please try later ---> System.Security.SecurityExc... ...
Scenario We were trying to implement a delegation scenario similar to the one in the POC (Web Services using Delegation). While implementing this we came across the problem where we seemed to not be passing the clients credentials. We constantly got the IIS 401 Unauthorized return code. Symptoms In this example we got some of the following symptoms: In the IIS Log of the back end service there would be no credential specified. When calling the back end service locally on the machine where it sits ...
This post will provide an overview of the planned proof of concepts we have been working on to try and get this right. In this series of posts I intend to provide a step by step guide for setting up each of these scenarios. Or if there is a sufficient walk through already available I will point you to that. The proof of concepts I intend to cover are: Web Services secured with Kerberos This proof of concept aims to show we can create web services which can be secured with a Kerberos token. Web Services ...
Don't get me wrong. I think the world of BizTalk as a product. But, like any complex piece of software, there are one or two things that annoy me. I blogged a few weeks ago about the xpath() function, and the way BizTalk decides how to initialise an internal XmlSerializer instance based on the type of the variable to which you assign the xpath() result. If you type your variable inappropriately, your code breaks at run time with a problem that is difficult to diagnose. Another orchestration issue ...
This post will list some of the sources of information I have found useful during my "Kerberos Adventures" Recommended Reading To help you get up to speed quickly I would recommend checking out the following resources. There are additional resources below. Kerberos Delegation Troubleshooting Guide Pretty much walks you through all of setting up a delegation scenario and will tell you how to do each step and what is going on in relation to a good sample. http://www.microsoft.com/te... ...
I've just got my new laptop. Dell INSPIRON 6400 with 2GHz Intel Core 2 Due CPU, 2GB RAM, 256MB ATI VGA, 120GB HD, and had my Vista installed on it. Man, the REAL Aero is more than terrific. :):):) Much better than the weird eye classic one I had on my old laptop and caaaused pain to my eyes at least! I was considering installing only Orcas on this new machine as I knew it can open VS 2005 solutions without messing with them, but Dody just found out a bug that the project dialog does not open there ...
I often get questions from both administrators and developers on the best way to secure their sites. By secure they are almost always talking about SSL (Secure Sockets Layer - more info). They ask which ssl provider is the best? Is it hard to setup? What does it cost? Which of the cheaper providers are the best? Should I self ssl? These are all great questions and I think they are worth exploring. Lets tackle each of the above questions.1. Which provider is the best? There are a ton of ssl providers ...
As Vista gains momentum, and many of us get our hands on it - we're quickly faced with a question that not many seem able to answer. More disconcerting - there is nothing solid out there to provide direction. If I am a ASP.Net developer - I want IIS available for my development pleasure. More important, I will probably be using Visual Studio to crank out my applications. There is a lot of effort in the launch of Vista and the new Office products - but what about the development community? Especially ...
Nireen is one of my two dearest friends not only in the frield but in entire life. She works as a senior web developer in the IT dev. department of one of the biggest inernational telcommunication companies. Her department serves not only Egypt, but all the company branhe world wide. And they've only lately swiched their ASP.NET website development from ASP.NET 1.1 to ASP.NET 2.0!! Unortuantely, this is the case in many companies when you have to priotize compitability/maintenance/s... over ...
*Moved to: The trouble with IIS6, .pac files and DNSNow, I have, up until now, not had any experience with proxy servers. Well, to be honest, I still don't... But I do have some experience with IIS as I have been using it since the sad old days of NT4. Yes that's right, before Active Directory, The bad old days when domains were the work of a craftsman. Anyhoo, my brother David called with a little problem with .pac files for a proxy server. My first though was that I did not know a dam thing about ...
Had issues debugging a web application on Vista, it kept complaining that Integrated Authentication was necessary. So goggled around and came across this post on Rick's Strahl's blog, and decided to install VS2005 SP1. The VS2005 SP1 setup experience in my case was horrible. it ended up being a memory hog brought the machine down to near halt, and that was just the setup initialization. I would advise folks to run the setup overnight if all they got is 1GB of Ram on their Vista boxes/notebook. So ...
After you apply Team Foundation Server Service Pack 1 to an instance of the TFS Proxy Server, external access to the Proxy web site is denied. This is done with an IP restriction on the Team Foundation Server Proxy web site itself. I believe this is related to the pre-SP patch you have to install for quiesing the system, but not sure. Following the application of SP1 to the Proxy, I had to manually remove the IP restriction. Once the restriction was removed everything worked fine again. The symptom ...
For the sake of all the lost sheeps looking for information on setting up development environment for Windows Communication Foundation, understanding its overall architecture and learning the basics of WCF. I've compiled some very brief definitions to some of the common questions and it's accompanied resources that might get you going. About WCF:1. What is WCF and when will it be released?As it's name imply, WCF is Microsoft's version of All-In-One communication package, servicing all your Web Services/WS-*/WSE, ...