Posts Tagged ‘Microsoft’Visual Studio 2010 web publishing issue with the .browser filesFriday, May 14th, 2010We moved a VS 2008 web site project to VS 2010, and when we did a publish using the “Publish Web Site”, somehow all the customised Adapter classes that we implemented within the .browser files didn’t get executed. After a very thorough investigation, especially after we looked into the App_Browsers.dll assembly through a reflection tool, we found out that the publishing process altered the controltype attribute in the .browser files from this: System.Web.UI.WebControls.Menu, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a to this: System.Web.UI.WebControls.Menu, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a It seems that App_Browser.dll file generator of VS 2010 is making a bad assumption even though the target framework is set to .Net 3.5. Because the web application is set to run on 2.0 framework, those control type is not matched. Fortunately, we’ve figured a work around which is by deleting the App_Browser.dll and the related .compiled file out of the bin directory after publishing, and copy the uncompiled .browser files back into the App_Browsers directory.
Apple iPhone won’t display in Vista’s Windows ExplorerWednesday, May 13th, 2009A quick post that may help a few people whose iPhone has suddenly disappeared from Windows Explorer. I use Vista Ultimate but I suggest this technique will work for XP and other Vista variants as well. Normally the iPhone appears like a camera to Windows Vista (albeit with a cute iPhone icon) which allows access to the phone’s Camera Roll. I went looking to pull the photos off my iPhone this morning only to discover that it wasn’t showing up in Windows Explorer as a device anymore. Quite certain it worked at one point but what can you do. The drivers that make the iPhone appear as a USB device are usbaapl.sys and usbaaplrc.dll. If your installing you should look for usbaapl.inf which is in C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers. More about this later. Connect your iPhone by USB, then open Windows Device Manager (right-click My Computer and select Manage). You may find your iPhone under “Universal Serial Bus Controllers”, where mine was, or possibly under “Portable Devices”. At any rate if your phone can sync with iTunes it will be in there somewhere. It should be called Apple Mobile Device USB Driver or something like that. When you find it, right-click and select “Uninstall” but don’t remove the files from the PC. There’s nothing wrong with the files (probably) it’s just the device registration that has become cactus. Once uninstalled disconnect the device and reconnect again. After a minute you should see the device registered correctly, iTunes fires up and Windows Explorer shows your iPhone as a camera again. Job done. My driver files were already in Windows\System32 directory cause that’s where drivers go, but the original files that ship from Apple can usually be found at C:\Program Files\Common Files\Apple\Mobile Device Support. If you deleted the files in the uninstall step when you shouldn’t have you can likely find them there, otherwise I would re-install iTunes cause I would guess they ship with the iTunes software though I can’t confirm that.
Microsoft Exchange 2003 Direct Push and the Apple iPhone 3GWednesday, July 16th, 2008Like any good technophile I picked up a new iPhone 3G on Friday the 11th and the very first thing I did when getting back to the office was to try to get my Exchange Server to do Direct Push. I have had some small frustrations from the wide distribution of documentation on the subject so hopefully this post will save someone some time. For the sake of simplicity this article will deal with the simple case of:
Frankly if your setup is more complicated than that you probably already know how to do this and aren’t reading this anyway. Moving right along… This is what you’ll need before you get started:
Background Direct Push works because the internet is slow. That’s the headline. Basically the iPhone will make an HTTPS connection to your Exchange Server’s “Microsoft-Server-ActiveSync” virtual folder (most likely on the default web site). It will hold each connection open as long as possible, or until some pre-configured timeouts occur. Should you receive an email during this open connection, Exchange will send notification down to the iPhone which will tell you that you have new mail. Simple as that. The reason it works is because the internet protocols were designed to not receive an instant response from the server when making a request (see “slow” above). Direct Push takes advantage of this extended open connection. To prevent your battery from draining in 25 minutes flat the chatter on the connection is kept to a minimum. It’s very clever. Before You Start If you have a Wi-Fi connection active on the phone it won’t work. Direct Push only works over the air (the 3G connection). This is because the Wi-Fi radio will kill your battery. With Wi-Fi enabled I believe the phone reverts to a pull model, based on observation, but I can’t confirm that. Setup Is your iPhone’s Wi-Fi off? Step 1. Router/Firewall Setup
Step 2. Domain Name Setup
Step 3. Exchange 2003 SP2 Setup
Step 4. Configure Your Users
Step 5. Configure IIS
Step 6. Test Your Server Setup
Step 7. Setup your iPhone
That’s it – should be up and running now. Send yourself an email and see. Troubleshooting In my brief time setting this up here are the places where you might come unstuck:
Helpful Links Some of the pages that helped me: Microsoft – Enterprise firewall configuration for Exchange ActiveSync Direct Push Technology Exchange Team Blog – Direct Push is just a heartbeat away Brian M Posey (Exchange MVP) – Microsoft Exchange Direct Push Technology (seems to be broken) Apple’s less that complete instructions (don’t worry, it’s Apple, it just works! Right?)
Microsoft Dynamics CRM 4.0 LicensingTuesday, June 17th, 2008With the release of Dynamics CRM 4.0 Microsoft has significantly changed their licensing model. The following information is a summary of the new facets as we currently understand them. Server LicensesThere are 3 flavours of Dynamics CRM 4.0 server as follows:
Client Access Licenses (CAL)The CAL situation has become somewhat more complicated with CRM 4.0. Not only are there the normal variations for per-Device and per-User but there are now 3 flavours of CAL:
Careful observation will reveal that a regular CAL is the same price as a Limited CAL + a Full-User CAL, so there is no penalty for starting with a read-only license and migrating to a read-write license at a later time. External Connector LicensesDynamics CRM 3.0 had 2 licensed elements: server and client, but Dynamics CRM 4.0 includes a new element – the external connector. An External Connector is needed when a number of users are going to connect to the CRM system to read or write data by way of another system. 5 Limes is often called upon to created SharePoint widgets and web pages that extract data from or deposit data into Dynamics CRM. In CRM 3.0 we would have used a single CAL to achieve this, but in 4.0 an External Connector license is required. At the time of writing the a read-write External Connector license is roughly 5 times the price of a single read-write CAL and the read-only External Connector is roughly 6.6 times the price of a single read-only CAL. So if you have 5 external users or fewer you are better off licensing them individually, but if you want to connect Dynamics CRM 4.0 to your web site you will need the External Connector. Server & CAL PacksThere is an option to buy Professional Server and 5 CALs at the same time, but there is really no difference in the price compared with buying them separately (at least there is negligible difference in the RRP). A note on Action Pack SubscriptionsThe version of Dynamics CRM that is made available through the Microsoft Action Pack is the Workgroup Edition. This edition is limited to 5 named users. In CRM 3.0 it was possible to purchase additional CALs when more users needed to access the system but in CRM 4.0 that is no longer possible. So if you are planning to deploy Workgroup Edition (through an Action Pack or otherwise) you should be aware that your 6th user is going to be expensive.
Microsoft Dynamics CRM 3.0 LicensingWednesday, April 30th, 2008A few pieces of interesting information regarding Microsoft Dynamics licensing that we have recently discovered:
Interestingly since Microsoft deems the “Action Pack” to be a subscription-based license you, as the client, do not actually “own” the license and therefore are not eligible for upgrade pricing either. When you hit the 6th/10th user (depending on your version) you will be up for the CRM Server license and as many CALs as you have users, since you cannot use the Action Pack CALs on a box product or volume license. This obviously makes the transition very expensive and while you can at least continue to use your Action Pack SQL Server it seems like this group have not been well catered to in the revised licensing model. By the way – Action Pack users are generally Microsoft partners – not the group I would have chosen to upset, but then they have more money than me… [UPDATE - With the recently released Microsoft CRM 4.0 there is all new confusion. See my new post on Microsoft Dynamics CRM 4.0 Licensing for more info.]
|
Archives
Tag Cloud |
