iis

Visual Studio/ Asp.net / IIS Pathing Help

Hey guys, I am having some serious pathing issues with a website that I am creating. I am using Visual Studio 2008 IDE with IIS7 on Windows Vista Home Premium. This is a website project and not an asp.net web application (according to Visual Studio). Well here is the problem. I am using IIS 7 as a test server, even though VS 2008 h...

Deploy PowerShell Exchange Cmdlets with site but without installing full Management Instrumentation

Is it possible to run web site for managing Exchange Recipients on a web-server, where only PowerShell is installed? I dont want to install full Exchange Management Instrumentation on web-server, I want to use only Microsoft.Exchange.Management.PowerShell.Admin snap-in. Can I use some dlls from Exchange Server bin folder? ...

How can I get ASP.Net version in IIS through C#?

I want to specify the default document and the asp.net version for an virtual directory through C# For default document I have wrote the code as "deVDir.Properties["DefaultDoc"].Value = "Mainscreen1.aspx"; and i am not able to get the property name for ASP.NET VERSION which will be given as "2.0.50727". can anybody guide me ? ...

Different Layouts in IE8 on Different Web Servers

Last night, I experienced a strange behavior in IE8 as I saw two noticeably different layouts of a page that's being hosted on separate servers. On my local web server, the header markup looked as expected with its left aligned logo and right aligned and stacked utility links, all of which displayed on a centered page. On a staging web...

When does web.config get brought into the application.

Can values from web.config be read completely at runtime or does the application make a copy of the current web.config upon initialization. Essentially, I'm wandering if I make a change to web.config if it will take effect on the users next postback or if they would need to initialize an entirely new page load. In particular, I'm inter...

IIS: Setting a script map on "Web Sites" node

Regarding setting up script maps on IIS, I am wondering what happens if I create a script map for .php files to C:\php\php.exe on the Web Sites node. Do all websites below the web Sites node, including the Default Website inherit the setting or do I manually have to add the script map to all 29 websites below the Web Sites node. ...

generate math equations on windows

looks for a server side script/app that can generate equation images from latex. and runs on IIS ...

Web Service works in IE7 but not Firefox

Hi All I have a .Net web service that I call from javascript using: $.ajax({ type: "POST", url: "http://myServerIP/Myervice.asmx/MyMethod", data: "{}", contentType: "application/json; charset=utf-8", dataType: "jsonp", success: function(msg) { alert('sucess ' + msg); }...

how to manage multiple ado.net database connections from asmx Web Service

Since IIS assigns a worker thread for each request I've intention to create new object to serve each request. I have 2 questions: Is it efficient to create new object to serve each request? (is there even alternatice?) Is it thread safe, efficient and best practice to create new connection, and open&close it for each request like below...

IIS 6 ignores Web.config authorization settings

Context: IIS 6 on Windows 2003 Server ASP.NET 3.5 sp1 C# Web Application running from a virtual directory There are a few files that I would like not to serve. For example, there's a hibernate.cfg.xml in the root directory that should not be accessible. There are also log files in a logs directory. On the local development server (Vi...

MMC could not create the snap-in error when lunching internet information services on windows 2003 server

Hi, i get the following error: MMC could not create the snap-in. the snap-in might not have been installed correctly. Name: Internet Information Services (IIS) Manager when lunching internet information services on windows 2003 server i've checked previous questions and posts which got solved with the following command: re...

Unhandled IIS Exception - How can I track it down

I am seeing the following error in the event log. It is coming from our ASP.Net application. I am having trouble tracking down what is causing the error. Any suggestions appreciated! OS: Windows Server 2000 WebServer: IIS 6 Application: ASP.Net v3.5 Error Log [MachineName] has logged the following Error for IIS Details:...

Can't get anonymous access to website

Hi, I have already asked this question on ServerFault however I got very minimal replies....one to be exact. I need this issue resolved ASAP hence why I am asking on here aswell. I have a server running Windows Server 2003 IIS6.0. I am developing a website to which I want to grant anonymous access to. I have created a new Website in th...

Issue with authentication through isapi redirect

Hello, we have an IIS (Owa) server that redirects to another server using isapi_redirect. Everything works fine for users in the LAN but for users connecting from Internet a windows authentication popup appears when trying to access the redirected server, that ends up in a 401 error even when giving a valid user/password. Using Fiddle...

URL_Rewriting with ISAPI_rewrite

I have a problem in ISAPI_rewrite 3. a have a url like www.example.com/web/index.html?ag=2154 What I want is, when the user writes this address it should be converted to agent's subdomain like www.2154.example.com/web/index.html?ag=2154 Thanks in advance ...

.NET DateTime object string format

This has got me really flumoxed! In the datalayer ADO.NET connects to SQL Server 2008, Default language for the login is 'british' Selects a DateTime column into a dataview and returns it. aspx page databinds this: <%# String.Format("{0:MMM/yyyy}", Eval("dbPeriodFrom")) %> The database returns 2009/10/01 (This is yyyy/MM/dd) The...

How to prompt user to download the PDF file instead of opening?

in my project site if i click on a link and the PDF opens in a new or parent window. Well I want a box to appear that prompts the user to download the file instead of opening it. Does anyone know of a simple JavaScript onClick event that will do this? In all browser default with default settings. EDIT: sorry my server was PHP based ...

Create subdomain per user

Hi, How is it possible to create a subdomain for each registered user of the web-site during the registration? For the scenario below... User opens site.com/register. Provides details and submits. Gets redirected to the newuser.site.com straight away User can work in the newuser.site.com area I don't know how to solve the issues: ...

controlling the name of a named pipe when hosting WCF net.pipe binding in IIS

I have a service accessible via http and net.pipe. It is being hosted in IIS 7 (Server 2008). I may be hosting different instances of this service for several customers on the same machine and hence the HTTP is setup with virtual hostnames etc. This is all working fine. I thought I would do similar for the net named pipe binding - using...

ADSI Query against IIS does not agree with IIS Manager, on Vista

Using Vista... I have a script that uses ADSI to set ScriptMaps on an IIS Website. It's javascript, run within cscript.exe, and the code looks something like this: var web = GetObject("IIS://localhost/W3SVC/1"); var maps = web.ScriptMaps.toArray(); map[maps.length] = ".aaa,c:\\path\\to\\isapi\\extension.dll,1,GET,POST"; web.ScriptM...