FAQ Database Discussion Community


WCF Service not Starting Using Browse in IIS

wcf,iis-6
I have published a WCF service in IIS however when I run the code (browse the site from within Iis) I just get the following line displayed in the browser. <%@ ServiceHost Language="C#" Debug="true" Service=......." Any ideas why this is showing?...

Need to list all sites, app pools, and sub apps in IIS 6.0 (Server 2k3)

powershell,iis,iis-6,application-pool
Server 2003 is being phased out and we are currently trying to round up all the websites and apps being hosted on our few remaining 2k3 servers. The problem is I can't use appcmd to list them and iisapp doesn't list all the applications installed. What I have resorted to...

Repair of application (msi) fails but normal installation is successfull

asp.net,windows-installer,iis-6,repair
have web setup project created by VS 2010, when i setup this project all works fine, but when i check "repair" option i get error during installation. MSI log file Running process 'c:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe' with parameters ' -norestart -sn ""' silently... Process Call Result Code: '0' Process Exit Code: '1'. The...

Can't redirect to login page even if I set that in LoginURL web.config

asp.net,iis-6,windows-server-2003
have an old ASP.NET web app running in a Windows Server 2003 and IIS 6. I set up my web.config in this way in order to force redirection to Login.aspx: <authentication mode="Forms"> <forms name="coocky" loginUrl="Login.aspx" protection="All" path="/" timeout="60" slidingExpiration="false"/> </authentication> However, when a user tries to go to another page...

IIS 6.0 preventing PUT & DELETE method types on WCF 4.0 web service calls

c#,iis-6
I am trying to delete employee from database and I am Using DELETE Verb. But I have an app that is using WCF 4.0 configure-less setup to make RESTful webservices calls. Everything works fine locally but when pushed to my server all PUT and DELETE requests return a 403 forbidden...

same server, get url: vbscript msxml3.dll 80004005 unspecified error, or msxml6.dll error '80072ee6' System error: -2147012890

vbscript,iis-6,serverxmlhttp
What's the correct way to get the output of an asp page located on the same server? <% GetUrl "/route/to/abc/123/" Function GetUrl(url) Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.3.0") objXMLHTTP.open "GET", URL, false objXMLHTTP.send() If objXMLHTTP.Status = 200 Then Response.Write objXMLHTTP.ResponseText End if Set objXMLHTTP = Nothing End Function %> results in this...

IIRF url rewriting with IIS 6

php,url-rewriting,iis-6,iirf
I want to rewrite this url: "www.mydomain.com/myproject/index.php?function=demo" to 'www.mydomain.com/myproject/home/demo' and I have this code in my iirf.ini file: RewriteEngine on StatusInquiry On /iirfSatus RewriteLog c:\Inetpub\ RewriteLogLevel 3 RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/myproject/home/(.*)$ /myproject/index.php?function=$1 [L] I still get a 404 error when I surf to the...

How can I correlate session.sessionid and IIS Log session cookie?

asp.net,session,iis,asp-classic,iis-6
We are logging some tracking information to a database table within a classic asp site. One of the pieces of information captured is the users session ID (session.sessionid). Examples of what is captured are: 808592330 14267388 78330403 Then, separately in our IIS logs, session cookies are logged as such (these...

ASP.NET is not authorized to access the requested resource. Can access a folder in debug mode but not when I deploy it on IIS

asp.net,asp.net-mvc,model-view-controller,iis-6
My MVC application was running fine(hosted on my local machine) but after restarting the system it is not able to access a network folder. However, in debug mode it is running fine but when I publish it it doesn't work. Exception Details: System.UnauthorizedAccessException: Access to the path '\abc\xyz.txt' is denied....

Writes to database seem to have no effect

asp.net,iis-7,web-config,iis-6,httpmodule
I am working with an ASP.NET web application written in C# deployed to IIS/Windows Server 2008 R2. The application uses NHibernate to interact with an Oracle database running on a networked unix server. It seems that writes being made by the application to the database have no effect. If I...

How can I find the website using a specific host header name?

iis-6
Ive been asked to help locate and understand a website running on an older WIN2K3 server. That means IIS6. There are a lot of websites on it and most of them are using host headers. So I have the domain name of the website and ive traced it to the...

IIS 6 Allow anonymous access by default

asp.net,iis,website,iis-6
I have automated builds the will create IIS websites for me using FinalBuilder scripts. The problem is that in FinalBuilder there is no option to set 'allow anonymous access' to true on creation of the website, so I am forced to go into IIS manager and change this manually. In...

IIS server (version 7.0.6000.16386) return HTTP 500 error in remote desktop(windows server 6.0)

.net,c#-4.0,iis-6,windows-server-2008-x64
IIS server returns the error: description: This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying. All the websites on that IIS server stopped working....