iis

Remote login to SQL Server Express 2008

Hey. I am remotely accessing SQL Server Express 2008. I have turned on service "SQL Server Browser" I have turned on service "SQL Server (SQLExpress)" I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties I can connect localy(using ip) so my credentials are correct. I have a exceptions record in my wi...

IIS Active Directory Login, But Run MSXML as Anonymous User

We currently use the MSXML.dll from Classic ASP for certain parts of our system. On a new site we want the users to be prompted for login using Active Directory. I have disabled "anonymous access" to the site and I have enabled "Integrated Windows authentication" and "Digest authentication for Windows domain servers". When going to a p...

Setting up development environment for ASP.NET MVC

I'm from PHP background. I used to use Apache, MySQL and PHP for web development. I'm just starting asp.net mvc. I've Visual Studio 2008 Pro SP1 & .NET 3.5 SP1 already installed on my computer. So, I installed ASP.NET MVC 1.0 Created a "ASP.NET MVC Web Application" project when I hit F5 it gives error Unable to connect to the ASP.NET ...

Proper folder location when creating virtual directories in IIS 6.0?

When creating new web sites with Visual Studio .NET, the projects are created at the default web site location, e.g. c:\inetpub\wwwroot\myapp. Likewise, when creating msi packages for such applications using a Visual Studio Web Deployment Project, a custom action will be used to determine the folder location of the default web site and t...

What's a cross-browser compatible way to right-align child divs and make the parent div get its width from the children?

I have a bunch of child <div>'s of variable width, which I want to right-align within a parent . I also want the parent <div> to be no wider than it needs to be to contain the children. (I don't know in advance how wide the children will be -- they'll contain dynamically generated content.) Here's an example that works correctly in IE ...

Multiple websites with SSL one application

I have written an ASP.NET MVC application that allows the user to specify their own custom domain. I have IIS configured to send all requests to the default website so I do not need to use host headers. Everything works perfectly. The only problem is SSL. I know this question has been asked multiple times in many forums but the answers ...

Slow first page load on asp.net site

Hi, Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net - it takes around 15 seconds to load the page (15 seconds before I see any progress whatsoever, then the page comes up fast). Further pages on that site, or refreshes, are quick as usual - they are also fast on oth...

Looking to set up some kind of cron-equivalent on my IIS server

I am currently working on setting up a system for my company using a classic ASP on IIS setup that is relying on data from a 3rd party API. Problem is the API responds extremely slow and all it sends is a large XML file or all data. Simple enough fix is to request is once a day and setup a database to store this info and have the app ...

Web site migration and differences in firebug time profiles

I have a php web site under apache (at enginehosting.com). I rewrote it in asp.net MVC and installed it at discountasp.net. I am comparing response times with firebug. Here is the old time profile: Here is the new one: Basically, I get longer response times with the new site (not obvious on the pictures I posted here but in averag...

Custom VirtualPathProvider unable to serve URLs ending with a directory

As part of a CMS, I have created a custom VirtualPathProvider which is designed to serve a single file in place of an actual file structure. I have it set up such that if a file actually exists on the server, that file will be served. If the file does not exist, the virtual content stored for that address will be served instead. This ...

What can I put in a .SVC file for IIS?

I'm trying to find a definition of the directives that can be put into the file, but can't find any particular reference? I know of http://msdn.microsoft.com/en-us/library/aa967389.aspx which specified @ServiceHost but you can also use @Assembly etc... But I can't find a definitive reference of what .svc is and what you can put in ...

Shared Server not supporting gzip.

I have designed a website in ASP and uploaded on readyhosting's windows shared server. I ask them to enable gzip option from IIS web server but they are no supporting. Is there any option to compress files over network? thanks, Rau ...

Running Python & Django on IIS

Is it possible to run Python & Django on IIS? I am going to be a Lead Developer in some web design company and right now they are using classic ASP and ASP.NET. As far as I can see ASP.NET MVC is not mature. Should I recommend Python & Django stack? If it's not possible to run Python on IIS what do you think I should do? Stick with ASP.N...

How to execute some initial startup code on a IIS hosted WCF app?

I'm trying to find a hook / way to run some initial code to wire up a bunch of things before a service is called. any ideas? ...

"Xml Parsing error" when trying to browse a SharePoint site

Well, I am getting this error "Xml parsing Error: No element found:" when I am trying to browse a SharePoint Site. THe SharePoint site is a pretty fresh installation, with no custom code running in the page. Any ideas on how to troubleshoot this? Update: Since it was a relatively fresh installation of SharePoint, i reinstalled sharepo...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}

Hi all, I am developing an application in ASP.NET 3.5. i am exporting data to excel file using some interops dll's. earlier i have developed the applicaion in Windows 2003 Server. at that time i could able to export the data to excel file. but recently i have upgraded my pc to Vista version.it is working fine in my localhost. when i d...

Determining IIS user for IIS 5

I'm writing a Wix-based setup for a web application and would like to set permissions on the folders it installs so that IIS can access them. IIS 6 and 7 use IIS_WPG and IIS_USRS respectively, and IIS 5 uses IUSR_COMPUTER NAME. If the user has changed their machine name however, setting permissions using the current computer name fails. ...

Network service vs AspNet (Asp.Net Machine Account)

I've a small asp.net application which write logs on the file system in a directory 'Logs'. I've given the modify permission to Asp.Net machine account for this folder which works fine. However when I tried to deployed it to the another server it doesn't work. I have to give the same modify permission to Network service account also. Wh...

Common cache for wcf services launched in different servicehosts

I'm hosting my WCF application with IIS. To serve some methods I need a reference to helper object which is heavily initialized. A good scenario is to initialise it once and put in a cache, then all requests just use the object from cache. How can I do caching? The easyiest way is to use static field of mywebmethod. IIS creates several ...

Grade D on Compress components with gzip

Hi, I used the YSlow Firefox add-on and it return the follow result: ----------------------------------------------------------------------------------------- Grade D on Compress components with gzip There are 3 plain text components that should be sent compressed * http://localhost:63808/WebSite/BemVindo/ * http://localhost:63808/Web...