iis7

How to just deploy the Visual Studio 2010 ASP.NET website example to a remote dedicated web 2008 server ?

I can't believe my eyes it's so hard to do just that ! Why can't I use MS Access instead of SQL Server Express ? So since I'm stucked with SQL Server Express, how can I make it work on my dedicated IIS 7 Server on Windows 2008 ? I have copied under the root directory of the server. The website works until I try to login then I get: ...

IIS 6/7 Threading - Long running aspx page keeps other aspx pages from loading

I wrote a test page that does a bunch of busy work in a method called at page load. This process as I have it now takes around 12 seconds. If I try to load another page while the first long running page is loading, this second page doing nothing except writing out a hello world, it doesn't load until the first long running page is finis...

extension=php_mssql.dll - error load

hi, I am configuring a server IIS7 to work with php and mssql in php.ini and when I try to call the "extension = php_mssql.dll" appears to me an error when I refresh the site. "500 - Internal server error. There is a problem with the resource you are looking for, and it can not be displayed. " Thanks ...

httpRuntime executionTimeout value not applied

Hi, I'm working on Windows 2008R2 with IIS 7.5. In web.config there is config value: httpRuntime executionTimeout="90" Now, web request calls WCF service, which is very time consuming (timeouts for WCF are set to 5minutes). Whilst waiting for WCF to finish, web application throws exception: Exception Type: System.Web.HttpExce...

Adminscripts folder is missing in IIS 7

Hi, I have IIS 7 installed on windows 2008 server. I want to execute commands adsutil.vbs for compression but adminscripts directory is missing under inetpub directory. How can I execute those commands ? ...

IIS response not reaching back to client

Hello, I got a strange issue after hosting the my site in IIS 7.5, Windows server 2008 64 bit The applicaion is created in ASP.Net 2.0 The page with issue has following workflow: Upload a file from browser (may be very large size ~50 MB) Perform some process (May take very long time: up to 30 minuits) Notifies the client that proce...

Adding headers to proxied requests in IIS7

Hi everyone, We are using IIS7 UrlRewrite and wish to proxy a URL to another URL, but also adding a header en-route, so that SSO will work properly in the target. We want to add a header called Jespa-Connection-Id to a proxied request. The value for this would be: {REMOTE_ADDR}e:{REMOTE_PORT}e This value is not being passed through, ...

Sql Express DB in APP_DATA when using IIS Virtual Directory

I want to setup a website that uses an SQL Express .mdf file located in the APP_DATA folder. when I create the site as a file-system website, it connects to the database file without issue... however when I create the same site in IIS and I get to the point where it wants to attach to the SQL Express database, it says it cannot connect....

WCF app in IIS7: Losing singleton instance

I have a WCF application , with multiple WSDL webservices, hosted in IIS7 on Windows Server 2008 64Bit. The application requires a singleton to be assigned with some configuration values once, when the first webservice method is invoked (no matter what is invoked first). Edit: The backend of the system requires the use of this singleto...

HTTP Compression is not working

I have IIS 7 installed on windows 2008 server. I have set following parameters : cscript c:\inetpub\adminscripts\adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcCompressionDll %windir%\system32\inetsrv\gzip.dll cscript c:\inetpub\adminscripts\adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcCreateFlags 1 cscript c:\inetpub\adminscripts...

Send Fax Issue with IIS 7- Window server 2008 using Faxcomlib

Hi All, In my web application, i implement Send Fax functionality which works fine local asp.net server (Casini) and fax goes to outbox of fax console. Also on production server (windows server 2008 with IIS 7) fax is working fine (doesnt throw any exception through program) and sent fax store in queue folder (C:\ProgramData\Microsoft\...

Http post request not being noticed on MVC ASP.NET Deployment

Hi, I have two an action method - > RoleURLManagement which differs with its input parameter in the get compared to the post so we have [AcceptVerbs(HttpVerbs.Get)] public ActionResult RoleURLManagement(string id) { } and [AcceptVerbs(HttpVerbs.Post)] public ActionResult RoleURLManagement(aspnet_Roles r...

WCF and IIS confusion on the wsdl location

I created my WCF project and it works fine when I just run it from the debugger. But when I publish it to IIS and point a browser to the svc the path used has localhost in it. Like this: htpp://localhost/MyService/MyServices.svc but the path that the webpage says to go to for the WSDL uses my computer name, like this: http://MyComp...

How do I disable caching of an individual file in IIS 7 using weserver config settings

Is there any way to diable the caching of a single javascript file in my ASP.NET applicaiton without disabling the caching of any other files in the application? It is running on IIS 7 in Azure, so to me it seems that my only options of controlling this are within the webserver tags. I currently use the folowwing config, but this is di...

User permissions to create iis7 site

Hello people! I have a special web site that can create new sites using IIS7 ServerManager: using (ServerManager serverManager = new ServerManager()) { // create new site logic here } This special site has to be running under system account to be able to manage IIS7. Is there any way to create a special windows user to be se...

Error page in IIS7 has text added to it

In my .net app, I redirect to an error page if an error occurs. It works fine on my local IIS. When I deploy to a web server, IIS7, it redirects to the error page, all fine, but these is text added to the error page "The page cannot be displayed because an internal server error has occurred. " Could this be added via IIS7? It doesnt ...

WebForm_DoPostBackWithOptions is not defined

Hi - I downloaded and setup MS's Stock Trader app. I'm running Vista Ultimate, IIS7, VS 2008 / .NET 3.5. The entire app is about 120 MB so is quite involved but it all seemed to setup fine from the msi. When I run the app and try to login I get a javascript error after clicking the Login link: WebForm_DoPostBackWithOptions is not define...

What is IIS 7 Advanced Logging provider GUID? I can't raise event to it

Hi, all: I asked this in IIS.net forum but want to ask again here. In my custom module, I want to raise event using Advanced Logging. I copied code from here http://www.ksingla.net/2009/04/using_advanced_logging_to_log_custom_module_data/ But no luck. In debugging, I find that pHttpTraceContext->RaiseTraceEvent( &Event ); always retur...

Funny ASPX handling by IIS?

[This might be better on serverfault, if so, I'll move the question over there - but thought there's more asp.net devs here so more chance of this behaviour having been seen by someone else] I've been trying to track down the .NET setting in IIS that governs this behaviour, but with no luck... In brief, we have a Server 2008 R1 box run...

How To Deny Access To File But Allow Server

I have a web application that has a configuration folder that houses multiple XML files that are configuration settings for multiple "portals" as you will. I need IIS to have access to them so the "portal" loads (sql connection strings, master page paths) but I want to deny any outside access (url browsing). Here's an example below: h...