mod-aspdotnet-users Mailing List for mod_aspdotnet (Page 2)
Brought to you by:
wrowe
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(3) |
May
(3) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(3) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(6) |
Mar
(1) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: David M. <wo...@su...> - 2008-10-21 16:24:22
|
<HTML> <P>I'm getting there but still don't have it. Instead of using the END method on the response I used FLUSH followed with CLOSE. The report did stream to the client at that point, and the open, save, cancel dialog appeared. But when I clicked open, Adobe said the report was corrupted. Upon examining with notepad, the entire report was there, but followed with page output beginning with doctype and the whole nine yards. If deleted from the file, Adobe would display the report just fine!</P> <P>So I tried to see if I could stop output of the page. Obviously the CLOSE method on the response is not really closing the socket as the documentation says. I declared a common boolean value to be set by the report method, and if found in the render method, rendering was skipped. That does not work. Unless the page is allowed to render in the normal fashion, Apache sends an error page to the client saying the server is misconfigured. I tried substituting report content at the point of rendering, but get the same Apache error page.</P> <P>It would seem Apache is buffering the output and only sends the output if constructed properly. Otherwise it sends nothing generated by ASP.NET and sends the error page instead.</P> <P>I don't know how Apache knows whether the ASP.NET page did a normal page rendering. If bytes are written to the response, that should be the way it is. Apache must be examining the outgoing headers. But, Apache must not be examining the start of the stream, but the entire stream, since Apache let the stream pass even if normal page rendering was at the end.</P> <P>To resolve this I need to know exactly what Apache needs to see in the stream to approve it. I can also cancel normal page rendering, to leave the report, only. Maybe Apache doesn't allow the kind of stream I'm trying to write. Is there a validation feature I can turn off?<BR> <BR> -- <BR> dgm <BR> <BR> <BR> <B>On Tue Oct 21 9:41 , David McDivitt <WO...@SU...>sent:<BR> <BR> </P></B> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #f5f5f5 2px solid; MARGIN-RIGHT: 0px"> <P>I ran the report from IIS again with the same debug information. The same error occurs with IIS as the server, but the report streams out anyway. I guess IIS processes whatever content is generated immediately, then attempts to close the response as told to do in the code, and because a valid stream has been received at the client, the client renders it. There is no indication an error occurred because there's no response stream or anything left to write the error description, and the thread just goes away. But with Apache, the response is not being controlled so discreetly.</P> <P>What I can do is completely substitute output by overriding the Render event for the page. Now I am ending the response abruptly without knowing an error was occurring. Instead I should substitute the report into the response and allow ASP.NET to close the thread normally.<BR> <BR> -- <BR> dgm <BR> </P></BLOCKQUOTE></HTML> <BR> |
From: David M. <wo...@su...> - 2008-10-21 14:41:32
|
<HTML> <P>I ran the report from IIS again with the same debug information. The same error occurs with IIS as the server, but the report streams out anyway. I guess IIS processes whatever content is generated immediately, then attempts to close the response as told to do in the code, and because a valid stream has been received at the client, the client renders it. There is no indication an error occurred because there's no response stream or anything left to write the error description, and the thread just goes away. But with Apache, the response is not being controlled so discreetly.</P> <P>What I can do is completely substitute output by overriding the Render event for the page. Now I am ending the response abruptly without knowing an error was occurring. Instead I should substitute the report into the response and allow ASP.NET to close the thread normally.<BR> <BR> -- <BR> dgm <BR> <BR> <BR> <B>On Mon Oct 20 18:50 , 'William A. Rowe, Jr.' <WR...@RO...>sent:<BR> <BR> </P></B> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #f5f5f5 2px solid; MARGIN-RIGHT: 0px">Bigjoe11a wrote:<BR> <SPAN style="COLOR: #ff0000">> </SPAN><BR> <SPAN style="COLOR: #ff0000">> << Because ajax is 'bursty'</SPAN><BR> <SPAN style="COLOR: #ff0000">> I have no idea what you mean by this.</SPAN><BR> <BR> The response isn't closed... it keeps sending incremental parts of<BR> the same page as a single response.<BR> <BR> -------------------------------------------------------------------------<BR> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR> Grand prize is a trip for two to an Open Source event anywhere in the world<BR> <A href="parse.pl?redirect=http%3A%2F%2Fmoblin-contest.org%2Fredirect.php%3Fbanner_id%3D100%26url%3D%2F" target=_blank><SPAN style="COLOR: #ff0000">http://moblin-contest.org/redirect.php\?banner_id=100&url=/</SPAN></A><BR> _______________________________________________<BR> Mod-aspdotnet-users mailing list<BR> <A href="javascript:top.opencompose('Mod...@li...','','','')">Mod...@li...</A><BR> <A href="parse.pl?redirect=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fmod-aspdotnet-users" target=_blank><SPAN style="COLOR: #ff0000">https://lists.sourceforge.net/lists/listinfo/mod-aspdotnet-users</SPAN></A><BR> </BLOCKQUOTE></HTML> <BR> |
From: David M. <wo...@su...> - 2008-10-21 14:08:43
|
<HTML> <P>I have pasted the error page source as well as the code that creates the report. The code fails with "response.end()". The exception message is "Thread was being aborted."</P> <P> </P> <P><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><BR> <html><head><BR> <title>200 OK</title><BR> </head><body><BR> <h1>OK</h1><BR> <p>The server encountered an internal error or<BR> misconfiguration and was unable to complete<BR> your request.</p><BR> <p>Please contact the server administrator,<BR> <A href="mailto:dav...@dh...">xxxxxxxxxxxxx</A> and inform them of the time the error occurred,<BR> and anything you might have done that may have<BR> caused the error.</p><BR> <p>More information about this error may be available<BR> in the server error log.</p><BR> </body></html><BR> </P> <P> Private Sub OnCallReport(ByVal tit$, ByVal sql$, ByVal connect As Data.SqlClient.SqlConnection)<BR> Dim wr As IO.TextWriter<BR> wr = IO.File.AppendText("c:\OnCallReport.txt")<BR> wr.WriteLine(Format(Now, "MM/dd/yy hh:mm:ss") & " report start")<BR> wr.Close()<BR> Try<BR> UserLog("report", "OnCallReport:" & tit, ui.UserID, Request, connect)<BR> Dim localReport As New Microsoft.Reporting.WebForms.LocalReport<BR> localReport.ReportPath = Server.MapPath("~/OnCallReport01.rdlc")<BR> Dim command As New Data.SqlClient.SqlCommand(sql & " ORDER BY InSort", connect)<BR> Dim reader As Data.SqlClient.SqlDataReader = command.ExecuteReader<BR> localReport.DataSources.Add(New Microsoft.Reporting.WebForms.ReportDataSource("DataSet1_DataTable1", reader))<BR> Dim parameter() As Microsoft.Reporting.WebForms.ReportParameter = {New Microsoft.Reporting.WebForms.ReportParameter("Report_Parameter_0", tit)}<BR> localReport.SetParameters(parameter)<BR> SubReportConnect = New Data.SqlClient.SqlConnection(DefaultConnect)<BR> SubReportConnect.Open()<BR> SubReportCommand = New Data.SqlClient.SqlCommand("", SubReportConnect)<BR> AddHandler localReport.SubreportProcessing, AddressOf OnCallReportSubreportProcessingEventHandler<BR> Dim bytes As Byte() = localReport.Render("PDF", Nothing, Nothing, Nothing, Nothing, Nothing, Nothing)<BR> If Not IsNothing(SubReportReader) Then SubReportReader.Close()<BR> SubReportReader = Nothing<BR> SubReportConnect.Close()<BR> SubReportConnect = Nothing<BR> reader.Close()<BR> reader = Nothing<BR> Response.Clear()<BR> Response.ContentType = ""<BR> Response.AddHeader("content-disposition", "attachment; filename=OnCallReport.pdf")<BR> Response.BinaryWrite(bytes)<BR> Response.End()<BR> wr = IO.File.AppendText("c:\OnCallReport.txt")<BR> wr.WriteLine(Format(Now, "MM/dd/yy hh:mm:ss") & " report finish")<BR> wr.Close()<BR> Catch ex As Exception<BR> Dim a$ = ""<BR> Try<BR> a = ex.InnerException.Message<BR> Catch<BR> a = ""<BR> End Try<BR> If Len(a) > 0 Then a = "; " & a<BR> wr = IO.File.AppendText("c:\OnCallReport.txt")<BR> wr.WriteLine(Format(Now, "MM/dd/yy hh:mm:ss") & " " & ex.Message & a)<BR> wr.Close()<BR> End Try<BR> wr.Close()<BR> <BR> <BR> -- <BR> dgm <BR> <BR> <BR> <B>On Mon Oct 20 15:45 , 'William A. Rowe, Jr.' <WR...@RO...>sent:<BR> <BR> </B></P> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #f5f5f5 2px solid; MARGIN-RIGHT: 0px">David McDivitt wrote:<BR> <SPAN style="COLOR: #ff0000">> I have applications written in Visual Web Developer 2005 that work fine,</SPAN><BR> <SPAN style="COLOR: #ff0000">> except for streaming reports. This works fine on IIS and I want it to</SPAN><BR> <SPAN style="COLOR: #ff0000">> work on Apache. A PDF is streamed to the client and the "open, save,</SPAN><BR> <SPAN style="COLOR: #ff0000">> cancel" dialog appears.</SPAN><BR> <BR> Exactly what failure information do you receive, and where (app logs,<BR> apache error logs, client side messages)?<BR> <BR> </BLOCKQUOTE></HTML> <BR> |
From: William A. R. Jr. <wr...@ro...> - 2008-10-20 23:50:20
|
Bigjoe11a wrote: > > << Because ajax is 'bursty' > I have no idea what you mean by this. The response isn't closed... it keeps sending incremental parts of the same page as a single response. |
From: William A. R. Jr. <wr...@ro...> - 2008-10-20 22:15:41
|
Bigjoe11a wrote: > > 2) Most of the time you will have to try it again and again. Before > getting it right. I'm going to hazard a guess that this is related to buffering of request and response bodies. Because ajax is 'bursty', queuing anything may make the page appear broken (since a complete request is just not completed). It's worth a bit of hacking to determine if a no-buffering option can solve this. I'm guessing per-dir (per files or location as well) is necessary to refine this option. |
From: William A. R. Jr. <wr...@ro...> - 2008-10-20 21:12:31
|
David McDivitt wrote: > I have applications written in Visual Web Developer 2005 that work fine, > except for streaming reports. This works fine on IIS and I want it to > work on Apache. A PDF is streamed to the client and the "open, save, > cancel" dialog appears. Exactly what failure information do you receive, and where (app logs, apache error logs, client side messages)? |
From: David M. <wo...@su...> - 2008-10-20 20:06:52
|
<HTML> <P>Thanks, Joe. I sent a question to the mod-aspdotnet-users list. I guess you're subscribed, too.</P> <P>I do ASP.NET development on my workstation. If that was all I'd just keep using IIS. Works good for that. But I'm starting to do PHP development, too. No problem getting PHP to run on IIS, either.</P> <P>For PHP I'm using Eclipse with a plug-in, and it's integrated with Apache. I need to get everything to work on Apache if possible.</P> <P>I have no problem serving any of my applications created with Visual Web Developer 2005, except streaming reports. The report is created, but when it tries to stream out, the page says the server is not configured properly. In code he response is cleared, an attachment header written, the byte content of the report written, then the response is closed. This is how I do it through IIS. I may have to do it differently through Apache.</P> <P>So, I want to use Apache for PHP development, but I also need Apache to serve out my ASP.NET applications that have streaming reports.</P> <P><BR> -- <BR> dgm <BR> <BR> <BR> <B>On Mon Oct 20 11:59 , 'Bigjoe11a' <BIG...@GM...>sent:<BR> <BR> </P></B> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #f5f5f5 2px solid; MARGIN-RIGHT: 0px"><DEFANGED_META content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><DEFANGED_META content="IncrediMail 1.0" name="GENERATOR"><DEFANGED_BODY style="BACKGROUND-POSITION: left 0px; FONT-SIZE: 12pt; MARGIN: 0px 10px 10px; COLOR: #00005b; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial" ORGYPOS="0" SIGCOLOR="0" scroll="yes" background="mime.pl?file=BackGrnd-1.jpg" bgColor="#eff3f7" text="#00005b"> <TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0> <TBODY> <TR> <TD id=INCREDITEXTREGION style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12pt; PADDING-BOTTOM: 0px; CURSOR: auto; PADDING-TOP: 0px" vAlign=top width="100%"> <DIV>Ok, David, I have no idea why your sending this too me. Your going to have to give me an idea why.</DIV> <DIV> </DIV> <DIV>Any way you have to remember that Apache doesn't support asp.net 2.0. How ever Apache does run asp.net 2.0. But it very limited on what it will do.</DIV> <DIV> </DIV> <DIV>You should do is download Cassni Web Server. It supports ASP.NET 2.0 and Ajax.</DIV> <DIV> </DIV> <DIV>I won't run asp.net 2.0 on Apache..</DIV> <DIV> </DIV> <DIV>Use Cassini Web Server.</DIV> <DIV> </DIV> <DIV>Thanks</DIV> <DIV>Joe</DIV> <DIV> </DIV></TD></TR> <TR> <TD id=INCREDIFOOTER width="100%"></TD></TR></TBODY></TABLE></BLOCKQUOTE></HTML> <BR> |
From: David M. <wo...@su...> - 2008-10-20 16:53:39
|
<HTML> <P>I have applications written in Visual Web Developer 2005 that work fine, except for streaming reports. This works fine on IIS and I want it to work on Apache. A PDF is streamed to the client and the "open, save, cancel" dialog appears. Code to create the report is:</P> <P> Dim localReport As New Microsoft.Reporting.WebForms.LocalReport<BR> localReport.ReportPath = Server.MapPath("~/OnCallReport01.rdlc")<BR> Dim command As New Data.SqlClient.SqlCommand(sql & " ORDER BY InSort", connect)<BR> Dim reader As Data.SqlClient.SqlDataReader = command.ExecuteReader<BR> localReport.DataSources.Add(New Microsoft.Reporting.WebForms.ReportDataSource("DataSet1_DataTable1", reader))<BR> Dim parameter() As Microsoft.Reporting.WebForms.ReportParameter = {New Microsoft.Reporting.WebForms.ReportParameter("Report_Parameter_0", tit)}<BR> localReport.SetParameters(parameter)<BR> SubReportConnect = New Data.SqlClient.SqlConnection(DefaultConnect)<BR> SubReportConnect.Open()<BR> SubReportCommand = New Data.SqlClient.SqlCommand("", SubReportConnect)<BR> AddHandler localReport.SubreportProcessing, AddressOf OnCallReportSubreportProcessingEventHandler<BR> Dim bytes As Byte() = localReport.Render("PDF", Nothing, Nothing, Nothing, Nothing, Nothing, Nothing)<BR> If Not IsNothing(SubReportReader) Then SubReportReader.Close()<BR> SubReportReader = Nothing<BR> SubReportConnect.Close()<BR> SubReportConnect = Nothing<BR> reader.Close()<BR> reader = Nothing<BR> Response.Clear()<BR> Response.ContentType = ""<BR> Response.AddHeader("content-disposition", "attachment; filename=OnCallReport.pdf")<BR> Response.BinaryWrite(bytes)<BR> Response.End()<BR> </P> <P> Public Sub OnCallReportSubreportProcessingEventHandler(ByVal sender As Object, ByVal e As Microsoft.Reporting.WebForms.SubreportProcessingEventArgs)<BR> SubReportCommand.CommandText = "SELECT Person.*,AtName,AgAbbreviation FROM Assignment LEFT JOIN Person ON Assignment.AsPnUnique=Person.PnUnique LEFT JOIN AssignmentType ON Assignment.AsAtUnique=AssignmentType.AtUnique LEFT JOIN Agency ON Person.PnAgUnique=Agency.AgUnique WHERE AsInUnique=" & e.Parameters("InUnique").Values(0) & " ORDER BY AtFunctionalOrder, AtName, AsCallOrder"<BR> If Not IsNothing(SubReportReader) Then SubReportReader.Close()<BR> SubReportReader = SubReportCommand.ExecuteReader<BR> e.DataSources.Clear()<BR> e.DataSources.Add(New Microsoft.Reporting.WebForms.ReportDataSource("DataSet1_Persons", SubReportReader))<BR> End Sub</P> <P>The asp.net portion of httpd.conf is:</P> <P>#asp.net <BR> LoadModule aspdotnet_module "modules/mod_aspdotnet.so" <BR> AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo <BR> AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" <BR> #On Call<BR> AspNetMount /oncall "C:/David/VS2005/WD/Projects/OnCall"<BR> Alias /oncall "C:/David/VS2005/WD/Projects/OnCall"<BR> <Directory "C:/David/VS2005/WD/Projects/OnCall"><BR> Options FollowSymlinks Indexes<BR> AspNet files<BR> Order allow,deny<BR> Allow from all<BR> DirectoryIndex OnCallInventory.aspx<BR> </Directory><BR> #reporting01<BR> AspNetMount /Reports$SQLExpress "c:/Program Files/Microsoft SQL Server/MSSQL.3/Reporting Services/ReportManager"<BR> Alias /Reports$SQLExpress "c:/Program Files/Microsoft SQL Server/MSSQL.3/Reporting Services/ReportManager"<BR> <Directory "c:/Program Files/Microsoft SQL Server/MSSQL.3/Reporting Services/ReportManager"><BR> Options FollowSymlinks Indexes<BR> AspNet files<BR> Order allow,deny<BR> Allow from all<BR> DirectoryIndex Home.aspx<BR> </Directory><BR> #reporting02<BR> AspNetMount /ReportServer$SQLExpress "c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer"<BR> Alias /ReportServer$SQLExpress "c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer"<BR> <Directory "c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer"><BR> Options FollowSymlinks Indexes<BR> AspNet files<BR> Order allow,deny<BR> Allow from all<BR> DirectoryIndex Default.aspx Default.htm Default.asp index.htm iisstart.asp<BR> </Directory><BR> #asp.net</P> <P>Thanks</P> <P> </P> <P><BR> -- <BR> dgm <BR> </P></HTML> <BR> |
From: <tc...@wi...> - 2008-03-19 22:11:17
|
Hi, excellent project, but the current downloads do not seem to support ASP.net 2.0. I installed everything ok, but the pages do not render the same as when debugging in VS 2005, they look sort of the same but with tons of Javascript page errors like this: Line: 97 Char: 1 Error: Object expected Code 0 The exact same code also works perfectly on Apache on Linux with mod_mono. I tried to get mod_mono working, but it does not work at all on win32 at the moment. I really don't care if I use one or the other for use on a win32 server. Just one has to work with ASP.net 2.0 I also compared the page source from the mod_aspdotnet generated page and the localhost version from VS 2005 and there are many differences in the code. Any ideas or suggestion on how I can get this to work? Thanks, Tony |
From: andrew b. <jag...@gm...> - 2008-03-12 10:20:15
|
Hi, I was told to ask experts here about a problem. If you can point me in the right direction then that will be appreciated. I cant get asp.net to work on windows apache2.05 . I have winxp home and i am using vb.net2003 . I download the file from sourceforge aspdotnet...2.0.0 and run the file and all i get is the module loaded and i edit the httpd.conf file to add the asp.net stuff 'on got froma website'. I have .net framework 3.5 and apache works fine and i have the relevant dir for asp.net web pages created. When i run the aspx file it doesnt pick it up but i dont get an error , i just get the html/aspx code output. I have the httpd file edited with aspx commands i need for this and where to load module etc ,the aspdot..so file in the module dir and run the download. here is what i add to the httpd.conf file and the mod-asp..exists in the dir #asp.net LoadModule aspdotnet_module "modules/mod_aspdotnet.so" AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo <IfModule mod_aspdotnet.cpp> # Mount the ASP.NET /asp application AspNetMount /SampleASP "F:/www/SampleASP" #/SampleASP is the alias name for asp.net to execute #"c:/SampleASP" is the actual execution of files/folders in that location # Map all requests for /asp to the application files Alias /SampleASP "F:/www/SampleASP" #maps /SampleASP request to "c:/SampleASP" #now to get to the /SampleASP type http://localhost/SampleASP #It'll redirect http://localhost/SampleASP to "F:/www/SampleASP" # Allow asp.net scripts to be executed in the /SampleASP example <Directory "F:/www/SampleASP"> Options FollowSymlinks ExecCGI Order allow,deny Allow from all DirectoryIndex index.htm index.aspx #default the index page to .htm and .aspx </Directory> # For all virtual ASP.NET webs, we need the aspnet_client files # to serve the client-side helper scripts. AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all </Directory> </IfModule> #asp.net |
From: William A. R. Jr. <wr...@ro...> - 2007-12-19 19:36:27
|
Beede, Rodney D. wrote: > Does anybody know where I can get an msi or compiled binary for mod_aspdotnet2_20070817.zip? > > The only msi installers I found on SourceForge were for the .NET 1.1 version. It hasn't yet been prepared as a binary (need to update the msi to deploy the Visual Studio 2005 runtime .msm merge modules) but I'm hoping to have that done over the holiday. Bill |
From: Beede, R. D. <rb...@ou...> - 2007-12-19 19:29:50
|
Does anybody know where I can get an msi or compiled binary for mod_aspdotn= et2_20070817.zip? The only msi installers I found on SourceForge were for the .NET 1.1 versio= n. Rodney Beede |
From: J.P. T. <jpt...@ju...> - 2007-12-18 19:50:09
|
I've just installed and configured mod_aspdotnet (2.0.0.20) on windows = 2000 server running apache 2.0.59. I've setup a test aspx page and it works = fine. My goal here is to be able to write web services for .net 1.1 or greater that will run with apache. In visual studio.net 2003, when I attempt to create a new web service it's detecting the .net version on the server = as 1.0 which isn't even installed (1.1 and 2.0 are installed on the = server). I've tried adding the config directive: AspNetVersion v1.1.4322 Which seems to have no effect. Here's the relevant lines from my = httpd.conf: #aspdotnet config AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx = rem resources resx soap vb vbproj vsdisco webinfo AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" "C:/Winnt/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" AspNetVersion v1.1.4322 <Directory "C:/Winnt/Microsoft.NET/Framework/v*/ASP.NETClientFiles">=20 Options FollowSymlinks Order allow,deny Allow from all </Directory> Include conf/aspmounts.conf --- And the aspmounts.conf just for reference: AspNetMount /asptest/ "c:/public_html/asptest" Alias /asptest "c:/public_html/asptest" <Directory "C:/public_html/asptest"> Options FollowSymlinks Indexes AspNet files Order allow,deny Allow from all DirectoryIndex aspnet.aspx </Directory> Any ideas on what's wrong or information regarding writing webservices = with mod_aspdotnet would be greatly appreciated. Thanks, J.P. |
From: Moby D. <mob...@ho...> - 2007-10-26 10:52:21
|
Dear all, =20 I've Apache 2.2.6 on Windows XP with mod_aspdotnet. =20 On my web root, I've a DotNetNuke portal (run with ASP.NET 2.0). =20 The home page is correctly shown by Apache, but when I click on any links, = an error 404 occurs. It seems that DotNetnuke uses dynamically links. =20 How can I use mod_aspdotnet to run DotNetNuke on my machine ? =20 Thanks a lot for your help _________________________________________________________________ Votez pour vos acteurs de s=E9ries TV pr=E9f=E9r=E9s et tentez de gagner un= voyage =E0 Hawa=EF ! http://messengerawards.divertissements.fr.msn.com/= |
From: <Wil...@it...> - 2007-07-17 16:51:31
|
Hi to all, is possible to get a version, that supports ASP.Net 2.0 and Ajax? Mit freundlichen Gr=FCssen Wilhelm Pa=DFmann ---------------------------------------------------------------------- IT Gesellschaft f=FCr Informationstechnik mbH An der Kaufleite 12, D-90562 Kalchreuth Telefon: +49 (0)911/51 83 49-14, Telefax: +49 (0)911/5 18 36 88 eMail: wp...@it...=20 Handelsregister F=FCrth, HRB 4997 Gesch=E4ftsf=FChrer: Dr. Klaus G=FCtter, Dipl.-Ing. Wilhelm Pa=DFmann USt-ID: DE152291219, Steuer-Nr. 216/129/40115 |
From: William A. R. Jr. <wr...@ro...> - 2007-06-15 21:26:02
|
(fyi - subscribe to the list to ensure you see the entire dialog) Andy Sumner wrote: > > I have been trying to get the old Apache version of this mod working on > a Windows 2000 server running Apache 2. I’m getting the following > problem with my ASP.NET website. I configured the server as normal with > my ASPNetMount and Directory mappings in the http.conf file, the server > will publish my login page as expected, but, when I press the submit > button which does a submit back to the asp.net page’s c# code behind > file, nothing happens. The page does not even refresh, any ideas? Have you peeked into the resulting .html with the browser's view-source feature? I'd take a close look at your <FORM > block to see what might be going on there. Feel free to post the relevant snippet here. |
From: William A. R. Jr. <wr...@ro...> - 2007-06-07 16:54:11
|
Michaël Burtin wrote: > Hi, > > I just installed mod_aspdotnet width apache 2.2.4. Everything works fine > with my ASP.NET applications except one thing. When a response contain > more than one Set-Cookie header, the browser only get the last one. I > googled to find any apache options that could involve such a behaviour > but didn't find anything revelant. > Could it be an issue with mod_aspdotnet ? Thanks for triggering my memory about addressing multiple property 'set's. |
From: <mic...@gr...> - 2007-06-07 16:03:13
|
Hi, I just installed mod_aspdotnet width apache 2.2.4. Everything works fine with my ASP.NET applications except one thing. When a response contain more than one Set-Cookie header, the browser only get the last one. I googled to find any apache options that could involve such a behaviour but didn't find anything revelant. Could it be an issue with mod_aspdotnet ? Thanks Mick |
From: William A. R. Jr. <wr...@ro...> - 2007-05-23 16:45:28
|
Simply do a graceful restart would be my suggestion. The original process would continue to serve out the last of its requests, and then stop. Provided you don't have clients during the restart hitting the application, you can then swap around the files. IIRC, renaming an open file is possible, in order to make room to install a new flavor. If you do this before the restart, upon restart the new process will definately pick up the modern version. If all you want to do is to unload a now-unused app, restarting is all that you need to do. Bill Nick Darnell wrote: > Is there a way at runtime to issue a command to Apache / mod_aspdotnet > to force the unloading of a particular web application? > > -Nick > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mod-aspdotnet-users mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-aspdotnet-users |
From: Nick D. <nic...@gm...> - 2007-05-23 15:47:17
|
Is there a way at runtime to issue a command to Apache / mod_aspdotnet to force the unloading of a particular web application? -Nick |
From: Andy S. <and...@bl...> - 2007-05-20 09:29:58
|
Hi All, I have been trying to get the old Apache version of this mod working on a Windows 2000 server running Apache 2. I'm getting the following problem with my ASP.NET website. I configured the server as normal with my ASPNetMount and Directory mappings in the http.conf file, the server will publish my login page as expected, but, when I press the submit button which does a submit back to the asp.net page's c# code behind file, nothing happens. The page does not even refresh, any ideas? I thought maybe downloading the new version which you guys have taken over and configuring it could help? We have several web services which run fine on the old version, but I can't get this website to run at all. Please help if you can. Regards, Andy Sumner Telephone: 07976 763741 |
From: Nitin J. <jn...@ss...> - 2007-04-30 09:23:54
|
Hi all, We are using mod-aspdotnet module with apache server on Windows=20 platform. Presently all of our application code is in same CS file. But as the code grows we would like to seprate code into multiple class=20 files. But it seems Apache/ASP .NET did not support this. Is is possible to do = this? Please provide your inputs.=20 Thanks and Regards=20 Nitin jain |
From: Trent N. <tn...@on...> - 2007-04-24 08:12:42
|
> mod_aspdotnet: CorBindToRuntimeEx has loaded version v2.0.50727 of the .NET CLR engine. Only .NET 1.0 and 1.1 are supported at the moment. You'll need to uncomment one of the 'AspNetVersion' directives to force the correct CLR engine: # A specific version of the .NET Common Language Runtime may be forced # with the AspNetVersion directive; uncomment one of the lines below # for the v1.0 or v1.1 general release versions, and refer to the # C:/WINDOWS/Microsoft.NET/Framework directory for installed versions. # The default is the most recent installed .NET CLR version. # #AspNetVersion v1.0.3705 #AspNetVersion v1.1.4322 Regards, Trent. |
From: Robert P. <ro...@st...> - 2007-04-22 15:06:23
|
Hi there, First let me say how great I think it that you've picked up this module and developed it, I was very disappointed to see that apache had retired support for it and so I'm really pleased to see someone's running with it. However I'm having a few problems getting it going: I'm running windows vista (I'm guessing this probably isn't helping) I installed apache via apache_2.2.4-win32-x86-no_ssl.msi - I installed the console single user version since I only indented to use it for testing I copied /conf/default/httpd-win.conf to /conf/httpd.conf and /conf/default/mime.types to /conf/mime.types - adjusted some port and ip settings ran the console and could browse to the "it worked" test page I installed mod-aspdotnet via mod_aspdotnet-2.2.0.2006-setup-r2.msi I added the following to the bottom of httpd.conf: #asp.net # Load the Apache mod_aspdotnet.so module # - which in turn loads the .NET / ASP.NET Framework # - which in turn loads the Apache.Web.dll provider # LoadModule aspdotnet_module "modules/mod_aspdotnet.so" <IfModule mod_aspdotnet.cpp> # A specific version of the .NET Common Language Runtime may be forced # with the AspNetVersion directive; uncomment one of the lines below # for the v1.0 or v1.1 general release versions, and refer to the # C:/WINDOWS/Microsoft.NET/Framework directory for installed versions. # The default is the most recent installed .NET CLR version. # #AspNetVersion v1.0.3705 #AspNetVersion v1.1.4322 # Appear consistent with other ASP.NET hosts to the client. # This is optional, unaware of client applications expecting it. # #Header Add X-Powered-By ASP.NET # Process these file types with the asp.net handler # (provided they fall within an AspNetMount'ed location) # AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \ licx rem resources resx soap vb vbproj vsdisco webinfo # Serve the /aspnet_client files to the web browser, to handle # JavaScript controls integrated into ASP.NET applications. # AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \ "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" # Permit the /aspnet_client files to be served to web clients. # Change C:/Windows above in the AliasMatch, and below in the <Directory > # line to reflect the root of Windows (echo %windir% from the cmd prompt.) # <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all </Directory> # This <IfDefine > prevents Apache from processing this example # template, duplicate the contents (adjusting for your desired # /app-uri and C:/path/to/app) as many times as necessary, but # not within the <IfDefine > ... </IfDefine> section # <IfDefine ASP.NET-template> # Create an ASP.NET host for Requests to /app-uri to be processed # by c:/path/to/app - see the Alias below for actually serving # /app-uri from Apache. # This is usually the path of the web.config file for the app. # AspNetMount /app-uri "C:/path/to/app" # Have Apache serve /app-uri requests with c:/path/to/app mounted hosted # Some form of Alias is required, AspNetMount does not expose /app-uri # itself, through Apache. # Alias /app-uri "C:/path/to/app" # Permit content in C:/path/to/app to be served (and use ASP.NET # conventions for the default pages.) # <Directory "C:/path/to/app"> # Add 'Indexes' to Options below for autoindex file listings # Add 'Includes' to Options below for SSI reparsing Options FollowSymlinks # Add 'Virtual' to AspNet below for non-file resources AspNet Files Order allow,deny Allow from all DirectoryIndex default.htm default.aspx </Directory> </IfDefine> </IfModule> #asp.net I create the appropriate directories and created a test ASP.NET web page I restarted the console. Here were it gets a bit weird, when I run the console a normal user I can still browse to the "it worked!" page but the asp.net application gives a 404 error. In this case nothing at all is written to error.log When I run the console as administrator I get some very positive looking messages in error.log: [Sun Apr 22 16:55:42 2007] [notice] mod_aspdotnet: CorBindToRuntimeEx has loaded version v2.0.50727 of the .NET CLR engine. [Sun Apr 22 16:55:42 2007] [notice] Apache/2.2.4 (Win32) mod_aspdotnet/2.2 configured -- resuming normal operations [Sun Apr 22 16:55:42 2007] [notice] Server built: Jan 9 2007 23:17:20 [Sun Apr 22 16:55:42 2007] [notice] Parent: Created child process 3912 [Sun Apr 22 16:55:42 2007] [notice] mod_aspdotnet: CorBindToRuntimeEx has loaded version v2.0.50727 of the .NET CLR engine. [Sun Apr 22 16:55:43 2007] [notice] Child 3912: Child process is running [Sun Apr 22 16:55:43 2007] [notice] Child 3912: Acquired the start mutex. [Sun Apr 22 16:55:43 2007] [notice] Child 3912: Starting 250 worker threads. [Sun Apr 22 16:55:43 2007] [notice] Child 3912: Starting thread to listen on port 8080. However I cannot connect to the server at all. The "it worked!" page doesn't responded neither does the ASP.NET app. It doesn't appear to be return a 404 or anything it's just like the web browser can make a connection to the server. Any help or tips on how to debug this would be greatly appreciated. Thanks, Rob |
From: Shane A. <sha...@gm...> - 2007-03-09 15:47:49
|
Hi Bill That did not work but I did notice that when I restart Apache the first request to the server will successfully create a session. This occurs only for the first client to make a request to the server. Every other request fails in creating a session. Any other ideas? Thanks Shane Anderson On 3/9/07, William A. Rowe, Jr. <wr...@ro...> wrote: > > Everything -except- session persistence works? > > You might want to pay special attention to UseCanonicalName and > ServerName directives in Apache - every time your app performs > an external redirect, it's going to pass either the users' provided > host name or the ServerName you configured, which can break expectations > because no cookies are going to survive a servername context switch. > > Bill > > Shane Anderson wrote: > > Hi > > > > Hopefully someone is around to answer my question. I am trying to figure > > out how sessions are handled. I am porting a few asp projects over to > > apache on Windows 2003. Everything worked great at "localhost" but once > > I pointed the DNS at the machine and used the domain, sessions stopped > > working. > > > > I can not figure out if it is an apache conf issue or an asp issue. Why > > would sessions work on localhost but not with the domain name? The error > > log records a request to a file called WebResource.axd, which does not > > exist. > > > > What do I do? > > > > Thanks > > Shane Anderson > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Mod-aspdotnet-users mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/mod-aspdotnet-users > |