iis

How to move an ASP .NET application to a Web Server?

Hi, I have an ASP .net Web Application already deployed on my local machine (virtual directory/IIS are configured). I used the Publish tool from Visual Studio. Now I want to move it to our Webserver (I have the IP adress and the appropriate credentials). How should I do this? EDIT By the way, I'm asking because I don't know if there...

Visual Studio creating IIS virtual directories when solution opened

Visual Studio is asking to create virtual directories in IIS when I open a solution. Could this be because projects within the solution have been configured to use IIS rather than Cassini? The dialog message is: "The local URI ... specified for Web project ... has not been configured. In order to open this project the virtual directory...

installing and configuring sql server and IIS for asp.net 3.5 database app [basic]

hi, I'm very sorry about this being a very cliché question, but I really need to understand some specific things. Everytime I add an sql server database in visual studio 2010 it creates a database under App_Data and then the connection string the server explorer uses is one which has an AttachDb field that points to the file. Now when...

HTTP 200 on Styles.css (camel case) but HTTP 401 on styles.css (small cap)

Hello all, this is a weird one. I have a site deployed on a web server. (Win 2003, IIS 6) For some reason, I can do an HTTP GET on a file if I specify it with "camel casing".. i.e. Styles.css, but I cannot get the same file using "small cap" i.e. styles.css In the later case I get a 401.3 exception. I know that 401.3 is a security is...

SQL query on windows IIS server 2003 breaks with passed variable, jQuery AJAX

Working on a current project I have encountered a strange issue. I have an html page that performs an AJAX call to a php file, passing a variable. The php file creates a SQL query using this variable, generates an XML file, and returns the result. On my webserver this all works fine. However, when moved to a Windows 2003 IIS (permanent ...

Datetime.now() abnormality - Python

Hi folks, I'm serving a Python app through Django. Within the app I'm storing the classic "created" field within a few tables. This is how the field looks like within the Django form: created = models.DateTimeField(blank=True, default=datetime.now()) Unfortunately, datetime.now() is not accurate. In fact in the database I have set...

Deny access to directory in IIS 6.0

Hi. How can I deny access to particular directory in IIS. In Apache I could just add .htaccess file: Order allow,deny Deny from all to Logs or cache directory and nobody will allowed to see any content in that directory. However when I add Web.config: <?xml version="1.0"?> <configuration> <system.web> <authorization> ...

Asp.Net sharing session across multiple web applications?

I have to share session data between two different Asp.Net Application. The deployment of web apps are as shown below. WebSite --WebApp1 --WebApp2 I have to use same Session data between WebApp1 and WebApp2. Also WebApp1 and WebApp2 both share the same Domain(www.WebSite.com) and AppPool What is the easiest way to make these...

Simple Redirect using Rewrite Module

Hi all, I want add a rewrite rule to IIS 7 rewrite. I want to redirect a user from page http://localhost/myapp/register.html to http://localhost/myapp/register/register.html And similar for other pages. Any help? Can I do the same using a rewrite action? Using IIS7 and Windows Server 2008. Thanks. ...

Can't pass in "%26" to a WebGet UriTemplate variable in a WCF service?

I have a WCF service with this declared operation: [WebGet(UriTemplate = "Test/{*testString}")] public String Test(String testString) { return testString; } However when attempting to invoke the URL Test/You%26Me, IIS returns an error: A potentially dangerous Request.Path value was detected from the client (&). My goal is to al...

IIS + PHP + MySQL returns 500 - Internal server error

We're building a new server and using IIS 7. PHP pages a served just fine and dandy, but the second we use any code to access a MySQL database, the page hangs for a good minute and serves the following error: Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. ...

ip detect script not working

var ip= ''; returns 127.0.0.1 and not something like 65.175.203.209 also my web host does support ssi.but not asp ...

Directing a request in IIS

I have a set of web services written in classic asp. I want to convert them to asp.net, but this will be a long process. I want to convert a couple functions at a time, and use some sort of routing mechanism to select which version the requests go to (classic asp, or asp.net). Changing the url used to access the web service and functio...

Read IIS log files using PHP

Anybody knows how to read IIS log files using PHP? Thanks ...

asp.net application that manages an ftp server

Hi! I have a requirement to build an application that a company can use to manage an ftp server. The idea is that through the web app, they can create users which will also create an ftp space etc so that the user can then upload documents and files to the company. The requirement is specifically that clients can use an ftp program and t...

Installing PEAR, IIS Problem

I installed PHP with Web Platform Installer. Now I need to install PEAR but installation documantation of Pear is saying that you have to manually execute the batch file located in e.g. c:\php\go-pear.bat PHP folder isn't in c:, it is located in C:\Program Files\PHP and there isn't any file named "go-pear.php".. ...

Avoid This collection already contains an address with scheme http

Hi all, I have this issue: I have WebSite with asp.net pages. http://desiis:90/WebSite1 In this webSite, I have a Service WCF (service1.svc). http://desiis:90/WebSite1/services/Service1.svc When I call to the service, I get this error: This collection already contains an address with scheme http In my localhost all is OK. any s...

How do I disable Coldfusion for one site?

I have multiple sites on my coldfusion webserver. I want to make a new site that does not allow coldfusion to run. At the same time I do not want to disable coldfusion on the other sites. I am running coldfusion standard edition. ...

How do I setup IIS when debugging in Visual Studio 2010?

In Visual Studio 2010 I have created a WebService (WCF) Application and a client to consume said service. My 3 options as far as what servers to use for debugging are: Visual Studio Development Server, Local IIS Web Server, Custom Web Server. I know I can't use the VS Development Server if I want my service to be accessible outside of ...

I have written custom classes for IIS, v 6.X , and they don't seem to be working

I have written a couple of custom php classes that are deployed to IIS servers. They work fine on the development box but not on the staging server. I don't have much experience with IIS and am not sure if it's a config issue with IIS or a something to do with the php.ini file. Any hints would be appreciated. Sorry for being vague. ...