Does Dacpack supports sqlcmd variables?

   I have a got a question from a customer want to use dbdacfx provider with Web Deploy 3 which is working fine and only failing with  sqlcmd variables with below error?  And the Question was Does Dacpack supports sqlcmd variables?       Ref dbDacFx Provider for Incremental Database publishing  http://www.iis.net/learn/publish/using-web-deploy/dbdacfx-provider-for-incremental-database-publishing   And the…

0

How to block certain client apps or browsers from accessing a web App in IIS?

 I got a question from one of my colleagues asking how to block certain client application or browsers from accessing a web App in IIS ? The Question was raised at first from a customer have already disabled Active Sync and still his users can access through 3rd parity Applications like Cloud Magic https://cloudmagic.com and still…

0

Why can’t place an ascx file in the App_Code folder?

When a developer creates a user controls (ascx files); it is not allowed to put it in the App_Code folder. Before we answer this lets quickly remember the value of App_Code folder: it is just one of the web site project folders that can store source code BUT its content would be automatically compiled at run time. And…

0

IIS8: What is the problem that CCS (Centralized Certificate Store) resolved?

Securing sites is already a mandatory step in many businessas usually it is saving sensitive data and documents. Moreover, with cloudhosting, server capacity must be added and removed dynamically. Before WindowsServer 2012, there were a couple of obstacles must be considered : Scalability: We can only use one certificate for one IP:Port combination only. Manageability:…

2

Don’t add special bindings for FTP site

Shortly if you add bindings for ftp site, it will start to show abnormal behavior. You may not be able to browse it by IP address or name. You may see error 530  530-Valid hostname is expected.  Win32 error:   No such host is known.  Error details: Hostname didn’t match any configured ftp site.530 End   To resolve that…

4

IIS Users Must Be Admins

IIS Users Must Be Admins otherwise it is not supported.   I have heared this question. why developers who are not admins are not able to open IIS manager and host their applications. The Answer is You MUST be admin to access IIS.  That’s not supported starting from  Windows 2003 (IIS 6) and so not expected to continue…

1

Web Developer Checklist

I wanted to quickly share with you this great checklist from the IIS\Asp.Net Team. It is hosted at http://webdevchecklist.com/asp.net/  Best practices Fix broken links◄ W3C link checker iWebTool Broken Link Checker Spell-check◄ HTML Spell Checker for VS2012 HTML Spell Checker for VS2010 Spell Checker for VS2010/2012 Check website in all browsers◄ BrowserShots.org Browserling.com Spoon.net Remove…

4

URL Rewrite redirection rule to redirect Http To HttpsVirtual Directory

Very nice new feature in URL Rewrite is building very flexible  rules for redirection.  Because we can  set only 1 URL for redirection in IIS 7.x so URL Rewrite can help setting multiple rules and here is very good example we have multiple OWA  Webs Apps on exchange box and each one is configured with…

0

Server Side Solution (IIS7.x) For Download failure in IE

If you have problem downloading some files extensions in IE specially IE 8 and different errors like the below    In case you want to solve the issue from client side, you could create the following registry-key: [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings] (DWORD) “BypassSSLNoCacheCheck”=1 As discussed in the following KB: 815313 Prevent caching when you download active documents…

0

Very Long Running Threads because of GC.Collect();

Hello again with a new post for  ASP.net  application was inetrmitently hanging because of GC.Collect(); From the dump there was:   Long Running Threads Thread 52 and 81 taking so long time 3025 and 984 sec consecutively 0:000> !aspxpages Going to dump the HttpContexts found in the heap. HttpContext    Timeout  Completed     Running  ThreadId ReturnCode   Verb RequestPath+QueryString…

0