I'm trying to configure IIS to parse a .xml file just like it would parse a .aspx file. The reason is I have some c# code in a <script> block that does scans some folders and then spits out dynamic xml.
Now normally I'd just do this in a .aspx file, and set the consuming code to grab the .aspx URL for the xml data. But, the consumin...
I'm trying to send an email to an external address as part of a web app. I can send an email fine when using a simple executable running on the server:
private void button1_Click(object sender, EventArgs e)
{
MailMessage message = new MailMessage(welcomeMessageFrom, toAddress, welcomeMessageSubject, welcomeMessageSubject);
...
I have a Delphi 7 dll that exports the following function:
function StringTest(var StringOut : pchar) : boolean; stdcall;
begin
GetMem(StringOut, 100);
StrPCopy(StringOut, 'Test output string.');
result := true;
end;
This function is imported in C# as follows:
[DllImport(@"C:\\Test\\DelphiTest.dll")]
public static extern...
I have a method that creates a virtual directory. How can I set the .Net framework to version 2 while I create the virtual dir?
My method looks like this so far:
private static void CreateVDir(string metabasePath, string vDirName, string physicalPath)
{
// metabasePath is of the form "IIS://<servername>/<service>/<siteID>...
I have an IIS hosted WCF service (configured as described in this blog post ... I need to know what the configured endpoint's URL is. For example, given this configuration:
<system.serviceModel>
<services>
<service behaviorConfiguration="mexBehavior" name="Sc.Neo.Bus.Server.MessageProxy">
<endpoint address="http://l...
Hi
I have a client you cannot use Active FTP connections because they are limited by the interface applications. The issue i have is I have Active set up fine but cannot fathom why my passive FTP will only times out.
I have followed this article
http://learn.iis.net/page.aspx/309/configuring-ftp-firewall-settings/
and still have no j...
Hi,
I've got a rendering extension for reporting services which uses the ReportExecution2005.asmx service to execute a number of "subreports" and then puts the results in a powerpoint presentation.
A typical usage scenario would be to go to the Report Manager, select my "Powerpoint" report, which is used only as a placeholder for param...
I'm working on a web application using isapi_wsgi and django-pyodbc. I'd like to have a way to install all dependencies and push the files out to the webserver. Unfortunately, some of these are easier said than done. In particular, handling dependencies is a pain as some of them won't install correctly even under setuptools (pywin32 i...
Is there anything similar to mod_rewrite for IIS 6/7? I want to be able to point several domains (I'm guessing using CNAMEs) to one domain "abc.com", and then do a redirect to "abc.com/start.html" once the browser hits that domain.
...
Hi guys,
I've got a WCF service with quite a long start up time (lots of data is being fetched from Oracle into RAM). It's recycled everyday at 4am which is fine, but I would like to explicitly start it at 4:30am so the first user (using Silverlight client) will not have to wait for the service to start next morning.
What would be the b...
For IIS6 I can use the IIS helpers in Wix to install a web application like this:
<iis:WebAppPool
Id="AP_MyApp"
Name="My Application Pool"
Identity="networkService" />
<iis:WebApplication
Id="WA_MyApp"
Name="MyApp"
WebAppPool="AP_MyApp">
<iis:WebApplicationExtension
CheckPath="no"
Execut...
I have a WCF service (basicHttpBinding) hosted in II7 on Vista that I expect to handle many requests concurrently. I'm attempting to load test the service by spawing 200 threads in a test app and calling the WCF service. I've run this test app on the same machine as the server as well as multiple other computers and I always get the sa...
I have a number of asp and asp.net 2.0 applications that I need to move to a new Win2003 server.
I've created a test suite to verify that different aspects are installed and configured properly, but other than exporting the IIS metabase from the two servers and comparing manually, are there any tools or techniques I'm missing?
...
In IIS 6, using Perl, I was able to send a stream of output to the client rather than buffering the entire thing and dumping it out at all once. This allowed such things as progress bars and such to be used.
How can I accomplish the same thing in IIS 7?
...
I have a report that I currently allow the user to choose an output option (HTML or PDF) when they are supplying the report parameters (date range, filters, etc.).
I want to change the report such that it always does HTML and puts a link on the rendered HTML page so the user can grab the PDF if they want it.
How do I modify my IIS6/IIS...
I recently moved to a new machine and forgot to make a backup of applicationHost.config before mucking around with IIS7's settings using both appcmd and the Management Console. I would now like to restore IIS7's settings to their original state, but I don't have a backup of the original settings to restore from.
By the way, I do know...
I have a .net 2.0 click-once application that connects to IIS web services on Windows 2003 R2 64-bits. The IIS is setup with Integrated Windows Authentication.
So whenever a web service call is made to IIS web services, there is a double handshake taking place:
Client Request #1
GetEmployeeList
Server Response #1 <- 401
HTTP...
I am trying to connect a CGI process to my windows service with a named pipe.
My code runs fine using another server on my development machine, but on IIS there are security issues when I call CreateFile() in the CGI process.
The Windows service is the Named Pipe Server and so the CGI process is trying to connect to that named pipe as a...
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' ...
Is it possible to configure an IIS site to read ASP.Net settings from a site OTHER than web.config?
We'd like to have three config files in our codebase -- web-dev.config, web-test.config, and web-prod.config. Each IIS instance would be configured to read from their specific file. This way we have version control them all next to each...