Re: E-mailing SMS Reports

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In article <58EA80C3-7DA8-49C2-AB66-80D69DEACD05@xxxxxxxxxxxxx>,
Chris@xxxxxxxxxxxxxxxxxxxxxxxxx says...
> We have SMS 2003 SP1. We have modified the default port(80) that our site
> uses and everything is working fine. When we generate a report and then
> click "E-mail" at the top of the report, it opens an untitled mail message
> and adds the URL of the report to the body of the mail message - all good.
> However, it doesn't add our new default port to the URL. Recipients of the
> e-mail will get "Page cannot be displayed" when they click on the link unless
> we manually add the default port to the URL. Does anyone know how to fix
> this?
>
>
Hi Chris;

Most likely not supported my Microsoft but you can edit the Report.asp
file to accomplish that:
1) Open \Inetpub\wwwroot\SMSReporting_<site code>\Report.asp in Notepad
2) Search for "sBody ="
3) Change the portion

Request.ServerVariables("SERVER_NAME") & Request.ServerVariables
("PATH_INFO")

to (replace 1234 with the port you are using):

Request.ServerVariables("SERVER_NAME") & ":1234" &
Request.ServerVariables("PATH_INFO")

There is probably a way to get the actual server port from the request
so you don't have to hardcode the port but I don't know the appropiate
variable off the top of my head.

HTH
--
Cheers,
Marin Marinov
MCT,MCSE,MCSE:Security,MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no
rights.

"True knowledge exists in knowing that you know nothing."
Socrates
.



Relevant Pages

  • Re: Deutsche-Telekom sets the standard for network security! (??)
    ... > that people were so hardcore on security. ... > Several of you say that you report port sniffers almost every time. ... I don't see near the hits you report. ... I have a full firewall system {OpenBSD system set up ...
    (comp.os.linux.security)
  • Re: crystal report print to file
    ... i'm not sure which report object you are using - adobe com control I assume ... I am using the .NET CrystalReports ReportDocument which does not expose ... Driver or Port properties. ...
    (microsoft.public.vb.crystal)
  • Re: [Fwd: Re: Nmap/netwag problem.]
    ... Jack wrote: ... and is unfiltered it will result in port 80: ... If the port would now be reported closed that would make netwag look ... If not we need to figure out what kind of scan made netwag report the ...
    (Pen-Test)
  • Re: Storms destroyed 108 offshore platforms
    ... The report *is* correct if not light on the estimates. ... from sea on Oct 18th after a full month of servicing fields below Port ... offshore one needs boats and boats need ports to work out of. ... 300 oil support vessels in port..all seeking fuel and potable water. ...
    (misc.invest.stocks)
  • Re: NIS slowing machine to a crawl?
    ... The problem is NIS. ... Check your computer with a port scanner like grc.com in the internet. ... netstat and if its implementation is bug-free enough to report it ...
    (comp.security.misc)